L4T Ubuntu - A fully featured linux on your switch

switchroot.png

L4T Ubuntu
Intro
L4T Ubuntu is a version of Linux based on nvidia's linux for tegra project. It uses a different kernel compared to previous releases which allows it to use features not yet in mainline. Such as audio, docking support and vulkan.

Join our discord: https://discord.gg/53mtKYt

We have a wiki !
To facilitate our work we will only update our wiki from now on in order to avoid multiple outdated references, please refer to the following link instead of this page

https://wiki.switchroot.org/en/Linux/Ubuntu-Install-Guide

Credits

Bylaws,
Langerhans,
Ave,
Natinusala,
CTCaer(most of the hard stuff),
Gavin_Darkglider,
DanielOgorchock(Joycon drivers/joycond),
stary2001 (reboot2payload),
NVIDIA,
Azkali
Everyone else in switchroot - more info on that in the future.
 
Last edited by azkali,

Quattro74

Active Member
Newcomer
Joined
Dec 1, 2020
Messages
42
Trophies
0
Age
49
XP
175
Country
United States
Tried to run the bash command to install the L4T-Megascript. Got a 404 error? Anyway, I dont need the whole script. Maybe just cut/paste the parts I need in seperate .sh files? Will that work using gedit?
 

evil_santa

Well-Known Member
Member
Joined
Jan 15, 2020
Messages
380
Trophies
1
Age
39
XP
1,857
Country
Germany
Tried to run the bash command to install the L4T-Megascript. Got a 404 error? Anyway, I dont need the whole script. Maybe just cut/paste the parts I need in seperate .sh files? Will that work using gedit?
Hmm 404 error actually comes when you are not connected to the internet.
or are you connected to wifi?
most of the stuff from the megascript is loaded from the net. You can look at the scripts on the GitHub page.
https://github.com/cobalt2727/L4T-Megascript

if you still have problems just ask in the discord.
https://discord.gg/abgW2AG87Z
 

Quattro74

Active Member
Newcomer
Joined
Dec 1, 2020
Messages
42
Trophies
0
Age
49
XP
175
Country
United States
Thanks Santa,

I have all the separate .sh files for the parts of the megascript saved to my desktop. I guess I'll start by running the init.sh? Then Dolphin, then Retropie. I also think it will be interesting to try the box86/box64. What will they allow the switch to do?
 

evil_santa

Well-Known Member
Member
Joined
Jan 15, 2020
Messages
380
Trophies
1
Age
39
XP
1,857
Country
Germany
Thanks Santa,

I have all the separate .sh files for the parts of the megascript saved to my desktop. I guess I'll start by running the init.sh? Then Dolphin, then Retropie. I also think it will be interesting to try the box86/box64. What will they allow the switch to do?
No problem 😊
Yes init.sh is right.

Hmm never used box86/64 on switch.
You can try some things and can tell us what works.
When I have time I'll take a look at it too.
 

Quattro74

Active Member
Newcomer
Joined
Dec 1, 2020
Messages
42
Trophies
0
Age
49
XP
175
Country
United States
Ok, ha ha. I was able to get everything that I wanted installed. I found the L4T-Megascript in /usr/share/applications... So, I had deleted the desktop shortcut at some point?? Maybe back when I first did the 3.3 update? Well, now that I have Box64 installed can I install AMD64 .deb files on my switch? There are a few programs I'd like to run but there aren't ARM64 binaries.
 

evil_santa

Well-Known Member
Member
Joined
Jan 15, 2020
Messages
380
Trophies
1
Age
39
XP
1,857
Country
Germany

Attachments

  • Screenshot_20221201-192117.png
    Screenshot_20221201-192117.png
    179.1 KB · Views: 32
  • Screenshot_20221201-194222.png
    Screenshot_20221201-194222.png
    29.6 KB · Views: 34

binkinator

Garfield’s Fitness Coach
Member
GBAtemp Patron
Joined
Mar 29, 2021
Messages
6,511
Trophies
2
XP
6,155
Country
United States

Blauhasenpopo

