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,

gbazone

Well-Known Member
Member
Joined
Jun 6, 2014
Messages
212
Trophies
0
XP
713
Country
I'm using an old 16gb red SanDisk micro SD. I think the speed is only 33 or something. Will everything run better if I use a modern 128gb SanDisk?
 

Gavin_Darkglider

Well-Known Member
Member
Joined
May 20, 2019
Messages
232
Trophies
0
Age
34
XP
581
Country
United States
So, how do I remove said partition, so I can get complete access to the whole memory card?
google gparted, or even better partedmagic.
I'm using an old 16gb red SanDisk micro SD. I think the speed is only 33 or something. Will everything run better if I use a modern 128gb SanDisk?
That is an interesting question. Things will load/save quicker, with a fast sdcard, but once it is in ram it should perform about the same, unless the process is constantly accessing data from the sdcard, in which case it would be slower. So yes, using a faster sdcard is not a bad idea, but not needed either.
 
  • Like
Reactions: Watermelonz

DevinG70

Member
Newcomer
Joined
Aug 8, 2018
Messages
8
Trophies
0
Age
21
XP
215
Country
United States
Hey I don't know if I keep doing something wrong but whenever I go to shut off the switch after going through the whole setup process and confirming that everything is working, I can't ever boot it back up using hekate, it just sits there on a black screen without and indication of anything working. It's not until I put the switch into the dock that I see a terminal on my tv screen going through a bunch of unreadable text that's going by too fast. Also whenever I do actually use it without turning it off, is it just me or is it really slow, because it doesn't take much for the screen to turn gray and frozen, and it stays that way for a good bit, which is why I tried turning it off and on again in the first place. Also I've reinstalled it a few times now lol
 

Gavin_Darkglider

Well-Known Member
Member
Joined
May 20, 2019
Messages
232
Trophies
0
Age
34
XP
581
Country
United States
Hey I don't know if I keep doing something wrong but whenever I go to shut off the switch after going through the whole setup process and confirming that everything is working, I can't ever boot it back up using hekate, it just sits there on a black screen without and indication of anything working. It's not until I put the switch into the dock that I see a terminal on my tv screen going through a bunch of unreadable text that's going by too fast. Also whenever I do actually use it without turning it off, is it just me or is it really slow, because it doesn't take much for the screen to turn gray and frozen, and it stays that way for a good bit, which is why I tried turning it off and on again in the first place. Also I've reinstalled it a few times now lol

Boot horizon, then turn off and then boot linux. I dont know what causes this, but booting horizon fixes it.
 

Gavin_Darkglider

Well-Known Member
Member
Joined
May 20, 2019
Messages
232
Trophies
0
Age
34
XP
581
Country
United States
Huh... really... well dang I never would've guessed that lol, thanks if it works!
You are welcome.

In other news, Gentoo repo has been started. official repo can be found at: https://github.com/bell07/gentoo-switch_overlay

My fork is much further along, as not all of my changes have been tested, and merged yet, but will get there eventually. It can be found here: https://github.com/GavinDarkglider/gentoo-switch_overlay

I warn you that both of these repositories are still in early development, but on mine, there should be enough to build a bootable system, and have most of the hardware set up for you. I still need to make a nintendo-switch meta package that makes it easier to install all required packages.
 

globalc

Member
Newcomer
Joined
Jun 14, 2019
Messages
21
Trophies
0
Age
49
Website
fluxcoil.net
XP
116
Country
Japan
I'm using an old 16gb red SanDisk micro SD. I think the speed is only 33 or something. Will everything run better if I use a modern 128gb SanDisk?
I had corruptions on my noname 32GB card, got a new one advertised with 100MB/sec. According to iozone, I can read from the card with the switch card reader with 80MB/sec.
 

GreinSpider

Member
Newcomer
Joined
Oct 25, 2016
Messages
7
Trophies
0
Age
39
XP
48
Country
United States
Okay, I'm a complete Noob here. Uline I have not used Linux in any form and the only type of packing I'm used to is on the 3DS.
So explain what's wrong with my switch trying to boot:
*I burned the image to the SD card.
*Deleted boot & boot.scr from root fat32 partition
*ejected sd from pc inserted into switch
*booted to "doss"-like menu with options LAUNCH & CONFIGS
*selected CONFIGS
*selected L4T
*screen goes black. Backlight turn off then on.

And that's where I'm stuck.
So, help me Obi-Wan Kenobi you're my only hope
 

gbazone

Well-Known Member
Member
Joined
Jun 6, 2014
Messages
212
Trophies
0
XP
713
Country
Okay, I'm a complete Noob here. Uline I have not used Linux in any form and the only type of packing I'm used to is on the 3DS.
So explain what's wrong with my switch trying to boot:
*I burned the image to the SD card.
*Deleted boot & boot.scr from root fat32 partition
*ejected sd from pc inserted into switch
*booted to "doss"-like menu with options LAUNCH & CONFIGS
*selected CONFIGS
*selected L4T
*screen goes black. Backlight turn off then on.

