RELEASE Painless Linux - it's Linux, but painless (Windows, Mac OS, Linux & Android)

Discussion in 'Switch - Exploits, Custom Firmwares & Soft Mods' started by natinusala, May 6, 2018.

  1. natinusala
    OP

    natinusala Win32 error 31 is not an error

    Member
    9
    Dec 1, 2012
    France
    Tired of trying to boot the useless Linux on your Switch without succeeding ? Tired of reading through the 57 guides I made just to see a black screen or USB error ? Fear no more, for I have come with...

    ~ Painless Linux ~

    Grab it while it's hot : https://github.com/natinusala/painless-linux
    Everything is explaned in the README of the repository.

    Now you can boot Linux from any system (Windows, Mac OS, Linux or Android), without any extra work :
    1. Download the disk image
    2. Burn it on your SD card using Etcher or dd
    3. Clone or download the repository and use the provided scripts (for Android you need to copy 2 files)
    The system is an improved version of @00Cancer's GNOME Arch Linux image :
    • sudo
    • chromium browser
    • scripts to manage GPU clock profiles (courtesy of @Gigaa)
    • SSH server enabled by default
    • automatic root filesystem expand to fit your SD card

    I will try to keep it updated, with incremental updates, if applicable. I will also keep this post minimal, as everything is already in the README.

    Have fun with your almost functional Linux !
     
    gabe_derp, yanagi, tiliarou and 45 others like this.
  2. ehnoah

    ehnoah GBAtemp Advanced Fan

    Member
    4
    Oct 9, 2012
    Netherlands
    Goof Job! Is there a Touch Keyboard?
     
  3. Huntereb

    Huntereb GBAtemp Addict

    Member
    7
    Sep 1, 2013
    United States
    Nice, good proof of concept (Without the headaches) for when my USB-C cable arrives.
     
  4. natinusala
    OP

    natinusala Win32 error 31 is not an error

    Member
    9
    Dec 1, 2012
    France
    There is, and I added it to the favorites so that you can easily find it
     
  5. Tommy084

    Tommy084 GBAtemp Regular

    Member
    2
    Feb 24, 2013
    Norway
    Thanks :)
    will try this now!!
     
  6. EpicLPer

    EpicLPer Nice unless you give me a reason to hate you ;)

    Member
    6
    Mar 13, 2015
    Austria
    Austria
    Nice!
     
  7. ehnoah

    ehnoah GBAtemp Advanced Fan

    Member
    4
    Oct 9, 2012
    Netherlands
    Can we run Emulators? Or do we have Vulkan Support etc.
     
  8. natinusala
    OP

    natinusala Win32 error 31 is not an error

    Member
    9
    Dec 1, 2012
    France
    You totally can, see my other tutorial to see how to build RetroArch, or build any other standalone emulator by hand.
     
  9. wiiarctus

    wiiarctus GBAtemp Regular

    Member
    2
    Aug 29, 2016
    Germany
    Is this totally painless (with the fast boot I asked for?) :toot:
     
  10. natinusala
    OP

    natinusala Win32 error 31 is not an error

    Member
    9
    Dec 1, 2012
    France
    Well it's just two steps : burn the SD card image and run the boot script. Nothing else !

    edit : and it's GNOME
     
    CuriousTommy, lordelan and wiiarctus like this.
  11. Huntereb

    Huntereb GBAtemp Addict

    Member
    7
    Sep 1, 2013
    United States
    You should throw together an image that boots into OpenBox or LXDE and make my life even easier, something more lightweight than Gnome. Will be cool to see some "distros" pop up for this device.
     
    TotalInsanity4 likes this.
  12. natinusala
    OP

    natinusala Win32 error 31 is not an error

    Member
    9
    Dec 1, 2012
    France
    While I agree with you, what we currently have is not a distribution, it's a "let me install a bunch of things on the system and clone the SD card so you can have them too". That's why it's large, and that's why it's painful (for me) to make.

    edit : take Lakka for instance, that is a true distribution. With the correct configuration it could be ran on the Switch without any issue. But we would need to backport the kernel, u-boot and coreboot in order to have a true image file.
     
    Last edited by natinusala, May 6, 2018
    Mach and TotalInsanity4 like this.
  13. Huntereb

    Huntereb GBAtemp Addict

    Member
    7
    Sep 1, 2013
    United States
    There are much easier ways of doing this, but regardless, thank you for the effort and making it such a simple process for others. ;)
     
  14. seanp2500

    seanp2500 GBAtemp Advanced Fan

    Member
    4
    Jun 2, 2010
    United States
    Ok going to try this tonight cant wait anyone know what causes battery issue so i can try to avoid that?
     
  15. natinusala
    OP

    natinusala Win32 error 31 is not an error

    Member
    9
    Dec 1, 2012
    France
    There are, but the result is more or less the same, and it works for me this way
    For now you can't but it's being worked on.
     
  16. Huntereb

    Huntereb GBAtemp Addict

    Member
    7
    Sep 1, 2013
    United States
    It's safe to assume the kernel used here is nowhere near "battery-friendly" at this point. As I said, give it a little time and a lot more work will be done on this front by others.
     
  17. Chuardo

    Chuardo GBAtemp Fan

    Member
    3
    Oct 4, 2015
    Uruguay
    Can you do that on a relatively small SDCard and then Swap it with the SDCard that I use now with games on 5.0.2 when I use the console normally? And do the Joycons work now?

    This is great honestly, I am really glad that there are so many people releasing new stuff every day, and this sounds great for everyone, I haven't tried anything yet because I heard about the Battery showing incorrect percentage or that they were destroying the Switch screen.
     
  18. hippy dave

    hippy dave BBMB

    Member
    11
    Apr 30, 2012
    United Kingdom
    Hey, some people like pain.
     
    natinusala likes this.
  19. natinusala
    OP

    natinusala Win32 error 31 is not an error

    Member
    9
    Dec 1, 2012
    France
    You can, you need a 8gb sd card though

    Nope
     
    Chuardo likes this.
  20. ehnoah

    ehnoah GBAtemp Advanced Fan

    Member
    4
    Oct 9, 2012
    Netherlands
    Someone need test it and check for batery issues. Not want to do the recharge stuff again haha.