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,

pcwizard7

Well-Known Member
Member
Joined
Aug 2, 2013
Messages
1,409
Trophies
0
XP
1,688
Country
Australia
I just got a switch with trinket m0 in it off of ebay. It was bricked as in OFW would not ever boot up due to the seller's choi downgrade from 7.0.1 to 5.1
I did testing and stuff. I took my sd card from my other switch and guess what... It did booted up ubuntu nicely.....
actually, It is great tool to rule out any hardware issues.

I reflashed the mod chip then setup autoboot to just boot ubuntu :)


could you use hekate to bypass the fuse count check then upgrade the fw to match the fuse count? or rebuild the nand?

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

Hey, heads up... I have an official nintendo 128gb MicroSD and if you try flashing the image it apparently doesn't seem to work. I had to use my old 3DS' 16gb and it worked just fine. If anyone knows why the 128gb doesn't work, please tell me. (The SD is real, not fake)

Nintendo has switch branded sd cards there really re badge scandisk sd card. make sure its fat32 use guiformat32 to format it and try again
 

mattyxarope

Well-Known Member
Member
Joined
Jan 15, 2019
Messages
544
Trophies
0
XP
1,995
Country
United States
Bylaws could you explain how the controllers work once they're both connected - what the device name for them collectively is, for example? I've got this working but can't quite get the controllers to register and I don't have a keyboard to test either.

AV5nQTZ.png
 

Vigg

Member
Newcomer
Joined
Jul 5, 2018
Messages
22
Trophies
0
Age
24
XP
305
Country
Netherlands
If you have 2 SD cards, and an official Nintendo dock, install L4T to two SD cards. Boot Linux on your Switch, and insert your 2nd SD into a USB SD card reader, and plug that into your dock's USB port. Now install/use gparted on your Switch, to resize/move the ext4 and fat32 partions on your 2nd SD card. This resized SD card will be your full, permanent, L4T + Lakka card (this is how I got Lakka and L4T on the same SD card).
Hey I shrinked the ext4 partition and added a fat32 partition, however hekate will still boot from the 500mb fat partition. When I remove this partition hekate will boot from the fat32 partition so I can select Lakka, but Lakka doesnt boot. Also I can't boot ubuntu when I add it to the bootloader. Just like lakka a black screen. But when I recreate the 500mb Fat partition ubuntu works but lakka wont. Does anyone know how to dualboot ubuntu and lakka?? Because your explenation doesn't work for me or I missed something.
 
Last edited by Vigg,

Mouser X

Well-Known Member
Member
Joined
Aug 26, 2009
Messages
101
Trophies
0
XP
546
Country
United States
Hey I shrinked the ext4 partition and added a fat32 partition, however hekate will still boot from the 500mb fat partition. When I remove this partition hekate will boot from the fat32 partition so I can select Lakka, but Lakka doesnt boot. Also I can't boot ubuntu when I add it to the bootloader. Just like lakka a black screen. But when I recreate the 500mb Fat partition ubuntu works but lakka wont. Does anyone know how to dualboot ubuntu and lakka?? Because your explenation doesn't work for me or I missed something.
Added? You don't need to add a partition. It's already there. Move and resize the ext4 partition to the end of the SD card, and then resize the existing fat32 parition (both Lakka and L4T/Ububtu boot from this fat32 partition, so it must be first) to fill whatever is left after the ext4 partition has been resized and moved. Also, you must be running L4T v1.2 or higher, because bylaws updated L4T to be dual-bootable with Lakka in that version.
 

Old-Skool

Well-Known Member
Member
Joined
Aug 8, 2016
Messages
234
Trophies
0
XP
925
Country
United States
So I'm completely new to linux still figuring out the process and for retroarch once it installs how do you open it? Is it a file I'm looking for or something?
 

halcyonknight

Member
Newcomer
Joined
Jun 14, 2018
Messages
14
Trophies
0
Age
28
XP
138
Country
United States
Tried searching to no avail. Got everything running without too much trouble, but for some reason I get some pretty bad screen glitching/flickering while it's in the dock, but switching to 720p fixes it. Any idea why it's happening?
 

Attachments

  • IMG_20190609_213816.jpg
    IMG_20190609_213816.jpg
    1.1 MB · Views: 181
  • IMG_20190609_213837.jpg
    IMG_20190609_213837.jpg
    796.9 KB · Views: 194

ZeroFX

why?
Member
Joined
Jun 18, 2018
Messages
1,079
Trophies
1
Location
napaJ
XP
2,931
Country
Japan
Tried searching to no avail. Got everything running without too much trouble, but for some reason I get some pretty bad screen glitching/flickering while it's in the dock, but switching to 720p fixes it. Any idea why it's happening?
i rarely get this in my monitor, i fix by undocking and re docking, but thats only my case, pretty rare.
 

ZeroFX

why?
Member
Joined
Jun 18, 2018
Messages
1,079
Trophies
1
Location
napaJ
XP
2,931
Country
Japan
Just Successfully booted L4T Gentoo for the first time. A few simple fixes, and making sure audio and dock configs are in place, and you guys can have fun with it. That being said, I have not tested vulkan, or openmax yet, but it seems I have the basic nvidia driver working.
Great, is it another build that you're working or is the one that you released? I've just finished downloading, gonna take a look.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    I just been playing offline, and they give you a few bots here n there on your team to help battle. I don't think it's as funny as the other games tho, more battle oriented than humor, which kinda sucks, but I'm still early in it
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, doesnt the game have a campaign mode?
  • BigOnYa @ BigOnYa:
    Yea, and co-op, but you can also start a pvp session and battle just with friends. You get special skill cards (powers) the more you play. And higher value cards, but you can only enable so many cards at a time.
  • K3Nv2 @ K3Nv2:
    If you can find enough for it
  • BigOnYa @ BigOnYa:
    Toilet paper is considered the money, you collect and buy stuff with TP, kinda funny. Graphics are def better than the other games tho, I think they used Unity 5 engine.
  • Psionic Roshambo @ Psionic Roshambo:
    Look if I zoom in enough I can see the herpes!!!
    +1
  • BigOnYa @ BigOnYa:
    In fact I'm gonna go make a drink, roll a fatty n play some, good night to all!
    +2
  • Xdqwerty @ Xdqwerty:
    I bet most people at the time still watched it in black and white
  • SylverReZ @ SylverReZ:
    @Xdqwerty, Many of them did before colour television was common.
  • SylverReZ @ SylverReZ:
    Likely because black and white TV was in-expensive.
    +1
  • K3Nv2 @ K3Nv2:
    It certainly wasn't inexpensive it cost the same as a new car back then
  • K3Nv2 @ K3Nv2:
    How much did a 1965 color TV cost?

    For example, a 21-inch (diagonal) GE color television in 1965 had an advertised price of $499, which is equal to $4,724 in today's dollars, according to the federal government's inflation calculator.
    +1
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, take into consideration how economy was back then
  • K3Nv2 @ K3Nv2:
    Yeah that's why they listed inflation rates
  • Xdqwerty @ Xdqwerty:
    Sorry didnt read that part
  • BakerMan @ BakerMan:
    @LeoTCK don't worry i knew he was joking
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    My first color TV was like 1984 or something lol
  • Psionic Roshambo @ Psionic Roshambo:
    19 inches it was glorious lol
  • SylverReZ @ SylverReZ:
    @Psionic Roshambo, If it doesn't fit, you should've gotten one smaller lol
    +2
  • SylverReZ @ SylverReZ:
    If a racoon can fit up to 8-inches then so be it
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Lol it it fits I sit? Lol
    +1
  • SylverReZ @ SylverReZ:
    @Psionic Roshambo, Will it blend lol
    SylverReZ @ SylverReZ: @Psionic Roshambo, Will it blend lol