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
933
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: 185
  • IMG_20190609_213837.jpg
    IMG_20190609_213837.jpg
    796.9 KB · Views: 198

ZeroFX

why?
Member
Joined
Jun 18, 2018
Messages
1,118
Trophies
1
Location
napaJ
XP
3,028
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,118
Trophies
1
Location
napaJ
XP
3,028
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
  • No one is chatting at the moment.
  • BakerMan @ BakerMan:
    imagine not having hands, cringe
    +1
  • AncientBoi @ AncientBoi:
    ESPECIALLY for things I do to myself :sad:.. :tpi::rofl2: Or others :shy::blush::evil:
    +1
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ if you could find a v5 DS ML you would have the best of both worlds since the v5 units had the same backlight brightness levels as the DS Lite unlockable with flashme
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    +2
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    anyways, we need to re-normalize physical media

    if i didn't want my games to be permanent, then i'd rent them
    +1
  • BigOnYa @ BigOnYa:
    Agreed, that why I try to buy all my games on disc, Xbox anyways. Switch games (which I pirate tbh) don't matter much, I stay offline 24/7 anyways.
    +1
  • AncientBoi @ AncientBoi:
    I don't pirate them, I Use Them :mellow:. Like I do @BigOnYa 's couch :tpi::evil::rofl2:
    +1
  • cearp @ cearp:
    @BakerMan - you can still "own" digital media, arguably easier and better than physical since you can make copies and backups, as much as you like.

    The issue is DRM
    +1
  • cearp @ cearp:
    You can buy drm free games / music / ebooks, and if you keep backups of your data (like documents and family photos etc), then you shouldn't lose the game. but with a disk, your toddler could put it in the toaster and there goes your $60

    :rofl2:
  • cearp @ cearp:
    still, I agree physical media is nice to have. just pointing out the issue is drm
    +1
  • rqkaiju2 @ rqkaiju2:
    i like physical media because it actually feels like you own it. thats why i plan on burning music to cds
  • cearp @ cearp:
    It's nice to not have to have a lot of physical things though, saves space
    +1
  • AncientBoi @ AncientBoi:
    Nor clothes 🤮 . Saves on time, soap, water and money having to wash them. :D
  • SylverReZ @ SylverReZ:
    @rqkaiju2, Physical media is a great source for archiving your data, none of that cloud storage shiz.
    +1
  • AncientBoi @ AncientBoi:
    [squeezes @SylverReZ onto a physical media, then archives you in my old stuff box] :tpi::rofl2::tpi:
    +1
  • BakerMan @ BakerMan:
    guys, should i change my pfp to one of these or keep it the same?
    iu

    iu

    (i guess i could change it to one of my other pfps too, but i just want to see what you guys think first)
  • SylverReZ @ SylverReZ:
    @BakerMan, Up to you.
  • BakerMan @ BakerMan:
    smug sonic time lmao
    +1
    BakerMan @ BakerMan: smug sonic time lmao +1