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

Maximilious

Whistles a familiar tune
Member
Joined
Nov 21, 2014
Messages
2,571
Trophies
1
XP
1,855
Country
United States
Nice work. I'm not very interested in installing Linux myself, but I'm wondering - Does this effect eMMC at all in any way? Or is all data kept on SD card and the stock system remains un-changed if you were to remove the SD card?
 

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
Nice work. I'm not very interested in installing Linux myself, but I'm wondering - Does this effect eMMC at all in any way? Or is all data kept on SD card and the stock system remains un-changed if you were to remove the SD card?

it doesn't affect the NAND at all. It just messes up the battery calibration from Horizon's perspective.
 
  • Like
Reactions: Maximilious

wiewiec

Well-Known Member
Member
Joined
Dec 24, 2015
Messages
774
Trophies
0
Age
39
Location
Somewhere
XP
1,373
Country
Poland
How about strange battery calibration problems that was stated at one of threads few days ago, my switch will arive tomorow and wanna know if there is no problem with that?
 

ShonenJump

Well-Known Member
Member
Joined
Mar 14, 2009
Messages
499
Trophies
0
Location
netherlands 🇳🇱
XP
806
Country
Netherlands
im getting the same error, even on other usb ports.
 

Attachments

  • WP_20180507_16_30_51_Pro.jpg
    WP_20180507_16_30_51_Pro.jpg
    757.9 KB · Views: 300

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
Win32 error 31 is not an error, it's normal. If you have a black screen on the console just try again. Make sure that the SD card is properly setup too
 
  • Like
Reactions: ShonenJump

HamBone41801

Vipera’s Alt
Member
Joined
Jan 16, 2017
Messages
1,083
Trophies
0
Age
23
XP
974
Country
United States
so what stops joycons from working? does the switch need a special driver for its Bluetooth chip? or is it something else?
 

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
so what stops joycons from working? does the switch need a special driver for its Bluetooth chip? or is it something else?

The wired Joy-Cons will have to be remplemented. The Bluetooth Joy-Cons cannot be paired to the console, I don't know why.

it shows up and disappears. I used your image file and etcher.

Can you put the SD card in your PC and tell me what it contains (at least the FAT partition) ?
 
D

Deleted User

Guest
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 !

good that you are talking about etcher , all the time etcher builds an sdcard it uses only 3gb of my 32gb sdcard , so its a pain to use linux that way
 

shmadul

Active Member
Newcomer
Joined
Jan 19, 2018
Messages
32
Trophies
0
Age
25
XP
243
Country
United States
I cant seem to get it to work on my mac, Any Idea how to fix this ?


Put your Switch in RCM mode now

Traceback (most recent call last):

File "./shofel2/shofel2.py", line 246, in <module>

rcm = RCM()

File "./shofel2/shofel2.py", line 50, in __init__

fds_before = get_fds()

File "./shofel2/shofel2.py", line 37, in get_fds

return set(int(i) for i in os.listdir("/proc/self/fd"))

FileNotFoundError: [Errno 2] No such file or directory: '/proc/self/fd'
 

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
i can't look at it, i must format it. Should reformat in fat32 or exfat?

You should see two devices, one labelled "FAT" and the other which you need to format to read. Don't do it.

Correct me if I'm wrong this is based on Arch Linux distro, which uses Pacman as a package manager not Aptitude. However I have not been able to get this to work yet to see if Pacman works or not.

pacman works !

I cant seem to get it to work on my mac, Any Idea how to fix this ?


Put your Switch in RCM mode now

Traceback (most recent call last):

File "./shofel2/shofel2.py", line 246, in <module>

rcm = RCM()

File "./shofel2/shofel2.py", line 50, in __init__

fds_before = get_fds()

File "./shofel2/shofel2.py", line 37, in get_fds

return set(int(i) for i in os.listdir("/proc/self/fd"))

FileNotFoundError: [Errno 2] No such file or directory: '/proc/self/fd'

Yeah it's kinda broken on Mac right now, use an Android device if you can
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • K3Nv2 @ K3Nv2:
    I'll reformat and have a 3tb raid0 m. 2 at least
    +1
  • K3Nv2 @ K3Nv2:
    Lmao that sold out fast
    +1
  • Veho @ Veho:
    Yeet the cat.
    +1
  • K3Nv2 @ K3Nv2:
    Good idea
    +1
  • The Real Jdbye @ The Real Jdbye:
    i thought everybody knew cocktails are like 75% ice
  • Veho @ Veho:
    Yeah but not like this.
  • Veho @ Veho:
    It's not like they're complaining that their Slurpee is 99% ice or something, but if the cocktail calls for "shot of vodka, shot of vermouth, shot of gin, shot of Campari, three shots of juice, squirt of lemon" and ends up being a thimbleful of booze, that's a problem.
  • The Real Jdbye @ The Real Jdbye:
    the funny thing is cocktails in norway are only allowed to have 1 20ml shot of booze
  • The Real Jdbye @ The Real Jdbye:
    so..... yeah
  • The Real Jdbye @ The Real Jdbye:
    we're used to only having a thimbleful of booze
  • Veho @ Veho:
    Booo.
  • The Real Jdbye @ The Real Jdbye:
    same thing if you want whisky on the rocks or something, you can't get a double
  • The Real Jdbye @ The Real Jdbye:
    but you could buy as many shots of whisky (or anything else) as you want and ask for a glass of ice and pour them in
  • The Real Jdbye @ The Real Jdbye:
    it's dumb
  • Veho @ Veho:
    Maybe.
  • Veho @ Veho:
    There was a comparison of the number of Ibuprofen poisonings before and after they limited the maximum dosage per box or per pill (i'll look that up). No limit on the number of boxes you can still buy as many as you want, so people argued it was pointless.
  • Veho @ Veho:
    But the number of (accidental) poisonings dropped because drinking an entire package of ibuprofen pills went from "I need a new liver" to "I need a new box of Ibuprofen".
  • Veho @ Veho:
    Here we have ketoprofen that used to be prescription-only because of the risk of toxic dosages, but then they halved the dose per pill and sell them in bottles of six pills apiece instead of twenty and it doesn't need a prescription any more. Yes you can buy more than one bottle but people simply don't.
  • Psionic Roshambo @ Psionic Roshambo:
    Usually accidentally overdose of ibuprofen here is from people taking like cold medicine then ibuprofen for a headache and the combination is over what they need
    Veho @ Veho: https://imgur.com/gallery/QQkYnQu