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,

KazoWAR

Well-Known Member
Member
Joined
Aug 12, 2008
Messages
1,952
Trophies
1
Age
35
Location
Winter Haven
XP
2,130
Country
United States
So I used is once to test it out like a week ago and it wor, and wit the reset wifi worked too, but now i can't get wifi to work, i tried reseting, resetting again. hard power off and redo RCM and reset again and nope. gave up and tried again a few hours later and its stil not working. idk whats up i haven't changed anything.
 

SaladFingers

Member
Newcomer
Joined
Aug 29, 2016
Messages
23
Trophies
0
Age
33
XP
74
Country
United States
What problem has been happening with the Switch’s display?
I read on reddit that the Linux kernel controls the voltages throughout the switch based off what it thinks is right and can cause internal damage, is this true/has this been fixed? I’d love to give this a try, I’m just trying to understand if this is safe.

EDIT: Oops, sorry for posting, I read the title
 
Last edited by SaladFingers,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    Jaws is on a diet
  • K3Nv2 @ K3Nv2:
    Damn power went out
  • BigOnYa @ BigOnYa:
    Ok xdqwerty, your little bro prob tripped On the cord and unplugged you
  • K3Nv2 @ K3Nv2:
    Ya I'm afraid of the dark hug me
  • BigOnYa @ BigOnYa:
    Grab and hold close your AncientBoi doll.
  • K3Nv2 @ K3Nv2:
    Damn didn't charge my external battery either
  • BigOnYa @ BigOnYa:
    Take the batteries out of your SuperStabber3000... Or is it gas powered?
  • K3Nv2 @ K3Nv2:
    I stole batteries from your black mamba
    +1
  • K3Nv2 @ K3Nv2:
    My frozen food better hold up for an hour I know that
  • BigOnYa @ BigOnYa:
    Or else gonna be a big lunch and dinner tomorrow.
  • BigOnYa @ BigOnYa:
    Did you pay your power bill? Or give all yo money to my wife, again.
  • K3Nv2 @ K3Nv2:
    Oh good the estimated time is the same exact time they just said
    +1
  • BigOnYa @ BigOnYa:
    Load up your pc and monitor, and head to a McDonalds dining room, they have free WiFi
  • K3Nv2 @ K3Nv2:
    Sir please watch your porn in the bathroom
    +2
  • BigOnYa @ BigOnYa:
    No sir we can not sell you anymore apple pies, after what you did with the last one.
  • K3Nv2 @ K3Nv2:
    We ran out
  • HiradeGirl @ HiradeGirl:
    for your life
    +1
  • K3Nv2 @ K3Nv2:
    My life has no value my fat ass is staying right here
  • K3Nv2 @ K3Nv2:
    Nearly 4 hours without power :(
  • Veho @ Veho:
    SO POWERLESS
  • K3Nv2 @ K3Nv2:
    Tell Kanye I need power
  • DinohScene @ DinohScene:
    Better start running in your hamster wheel
    DinohScene @ DinohScene: Better start running in your hamster wheel