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,

LapCheong

Well-Known Member
Member
Joined
Mar 6, 2019
Messages
219
Trophies
0
XP
519
Country
Australia
Is it bad for the switch if i leave ubuntu running with only display off ? Since i using it as a docker server testbench for my code
 

Live-N-Let-Pi

New Member
Newbie
Joined
Feb 5, 2020
Messages
4
Trophies
0
Age
28
XP
108
Country
United States
So FAT32 is a requirement, but one of the files in the 7zip is 4.29gb??? Can somebody explain what I'm missing, please?

EDIT; Alright, so after losing hours on this, I'm almost certain these files are un-extractable. I keep getting some BS error about not having enough space on the disk I'm attempting to extract to.

I've downloaded both the standard and the developer files four times each, twice each with chrome, and twice each with download managers, so it's not a bad download. I've attempted to extract the 6 m************ GB file into:
My PC with 198GB free - NTFS
My USB Drive with 500GB free - FAT32
My backup 1TB SSD with 600GB free - NTFS
My switch's SD with 300GB free - FAT32

This F******file won't extract, "CaNNot sEt ThE LEnGth on ThE OuTPut FilE, No EnoUgH SpacE"
 
Last edited by Live-N-Let-Pi,

XenIneX

New Member
Newbie
Joined
Dec 20, 2016
Messages
2
Trophies
0
XP
184
Country
United States
So FAT32 is a requirement, but one of the files in the 7zip is 4.29gb??? Can somebody explain what I'm missing, please?

4,290,772,992 Bytes = 3.996 GiB (gibibytes; binary gigabytes)
[÷ 1024 B/KiB; ÷ 1024 KiB/MiB; ÷ 1024 MiB/GiB]

EDIT; Alright, so after losing hours on this, I'm almost certain these files are un-extractable. I keep getting some BS error about not having enough space on the disk I'm attempting to extract to.

Is 7-Zip is trying to extract to a temp folder on a drive that's full? That'd be my guess...
 

Live-N-Let-Pi

New Member
Newbie
Joined
Feb 5, 2020
Messages
4
Trophies
0
Age
28
XP
108
Country
United States
4,290,772,992 Bytes = 3.996 GiB (gibibytes; binary gigabytes)
[÷ 1024 B/KiB; ÷ 1024 KiB/MiB; ÷ 1024 MiB/GiB]



Is 7-Zip is trying to extract to a temp folder on a drive that's full? That'd be my guess...


I'm not gonna lie, I got a little too frustrated on that. Firstly, thank you for showing the math, I did a straight conversion, as if dealing with the metric system, I'm an idiot for that. Secondly, I eventually got it to extract, but only by using winRar, instead. with 7zip, I could attempt to extract into an 8Tb HDD with 6+Tb free, and it would still flash me an error about there not being enough space on the drive.

Eventually, just using winRar instead of 7zip fixed the issue I was having, and I have everything working, now. Thank you for your time in responding, though, I appreciate it!!
 

dbrown1986

Member
Newcomer
Joined
Nov 25, 2020
Messages
8
Trophies
0
Age
37
XP
104
Country
United States
Anyone else getting a message in Hekate about 1 of 2 joycons not being paired via HOS? My Nyx dump of the joycon BT data keeps saying that the right joycon is not HOS based.
 

Quattro74

Active Member
Newcomer
Joined
Dec 1, 2020
Messages
42
Trophies
0
Age
49
XP
175
Country
United States
Anyone else getting a message in Hekate about 1 of 2 joycons not being paired via HOS? My Nyx dump of the joycon BT data keeps saying that the right joycon is not HOS based.
Try re-seating the joycon until you feel the dbl buzz from both. Then re-run the dump.

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

I made the image files.
The psxtools image is made for ArgonNx.
I add another reboot to payload file inside Ubuntu.
Add the 3.2 updatec And change the uenv.txt
Change the rootdev to emmcblk0p8

Or pull the update file from ams plus and pick the Ubuntu folder from the zip and copy it to your SD card.

https://mega.nz/folder/7BQDxApC#a7G-vdiz9PV62VtuhV6_WQ

Merry Christmas Santa,

Thanks for the nice gifts. So I did get this working using the stock reboot_payload.bin, pointing to it in the xenv.txt. I don't know how I broke it. Possibly updating Hekate? Which seems to have broke Oreo. So I have another gift on my list, I promise to be naughty. ;-) Is it easy to upgrade to a newer Android? Using Hekate to flash? I think I read in the PSXTools forums that the partitions were created to be compatible with Pie and Q?
 

evil_santa

