Tutorial  Updated

Booting Linux on your Switch from Windows - one script, nothing to build, only downloads

THIS GUIDE IS DEPRECATED
THIS IS BETTER https://github.com/natinusala/painless-linux


This guide will show you how to boot Linux on your Switch from a Windows PC. If you're on Linux, you can directly use the shofel2_linux repository.

Credits :
  • @kombos for the pre-built binaries
  • @rajkosto for TegraRcmSmash and Windows imx_usb binaries
  • Fail0verflow for their Linux port
What you'll need :
  • A Switch
  • A Windows PC
  • Another SD card of at least 8Gb
    • you can use the same SD card that you already have on your Switch but be careful when partitioning !
  • A USB A-to-C or C-to-C cable to plug your Switch into your PC
Step 1 : installing the driver
  1. Get your Switch in RCM mode and plug it into your PC
    • It should appear as "APX" in Windows
  2. Download and run the Zadig Driver Installer from here : https://zadig.akeo.ie/
  3. In the list, choose the device "APX"
    • If it's not showing up, check "List all devices" in the options
  4. At the right end of the green arrow, choose "libusbK (v3.0.7.0)"
  5. Click on the big "Install driver" button
Step 2 : creating the root filesystem

Yes, this is still necessary. Yes, this will always be.

Open my another guide and follow the "Building the rootfs" section.
On Windows you'll have to use a IMG file and burn it with Etcher, or find a way to create an ext4 partition by hand (good luck with that).
I recommend the latest LXDE image which has the correct format for Etcher - it's a zip containing a bin, flash the .bin using Etcher.

You should be left with a SD card with two partitions on it.

Step 3 : a whole bunch of downloads
  1. Download and extract this : https://github.com/SoulCipher/shofel2_linux/archive/master.zip
  2. Download this : https://files.sshnuke.net/TegraRcmSmash1101.zip
  3. Extract the executable for your architecture in the shofel2_linux-master folder
  4. Download this : https://github.com/rajkosto/imx_usb_loader/releases/download/08daaa/imx_usb.zip
  5. Extract the executable and DLL in the shofel2_linux-master folder
  6. Download this : http://launchmycraft.fr/boot_linux.bat
  7. Put it in the shofel2_linux-master folder
This is what you should have in the linux_shofel2-master folder before continuing :
2d13fc7c7d.png


Step 4 : actually booting Linux
  1. Put your Switch in RCM mode and plug it in your PC
  2. Go in the shofel2_linux-master folder and open boot_linux.bat
  3. It wasn't that hard, wasn't it ?
 
Last edited by natinusala,

natinusala

Win32 error 31 is not an error
OP
Member
Joined
Dec 1, 2012
Messages
1,032
Trophies
0
Age
44
XP
2,914
Country
France
Again, in this guide I don't detail the rootfs process but it can be long / painful on Windows.
 

mariogamer

Well-Known Member
Member
Joined
Aug 12, 2015
Messages
1,256
Trophies
0
Age
28
XP
790
Country
Canada
I always receive error 31 while trying to boot linux with tegrarcmsmash (manually or not) (but not when normally dragging and dropping). Apparently it is a driver issue but I already installed it.
 
Last edited by mariogamer,

The Frenchman

Well-Known Member
Member
Joined
Apr 13, 2008
Messages
783
Trophies
1
XP
2,002
Country
Canada
This guide will show you how to boot Linux on your Switch from a Windows PC. If you're on Linux, you can directly use the shofel2_linux repository.

Credits :
  • @kombos for the pre-built binaries
  • @rajkosto for TegraRcmSmash and Windows imx_usb binaries
  • Fail0verflow for their Linux port
What you'll need :
  • A Switch
  • A Windows PC
  • Another SD card of at least 8Gb
    • you can use the same SD card that you already have on your Switch but be careful when partitioning !
  • A USB A-to-C or C-to-C cable to plug your Switch into your PC
Step 1 : installing the driver
  1. Get your Switch in RCM mode and plug it into your PC
    • It should appear as "APX" in Windows
  2. Download and run the Zadig Driver Installer from here : https://zadig.akeo.ie/
  3. In the list, choose the device "APX"
    • If it's not showing up, check "List all devices" in the options
  4. At the right end of the green arrow, choose "libusbK (v3.0.7.0)"
  5. Click on the big "Install driver" button
Step 2 : creating the root filesystem