And that's where I'm stuck.
So, help me Obi-Wan Kenobi you're my only hope

Don't delete anything the first time you boot. You need some form of those to... boot. Install the updates after if you must from the Switch itself. After you setup and reboot, dock with a keyboard and mouse and then apply the updates. You got the Hekate part right (picking L4T). I used etcher to write the image. However you did it before just do it again.
 

Emanuelssjin

Member
Newcomer
Joined
Jan 31, 2019
Messages
8
Trophies
0
Age
30
XP
119
Country
United States
How come when I am in handheld mode, it stays in black screen when booting. Only way I can get it working is if I leave it plugged in? Is there a way it would work without it being plug into charger? I tried all sd cards and none will boot up. Only if lucky with a power cord
 

stick267

Well-Known Member
Member
Joined
Dec 17, 2018
Messages
586
Trophies
0
Age
33
XP
1,171
Country
United States
How do people use this? Joycons are unusable for me when connected via bluetooth (crazy lag, control sticks messed up etc) .
I had some issues on version 1.0 with my Joy Cons but after the first update they work perfectly fine. I use them as a mouse and I played through the entire game of Wind Waker with them. Make sure you apply the updates from the OP.
 

GreinSpider

Member
Newcomer
Joined
Oct 25, 2016
Messages
7
Trophies
0
Age
39
XP
48
Country
United States
Don't delete anything the first time you boot. You need some form of those to... boot. Install the updates after if you must from the Switch itself. After you setup and reboot, dock with a keyboard and mouse and then apply the updates. You got the Hekate part right (picking L4T). I used etcher to write the image. However you did it before just do it again.

Ok now I just
*burned the image to the sd
*inserted the ad into switch
*booted into hekate
*launch -> configs -> LET
AND....black screen....

--------------------- MERGED ---------------------------

Don't delete anything the first time you boot. You need some form of those to... boot. Install the updates after if you must from the Switch itself. After you setup and reboot, dock with a keyboard and mouse and then apply the updates. You got the Hekate part right (picking L4T). I used etcher to write the image. However you did it before just do it again.

Ok now I just
*burned the image to the sd
*inserted the ad into switch
*booted in
Between these 2, the files from the update should be deployed. Step 1.3.1 in the instructions.

Again total noon here.
Here's what I did what I did when I got home
*burned img to SD
*booted heated
*L4T
*...black screen.

--------------------- MERGED ---------------------------

Again total noon here.
Here's what I did what I did when I got home
*burned img to SD
*booted hekate
*L4T
*...black screen.
 

GreinSpider

Member
Newcomer
Joined
Oct 25, 2016
Messages
7
Trophies
0
Age
39
XP
48
Country
United States
Ok now I just
*burned the image to the sd
*inserted the ad into switch
*booted into hekate
*launch -> configs -> LET
AND....black screen....

--------------------- MERGED ---------------------------



Ok now I just
*burned the image to the sd
*inserted the ad into switch
*booted in


Again total noon here.
Here's what I did what I did when I got home
*burned img to SD
*booted heated
*L4T
*...black screen.

--------------------- MERGED ---------------------------

Again total noon here.
Here's what I did what I did when I got home
*burned img to SD
*booted hekate
*L4T
*...black screen.
Between these 2, the files from the update should be deployed. Step 1.3.1 in the instructions.

Tried declining those who filed after deleting Boot and boot.scr and the same thing happened, black screen.
The switch Works normally but I have not tried loading any other type of custom firmware on it at all. I just want Linux
 

duanxuef

New Member
Newbie
Joined
Jul 2, 2019
Messages
1
Trophies
0
Age
35
XP
43
Country
United States
Great!!!
But I want to use the sdcard with exFat format, is there a way to add exFat support for the Ubuntu and coreboot.rom?
 

GreinSpider

Member
Newcomer
Joined
Oct 25, 2016
Messages
7
Trophies
0
Age
39
XP
48
Country
United States
Tried declining those who filed after deleting Boot and boot.scr and the same thing happened, black screen.
The switch Works normally but I have not tried loading any other type of custom firmware on it at all. I just want Linux


first things first I want to apologize for the weird way I'm typing. I'm using voice typing because my dyslexia is not letting me spell out these words correctly and the voice typing Library keeps replacing them with more common words.
Now that that's out of the way.


Last night I decided to see if I could at least back up the nand of my switch and using nsox it worked.
So NSOX works just fine but for some reason I can't get this to work ...
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Sonic Angel Knight @ Sonic Angel Knight: :ninja: