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,

D-an-W

Well-Known Member
Member
Joined
Nov 13, 2002
Messages
170
Trophies
2
Website
Visit site
XP
1,120
Country
Got it working with SDLoaderEnc.. I tried flashing the firmware but it says cannot communicate with hwfly something. Ubuntu works now though. Thanks.

Am I right in thinking you now have it running on original SX Core without flashing firmware?

Can you please give details if so as I have the SXLite installed and would like to try it.
 

ertaboy356b

Well-Known Member
Member
Joined
Feb 16, 2010
Messages
664
Trophies
1
XP
1,926
Country
Am I right in thinking you now have it running on original SX Core without flashing firmware?

Can you please give details if so as I have the SXLite installed and would like to try it.
What I did is I followed the instructions described here: https://github.com/hwfly-nx/firmware
It did flashed the sdloaderenc for whatever reason but I can't get it to flash the firmware, not sure though if it flashed the firmware or didn't because an error occurs if I do Update Firmware on the menu. But when I tried booting ubuntu, it booted successfully.
 

jackazz

Member
Newcomer
Joined
Apr 11, 2017
Messages
14
Trophies
0
Age
37
XP
486
Country
Italy
What I did is I followed the instructions described here: https://github.com/hwfly-nx/firmware
It did flashed the sdloaderenc for whatever reason but I can't get it to flash the firmware, not sure though if it flashed the firmware or didn't because an error occurs if I do Update Firmware on the menu. But when I tried booting ubuntu, it booted successfully.
Do I still have to flash spacecraft-nx to the chip or I can proceed to update sdloader with hwfly toolbox, even if I have a SXlite chip still flashed with SX fw? I get the error board while trying to load lakka and trying to understand what am I required to do.
 

evil_santa

Well-Known Member
Member
Joined
Jan 15, 2020
Messages
379
Trophies
1
Age
39
XP
1,839
Country
Germany
Do I still have to flash spacecraft-nx to the chip or I can proceed to update sdloader with hwfly toolbox, even if I have a SXlite chip still flashed with SX fw? I get the error board while trying to load lakka and trying to understand what am I required to do.
If you have a sx chip whit sx firmware you need to flash spacecraft-nx to the chip.
After this you can flash SD loader whit Hwfly toolbox.
 
  • Like
Reactions: aruto and jackazz

D-an-W

Well-Known Member
Member
Joined
Nov 13, 2002
Messages
170
Trophies
2
Website
Visit site
XP
1,120
Country
What I did is I followed the instructions described here: https://github.com/hwfly-nx/firmware
It did flashed the sdloaderenc for whatever reason but I can't get it to flash the firmware, not sure though if it flashed the firmware or didn't because an error occurs if I do Update Firmware on the menu. But when I tried booting ubuntu, it booted successfully.
Did you follow "Method b) - Using hwfly-toolbox" in the Updating section? It seems to differ slightly from the method I tried previously that didn't work.
 

ertaboy356b

Well-Known Member
Member
Joined
Feb 16, 2010
Messages
664
Trophies
1
XP
1,926
Country
Did you follow "Method b) - Using hwfly-toolbox" in the Updating section? It seems to differ slightly from the method I tried previously that didn't work.
Yeah I just followed the Method B) up to a certain point. You'll eventually see a white background white a red line increasing in length in the middle. After that, all is done. I tried doing the next step which is updating the firmware but it doesn't work.
Post automatically merged:

Do I still have to flash spacecraft-nx to the chip or I can proceed to update sdloader with hwfly toolbox, even if I have a SXlite chip still flashed with SX fw? I get the error board while trying to load lakka and trying to understand what am I required to do.
I'm not sure with the SX Lite chip because I didn't have one but my SX Core chip is previously flashed with Spacecraft-NX, that was during the first release of Spacecraft-NX which is I think around December 2021.
 
  • Like
Reactions: D-an-W

NoCaPo

Member
Newcomer
Joined
Dec 20, 2022
Messages
7
Trophies
0
Age
32
XP
293
Country
Spain
I have two sd cards. In one of them, I have my emuNAND files, in the other one Ubuntu and Lakka. When I swap to the second one, I always have to run hwfly toolbox to "flash" sdloader.enc to run Ubuntu/Lakka.
What this file does? and why this "flash" is not persistent?
 

anthony001

Well-Known Member
Member
Joined
Oct 19, 2007
Messages
461
Trophies
1
XP
1,462
Country
since the switch isnt really meant to run linux or other os how harmful is it to run linux inside the switch?
what are some popular use case for switch running linux.
 

FanNintendo

Well-Known Member
Member
Joined
Apr 16, 2018
Messages
1,583
Trophies
0
Age
51
XP
2,523
Country
United States
on facebook that someone that running rpcs3, sega model 3, orginal xbox and teknoparrot and doplhin in hyperspin on switch l4t ubuntu like i say to myself impossible but i realize with 1 tb could be really happening. everyone was picking that person who showing off gave him negatives things and saying its fake. and that page was removed damn
 

Thorhax

Well-Known Member
Member
Joined
Apr 15, 2020
Messages
476
Trophies
0
Age
43
XP
2,131
Country
Canada
on facebook that someone that running rpcs3, sega model 3, orginal xbox and teknoparrot and doplhin in hyperspin on switch l4t ubuntu like i say to myself impossible but i realize with 1 tb could be really happening. everyone was picking that person who showing off gave him negatives things and saying its fake. and that page was removed damn
I call bullshit, I bet you he was just streaming from a PC to his switch
 
  • Like
Reactions: FanNintendo

D-an-W

Well-Known Member
Member
Joined
Nov 13, 2002
Messages
170
Trophies
2
Website
Visit site
XP
1,120
Country

M7L7NK7

Well-Known Member
Member
Joined
Oct 16, 2017
Messages
3,902
Trophies
1
Website
youtube.com
XP
5,970
Country
Australia
on facebook that someone that running rpcs3, sega model 3, orginal xbox and teknoparrot and doplhin in hyperspin on switch l4t ubuntu like i say to myself impossible but i realize with 1 tb could be really happening. everyone was picking that person who showing off gave him negatives things and saying its fake. and that page was removed damn
If they don't show it booting into it first, then it's fake
 

faiznwo

Member
Newcomer
Joined
Aug 1, 2022
Messages
10
Trophies
0
Age
32
Location
Kuala Lumpur
XP
120
Country
Malaysia
If you become a massage bord not init properly here is a fix.

WARNING: Be very very careful when following those steps, you **could** cause permanent and unexpected damages to your console if
You don't follow the exact steps of this guide OR perform extra steps not specified in this guide AND followed when not STRICTLY NEEDED

WARNING 2: DO NOT FLASH FIRMWARE.BIN

If you get the message "Board was not initialized properly. Hang prevented." while booting Linux or Android on Mariko:

1. Get this https://github.com/hwfly-nx/hwfly-toolbox/releases/download/1.1.1/hwfly_toolbox.bin
2. Put it in `sdcard:/bootloader/payloads`
3. Get this https://github.com/hwfly-nx/firmware/releases/download/0.7.1/release_071.zip
4. Extract and copy `sdloader.enc` to the root of your sdcard fat32 partition
5. Run `hwfly_toolbox` payload from hekate
6. In `----SD Loader----` section select `Update`
7. Power off your switch and boot ubuntu

In case the issue re appear, reapply the steps listed here from 4. to 7. If you didn't removed the files you downloaded in step 1. and 3.
This message also appear when i want to run lakka..can i also use this method?
 
  • Like
Reactions: evil_santa

idannnn7

Member
Newcomer
Joined
Dec 25, 2022
Messages
8
Trophies
0
Age
39
XP
38
Country
Israel
Hello, i have a problem booting in to linux it says faild to run rootfs and a red screen counting 10 seconds... Help please 🥺 ?
Post automatically merged:

Hello i have a problem i trying to run linux and it says faild to mount rootfs a red screen and counting 10 sec help please 🥺?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: empty chat