GBATemp's Funeral Director
Member
Joined
Feb 2, 2008
Messages
1,134
Trophies
3
Age
48
Location
Bruchsal
XP
2,858
Country
Germany
Last edited by Blauhasenpopo,
  • Like
Reactions: binkinator

Quattro74

Active Member
Newcomer
Joined
Dec 1, 2020
Messages
42
Trophies
0
Age
49
XP
175
Country
United States
Ubuntu 5? is that still Bionic based? Will have to keep an eye out for it when it is 'unofficial'

Well, I was wondering if joycond-cemuhook is implemented here in 3.4? Would maybe like to try gyro with some dolphin games...
 

binkinator

Garfield’s Fitness Coach
Member
GBAtemp Patron
Joined
Mar 29, 2021
Messages
6,511
Trophies
2
XP
6,155
Country
United States
How do i "only" update @binkinator ?

If i Install over normal flashing process, do i loose my settings?
Hey man. Sorry I missed this. i’m overwriting rather than “updating”. So yes, losing everything. Not sure if you can update and retain settings. Might have to back that up yourself and restore.
Post automatically merged:

Ubuntu 5? is that still Bionic based? Will have to keep an eye out for it when it is 'unofficial'

Well, I was wondering if joycond-cemuhook is implemented here in 3.4? Would maybe like to try gyro with some dolphin games...
Here’s where all the smart kids hang out:

https://discord.gg/N9PPYXjWMY

https://discord.gg/53mtKYt
 
Last edited by binkinator,
  • Like
Reactions: Blauhasenpopo

Quattro74

Active Member
Newcomer
Joined
Dec 1, 2020
Messages
42
Trophies
0
Age
49
XP
175
Country
United States
Hey man. Sorry I missed this. i’m overwriting rather than “updating”. So yes, losing everything. Not sure if you can update and retain settings. Might have to back that up yourself and restore.
Post automatically merged:


Here’s where all the smart kids hang out:

https://discord.gg/N9PPYXjWMY

https://discord.gg/53mtKYt
Thanks, I can't join Discord since I use a voip...

I'm guessing there is a way to tell if joycond-cemuhook is already there? I'm not that solid with linux.
 

binkinator

Garfield’s Fitness Coach
Member
GBAtemp Patron
Joined
Mar 29, 2021
Messages
6,511
Trophies
2
XP
6,155
Country
United States
How do you manage it ? :unsure: ^_^

Sure, I'll walk through what I'm doing with this https://wiki.switchroot.org/en/Linux/USB-Boot

I pulled down the beta from here:
https://mega.nz/file/xckk1a6Q#wPSgQYxM1t-EbyuA_kQ-8ScwoCiQnGyF8GHSwvjkEiM

Unzipped the resulting L4T-5.0.0-beta4.7z file using 7zip.

Inside the new directory I concatenate the bin files to create a new raw partition.

cat l4t.0* > ubuntu.raw

I overwrite my current L4T partition with the new raw file which completely obliterates my old installation.
dd if=ubuntu.raw of=/dev/sdXY bs=2M conv=fsync status=progress

initially this wiped out everything including settings and emulators and such but I am working on scripts that I run in between updates to redeploy my customizations. The really big thing is keeping all my legally backed up ROM files on a shared directory. It’s shared with Android as well, so I have several tools that all access the same shared ROM stash. Helps a ton to not have to restore all of that data every time. This essentially makes L4T just another platform option to run the same games.

If I misunderstood your question, please let me know!
 
  • Love
Reactions: Blauhasenpopo

dakillaz98

New Member
Newbie
Joined
Dec 24, 2022
Messages
1
Trophies
0
Age
24
XP
22
Country
United States
Can anyone reupload the ubuntu 5.0 beta4? The original link is down and I'd really like to try it.
Post automatically merged:

Could anyone reupload the Ubuntu 5.0 beta4? I would like to try it out but the original link got removed.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    BigOnYa @ BigOnYa: I haven't played my Switch n a month or so, just been playing Xbox, and just picked to play lil...