Hacking Can the same SD card be used for Linux and normal use?

Sayora

Well-Known Member
OP
Member
Joined
Feb 6, 2018
Messages
135
Trophies
0
XP
671
Country
United States
Every guide seems to imply this is the case, but I haven't seen it explicitly stated. If I need to get another what would a recommended size be? Sorry if this is a stupid question, I just want to have definitive answer before I buy another SD card.
 

DarkMatterCore

Finding my light.
Developer
Joined
May 30, 2009
Messages
1,292
Trophies
1
Age
28
Location
Madrid, Spain
Website
github.com
XP
2,606
Country
Spain
Yes, it can definitely be done.

I use a 32 GB SanDisk micro SD card. Before starting the process, I created a backup of the "Nintendo" directory in the SD card. Then, I manually created a 16 GB FAT32 partition and dedicated the rest of the free space for the EXT4 partition. After finishing copying the Linux rootfs to the EXT4 partition, I copied the "Nintendo" directory back to the FAT32 partition. It works like a charm.

TL;DR: Just create a bigger FAT32 partition and you should be good to go.
 
Last edited by DarkMatterCore,
  • Like
Reactions: ShonenJump

DarkMatterCore

Finding my light.
Developer
Joined
May 30, 2009
Messages
1,292
Trophies
1
Age
28
Location
Madrid, Spain
Website
github.com
XP
2,606
Country
Spain
Switch firmware added support for it in 5.0, but F0Fs linux kernel uses a custom driver for the SD reader which has exFAT support. What the Switch OS supports is irrelevant.

That doesn't make sense. I was referring to the ability of the Horizon OS to use exFAT on the first micro SD partition, not Linux. I know F0F's kernel has a custom driver; otherwise, the second EXT4 partition wouldn't even work in the first place. But that only takes effect when Linux is ran through RCM.
 

Thatcher

Well-Known Member
Member
Joined
Mar 15, 2009
Messages
105
Trophies
1
XP
245
Country
United States
That doesn't make sense. I was referring to the ability of the Horizon OS to use exFAT on the first micro SD partition, not Linux. I know F0F's kernel has a custom driver; otherwise, the second EXT4 partition wouldn't even work in the first place. But that only takes effect when Linux is ran through RCM.

From what I understand the Switch can use exFat so long as you've triggered the update for it (unsure which FW version added support). This is done by inserting a 64GB or higher card in the switch, you're then prompted to update the Switch but this will also update you to the latest FW :unsure:

I'm currently on 4.0.1 and my 200GB card prompted me for the SD card update but I'm hoping homebrew get around this by using partitions i.e Fat32 for official and a larger exFat for homebrew like you said.
 

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,316
Trophies
4
Location
Space
XP
13,894
Country
Norway
Weird. I could have sworn exFAT compatibility got added on 5.0.0. Well, just go ahead and try.
Maybe it's now built in to the regular updates, but support has been there since the beginning as a separate update. Upon inserting an exFAT formatted card for the first time you would be prompted to install the update for it.
 

DarkMatterCore

Finding my light.
Developer
Joined
May 30, 2009
Messages
1,292
Trophies
1
Age
28
Location
Madrid, Spain
Website
github.com
XP
2,606
Country
Spain
Maybe it's now built in to the regular updates, but support has been there since the beginning as a separate update. Upon inserting an exFAT formatted card for the first time you would be prompted to install the update for it.

That explains it. Thanks. I got my Switch when 5.0.0 was already around and I updated my console right away, so I didn't have the chance to tinker a bit more with lower firmwares.
 

Sayora

Well-Known Member
OP
Member
Joined
Feb 6, 2018
Messages
135
Trophies
0
XP
671
Country
United States
Well from my basic testing, it seems exfat cannot be used to boot linux with the current methods.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
  • Karma177 @ Karma177:
    do y'all think having an sd card that has a write speed of 700kb/s is a bad idea?
    trying to restore emunand rn but it's taking ages... (also when I finished the first time hekate decided to delete all my fucking files :wacko:)
  • The Real Jdbye @ The Real Jdbye:
    @Karma177 that sd card is 100% faulty so yes, its a bad idea
  • The Real Jdbye @ The Real Jdbye:
    even the slowest non-sdhc sd cards are a few MB/s
  • Karma177 @ Karma177:
    @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really think it's faulty (pasted 40/50gb+ folders and no write errors)
  • DinohScene @ DinohScene:
    run h2testw on it
    +1
  • DinohScene @ DinohScene:
    when SD cards/microSD write speeds drop below a meg a sec, they're usually on the verge of dying
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Samsung SD format can sometimes fix them too
  • Purple_Heart @ Purple_Heart:
    yes looks like an faulty sd
  • Purple_Heart @ Purple_Heart:
    @Psionic Roshambo i may try that with my dead sd cards
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    It's always worth a shot
  • TwoSpikedHands @ TwoSpikedHands:
    @The Real Jdbye, I considered that, but i'll have to wait until i can get the eu version in the mail lol
  • I @ I-need-help-with-wup-wiiu:
    i need help with nusspli failed downloads, can someone respond to my thread? pretty please:wub:
  • Sheeba- @ Sheeba-:
    I can't wait to hack my 11.00 PS4 pro
    Sheeba- @ Sheeba-: I can't wait to hack my 11.00 PS4 pro