Well-Known Member
Member
Joined
Jan 15, 2020
Messages
379
Trophies
1
Age
39
XP
1,839
Country
Germany
No problem
You broke your installation whit the L4T update.
When creating the images, I adjusted the boot.scr so that it points to partition 8. The update changed that again and then points to partition 2.
The same applies to the reboot to payload in the old version, it starts ArgonNx.bin and in the update the hekate payload.
Android Oreo is unfortunately no longer compatible with Hekate 5.5. It is still possible up to version 5.3.4.
Android Pie or Q are unfortunately not compatible with the multiboot images. That was a misunderstanding by the user. If you want to do a multiboot with Android Q you have to save your data and install everything via Hekate.
I am currently writing a large tutorial about multiboot including installation on the emmc next to Horizon.
That will take a while but I hope I can do it before Christmas.
 

Quattro74

Active Member
Newcomer
Joined
Dec 1, 2020
Messages
42
Trophies
0
Age
49
XP
175
Country
United States
Well, I can downgrade my hekate for now. I will look forward to your new tutorial. :-) A nice Christmas gift from Santa. I'm guessing at some point your elves will have new multi images once switchroot comes out with l4t 4.0 and Pie or Q releases? Keep up the good efforts.
 

Techwizz

New Member
Newbie
Joined
Dec 20, 2020
Messages
2
Trophies
0
Age
44
XP
46
Country
United States
Hi everyone! So whenever I try to update my Switch I get an error, can't connect to turul canonical com No route to host. Thanks! (sorry can't use dots because I'm a newbie)
 
Last edited by Techwizz,

evil_santa

Well-Known Member
Member
Joined
Jan 15, 2020
Messages
379
Trophies
1
Age
39
XP
1,839
Country
Germany
Try this
Put the command in your terminal an enter

sudo sed -E -i 's/turul.canonical/ports.ubuntu/g' /etc/apt/sources.list
sudo apt update
 

Techwizz

New Member
Newbie
Joined
Dec 20, 2020
Messages
2
Trophies
0
Age
44
XP
46
Country
United States
Thanks Evil Santa, but I figured it out. For anyone else having the issue, go to the youtube video with this ID Hx6M3bO9kqA (no dots because I'm a newbie, so I didn't put a link...)
 

dbrown1986

Member
Newcomer
Joined
Nov 25, 2020
Messages
8
Trophies
0
Age
37
XP
104
Country
United States
I'm hoping to create a RetroPie image that uses this but would like to trim it down to the bare essentials (terminal only, no gnome, no stock ubuntu apps), what I would like to know is if I do so, is there a guide on how I can dump the Ubuntu to image files that will work for hekate flashing?
 

FERHAT

New Member
Newbie
Joined
Dec 28, 2020
Messages
4
Trophies
0
Age
38
XP
65
Country
Algeria
I'm i the only one having a very very slow Ubuntu ever seen!
Handheld mode unusable
Docked black screen
I can't even do an update.
 

FERHAT

New Member
Newbie
Joined
Dec 28, 2020
Messages
4
Trophies
0
Age
38
XP
65
Country
Algeria
I'm i the only one having a very very slow Ubuntu ever seen!
Handheld mode unusable
Docked black screen
I can't even do an update.

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

Hello I followed the installation instructions it booted but It's unusable on my nintendo switch , handheld mode can't even open a terminal and on docked mode I have a black screen with 640*480 resolution what am I doing wrong!
 

NocturnalMoon

Active Member
Newcomer
Joined
Dec 27, 2020
Messages
40
Trophies
0
XP
1,119
Country
Germany
I'm i the only one having a very very slow Ubuntu ever seen!
Handheld mode unusable
Docked black screen
I can't even do an update.

Maybe the micro SD card you are using is too slow to handle this port. I would advise you to find a card that at least supports 90MB/s reading and writing like the Samsung EVO cards.
 

FERHAT

New Member
Newbie
Joined
Dec 28, 2020
Messages
4
Trophies
0
Age
38
XP
65
Country
Algeria
Maybe the micro SD card you are using is too slow to handle this port. I would advise you to find a card that at least supports 90MB/s reading and writing like the Samsung EVO cards.
Thanks for replying my sd card is fast enough I've installed an android image on the switch it's much smoother but I prefer Ubuntu, by the way even if the sd card is slow it doesn't explain why it doesn't work on tv using "the original dock from nintendo"
 

iori82

New Member
Newbie
Joined
May 12, 2020
Messages
4
Trophies
0
Age
43
XP
39
Country
Italy
hi guys i have 2 problems:
1: joycon doesnt works like a mouse but only like gamepad
2: usb otg doesn t works

can you help me? thanks
 
Last edited by iori82,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: Lol