Yes, this is still necessary. Yes, this will always be.

Open my another guide and follow the "Building the rootfs" section.
On Windows you'll have to use a IMG file and burn it with Etcher, or find a way to create an ext4 partition by hand (good luck with that). I recommend the KDE image which has the correct format for Etcher.

You should be left with a SD card with two partitions on it.

Step 3 : a whole bunch of downloads
  1. Download and extract this : https://github.com/SoulCipher/shofel2_linux/archive/master.zip
  2. Download this : https://files.sshnuke.net/TegraRcmSmash1101.zip
  3. Extract the executable for your architecture in the shofel2_linux-master folder
  4. Download this : https://github.com/rajkosto/imx_usb_loader/releases/download/08daaa/imx_usb.zip
  5. Extract the executable and DLL in the shofel2_linux-master folder
  6. Download this : http://launchmycraft.fr/boot_linux.bat
  7. Put it in the shofel2_linux-master folder
This is what you should have in the linux_shofel2-master folder before continuing :
2d13fc7c7d.png


Step 4 : actually booting Linux
  1. Put your Switch in RCM mode and plug it in your PC
  2. Go in the shofel2_linux-master folder and open boot_linux.bat
  3. It wasn't that hard, wasn't it ?

How would one put the Switch in RCM mode? I thought the shorting of pin 7/10 was for that...
 
Last edited by The Frenchman,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    Psis difficulty meter is Stds like how south park made it race color
    +2
  • BakerMan @ BakerMan:
    oh yeah it's skin color for difficulty in south park

    is it, by that logic, blackface to play on the hardest difficulty if you're white?
    +1
  • BigOnYa @ BigOnYa:
    Hey Psi, you ever been on a date and ran into another past date? And how did you handle it? Just curious.
  • K3Nv2 @ K3Nv2:
    He just says this is the neighbor across the block and says sorry their mail got mixed up
  • BakerMan @ BakerMan:
    guys, this sounds unhinged, but someone (i forgot who) saying they'd want to make their left 4 dead team wario, samus, captain falcon and nester gave me the idea for a quick round of fuck marry kill/bed wed behead
    +1
  • BakerMan @ BakerMan:
    fuck marry kill:
    wario, samus, captain falcon
  • BakerMan @ BakerMan:
    i gotta say fuck captain falcon, because he's hot (no homo), marry samus, because she seems like good wife (or as BigOnYa says, wifey) material, and kill wario, because he can't die, so killing him won't really kill him
    +1
  • BakerMan @ BakerMan:
    but uhhh that's just me hehe
    iu
  • impeeza @ impeeza:
    good night guys
    +1
  • BigOnYa @ BigOnYa:
    Nighty night, wise one, thanks for trying to help.
  • Psionic Roshambo @ Psionic Roshambo:
    To sleep perchance to dream!
  • BigOnYa @ BigOnYa:
    My state has put a heavy tax on vape juice, taxing any juice with nicotine by the weight/oz. So to get around the bs, my local vape store only sells 0 nicotine vape juices, then they also sell straight nicotine in tiny bottles, and you mix it yourself to your 0% juice, lol
    +1
  • BigOnYa @ BigOnYa:
    Damn, is that Wing from South Park?
  • Psionic Roshambo @ Psionic Roshambo:
    BigOnYa hmmm I wonder how long until someone just vapes the straight nicotine lol
  • BigOnYa @ BigOnYa:
    I was gonna say people are not that dumb, but yea you right, some are.
  • K3Nv2 @ K3Nv2:
    People have put 50mg salt nic in straight subohm coils which is like more powerful hits
    +1
  • BigOnYa @ BigOnYa:
    Hey psi, do they have dress codes down there in FLa, here there are signs on stores that say "No shirt, no service" but curious bout down yonder
  • BigOnYa @ BigOnYa:
    Yea I tried the salts and too strong for me, I prefer the norm juice
  • K3Nv2 @ K3Nv2:
    In Florida they don't serve you if you have clothes on
    +1
  • K3Nv2 @ K3Nv2:
    Fucking raining again
  • BigOnYa @ BigOnYa:
    How can you tell, do you see rain drops on top of other rain drops?
  • K3Nv2 @ K3Nv2:
    I can tell by whenever your wifes done letting out loud ass moans then I get her a ticket back home
    K3Nv2 @ K3Nv2: I can tell by whenever your wifes done letting out loud ass moans then I get her a ticket back home