Moving EmuMMC hidden partition to a larger SD card

Hey folks!

So I recently got a 128GB SD Card to replace my old 64GB, which was setup with atmosphere and EmuMMC. However I soon found a problem: Since I set up EmuMMC with a partition, I couldn't figure out an easy way to transfer that hidden partition to my new SD Card. It's not that hard but I figured I'll write a quick tutorial on how to do this, for the next one looking to do this.

Please read carefully when doing this, as a wrong turn can end up in you wiping out a hard drive or partition. Always double check the size of what you are about to use and unplug any USB storage devices to minimize the possibility of error. Oh! and always keep track of which SD card you are using! My 128 and 64GB SDs looked bloody the same and I almost wiped the original one with all my savegames.

What you needCloning the old SD Card to a new oneAdjusting the partitions on the new SD Card


    • Computer with Windows capable of reading MicroSD cards.
    • The new SD Card you want to use will be wiped during the process, make a copy of everything.
    • Free space on your computer, as much as your original SD Card. So if you are going to migrate from a 64GB SD Card, you'll need 64GB free. If you can read two SD cards on your computer at the same time, you don't need this.
    • HDD Raw Copy Tool. I used the portable version but you do you, they're both the same thing.
    • Mini Tool Partition Wizard.
    • I will reffer to the sd card currently on your switch as the old one, and the one you want to change to, as the new one.
    • A bunch of patience, this is going to take a while.

    1. Turn off your Switch, remove the old SD Card and insert it into your computer. Open HDD Raw Copy Tool. We are goint to make a full image of this card.
    2. This tool is very simple to use, you choose a source, you choose a destination, a copy gets made. So our source is the SD Card.
    3. HDD Raw Copy Tool is going to show you a list of all your hard drives and removable storage (USBs will show up here too, so be careful!). Pick your SD Card, if the name doesn't help you you can look at the size to guide you, then click Continue>>>
    4. And for our destination, it's going to be a file. So we double click where it says "FILE", browse where we want to put the image. Keep in mind you need to put it in a place with as much free space as your SD Card. Once you press Continue>>> again, a summary window will appear, check everything is correct, specially check if you havent chosen another hard drive as destination instead of FILE, as this WILL WIPE OUT said hard drive. Once checked press Start. This is going to take a while, about and hour and a half for my 64GB card with the shitiest card reader in the whole vast world.
    5. Once it's done, close HDD Raw Copy Tool. Extract the SD Card and insert the new one. Open HDD Raw Copy Tool again.
    6. Our source is now a file, so double click on file, browse to where you dumped your SD Card and select it. Our Destination is the new SD Card. A message will pop up telling you that this will wipe out data, double check you are copying to where you want to and hit START again. And wait for two whiles once again.

    If you have a way to read both SD Cards at the same time it's possible to make this quicker, although personally I don't recommend it, you could choose as Source the old SD card and the new SD card as Destination and skip the need of saving the old SD card image on your computer.

    If all you want to do is swap SD Cards of the same size, then you are donezo! You can put the new SD Card on the switch, turn it on with your evil homebrew method of choice and it should work! If your new SD card is larger, we are going to have to adjust the partition table, so come along to the next fascinating step!


  1. If everything works correctly, your new SD Card boots on the switch, but if you are a smart guy you'll have figured out that the switch recognizes exactly the same size as your previous SD Card. That's because we made a clone and a lot of the free space is not asigned to a partition. That's why we need Mini Tool Partition Wizard.
    1. Make sure you insert the new SD Card onto the computer and start Mini Tool Partition Wizard. Choose Disk Partition & Management. Look for your SD Card on the list below (Pay attention to the size)
    2. You will see something like this (Please don't mind the actual sizes shown in the picture, as I did this with and old 32GB SD Card just for the pic.):
      akYAhxx.png
      . Depending on your SD Card, you will probably see the first 16MB as unallocated, you can ignore that, it's normal.
    3. If what you see is the opposite, first unformatted, then FAT32, then you can just resize the FAT32 area and be done with it. Skip to step 12
    4. The FAT32 area (Or perharps it shows up as exFAT) is where your homebrew, atmosphere, etc... folders are located, the Unformatted is the hiddden partition where you have your EmuMMC, which will be 29.1GB (Or around that). We want to increase the size of the FAT32 area to use the gray area (Unallocated). The problem is, we can't do that because the stupid unformatted thing is in the middle of everything!
    5. Right click on the Unformatted partition and choose "Copy".
    6. A Window will show up to let you choose where you want to copy the partition. Go to your SD Card and select the unallocated space. Hit Next.
    7. We need to copy this partition to THE END of the SD card. Always keeping the size as 29.1GB, move it around until it's the last thing on the SD Card.
    8. Hit Finish.
    9. Once it's done, apply changes. (Upper left corner)
    10. You will now have two 29.1GB partitions, delete the one that we had from the beginning, that was in the middle of everything: Right click, Delete. Apply changes.
    11. You should have your original FAT32 partition, a bunch of unallocated space and at the end, the last 29.1GB of the SD Card, a partition marked as "Unformatted". We are almost done!
    12. Right click on your FAT32 partition and choose "Move/Resize". Use the arrows to enlarge the partition and make it occupy all the space on the SD Card.
    13. Apply changes. That's it! Done. You SD Card should boot your Switch as normal and you should see all the space of your SD card available. Enjoy! If that's not the case, recheck all the steps and feel free to ask me any question.
 

torov2

New Member
Newbie
Joined
Dec 11, 2021
Messages
1
Trophies
0
Age
32
XP
13
Country
Germany
Okay, I need some help. I used mini tool wizard to resize my fat32 sd card so that i wouldn't have any unallocated space but for some reason I'm missing like 30 gigs of space. I noticed that the missing gigs is my hidden/primary partition that you were talking about How do I get that space back so that it's not unformatted?
same here did you find a solution for that?
 

LegzRwheelz

Well-Known Member
Member
Joined
Jan 23, 2018
Messages
129
Trophies
0
Age
42
Location
Scrolling here learning to mod my dishwasher
XP
223
Country
United States
yup.. I literally used ETCHER to make an image of my 128 SD card, saved it to my PC hard drive - then swapped over to a 400GB SD card and wrote the same image back to the 400GB card. I then booted into ubuntu and used the disk partition tool to expand the partition to the full size of the 400GB and it just works.
Would you mind telling us step by step how you did this? Thank you


Edit: To anybody looking, I found this guide which is part of the guide I used to softmod my Switch. It seems easy enough. If anybody's done this, can they confirm that it works?
 

mikefor20

Well-Known Member
Member
Joined
Jan 12, 2009
Messages
1,716
Trophies
2
Location
Mushroom Kingdom ( o Y o )
XP
3,234
Country
United States
Can't you just move the emunand partition to the end? Is it absolutely necessary that you copy it?
You can move it but you shouldnt. Atmosphere can read it with a simple ini file adjustment. SX OS will not be able to read emunand at the end of the SD card. Look at NXnand manager.
same here did you find a solution for that?
That space is your emunand. Whenever you are using your emunand your system will think that it's the SysNAND. Go ahead and install to "system" and it will be using that space.
Would you mind telling us step by step how you did this? Thank you


Edit: To anybody looking, I found this guide which is part of the guide I used to softmod my Switch. It seems easy enough. If anybody's done this, can they confirm that it works?
Just use etcher to make an image by sector and restore it to the new SD then EXPAND the PARTITION to the rest of the SD BESIDES THE EMUNAND in any capable partition manager for that method.

I used NX Nand Manager. something like this.

Backup old EmuNAND in NXNANDMANAGER

Format New card to FAT32(SD formatter)

On NEW SD create NEW EmuNAND in NXNANDMANAGER and point it to the NAND backup.

Copy over the rest (FAT32) normally.

I chose this method, although a little bit more Hands-On, because I only needed 32 GB of free space at one time on my PC and I feel like it's a little bit less risky. Doing everything in one operation seems like if something is wrong with that image file that screws everything.
While you're at it you can clean up any stray files and think about multiple partitions. You can have a couple Emunands (SX forXCI and Atmo) or do Ubuntu, Lakka, Switchroot or what not.
 

LegzRwheelz

Well-Known Member
Member
Joined
Jan 23, 2018
Messages
129
Trophies
0
Age
42
Location
Scrolling here learning to mod my dishwasher
XP
223
Country
United States
You can move it but you shouldnt. Atmosphere can read it with a simple ini file adjustment. SX OS will not be able to read emunand at the end of the SD card. Look at NXnand manager.

That space is your emunand. Whenever you are using your emunand your system will think that it's the SysNAND. Go ahead and install to "system" and it will be using that space.

Just use etcher to make an image by sector and restore it to the new SD then EXPAND the PARTITION to the rest of the SD BESIDES THE EMUNAND in any capable partition manager for that method.

I used NX Nand Manager. something like this.

Backup old EmuNAND in NXNANDMANAGER

Format New card to FAT32(SD formatter)

On NEW SD create NEW EmuNAND in NXNANDMANAGER and point it to the NAND backup.

Copy over the rest (FAT32) normally.

I chose this method, although a little bit more Hands-On, because I only needed 32 GB of free space at one time on my PC and I feel like it's a little bit less risky. Doing everything in one operation seems like if something is wrong with that image file that screws everything.
While you're at it you can clean up any stray files and think about multiple partitions. You can have a couple Emunands (SX forXCI and Atmo) or do Ubuntu, Lakka, Switchroot or what not.
Thank you so much for such a detailed explanation and walkthrough of the steps. I'm not skeered of getting my hands dirty, I just like to ask questions and understand how something's done to get an idea of the procedure ahead of time.
 

Axido

Well-Known Member
Member
Joined
Feb 12, 2014
Messages
1,213
Trophies
1
Age
31
XP
3,688
Country
Germany
Would you mind telling us step by step how you did this? Thank you


Edit: To anybody looking, I found this guide which is part of the guide I used to softmod my Switch. It seems easy enough. If anybody's done this, can they confirm that it works?
I just upgraded from a 200 gig card to a 512 gig one using this guide. It works like a charm. Yet, moving the Contents folder afterwards caused some minor problems. A bunch of games missed parts of the data, but it seems like that was due to Windows explorer not copying them correctly. When I copied over the whole folder I noticed that some of the bigger files haven't been showing up on the card at all after the initial copying process.
 

LegzRwheelz

Well-Known Member
Member
Joined
Jan 23, 2018
Messages
129
Trophies
0
Age
42
Location
Scrolling here learning to mod my dishwasher
XP
223
Country
United States
I just upgraded from a 200 gig card to a 512 gig one using this guide. It works like a charm. Yet, moving the Contents folder afterwards caused some minor problems. A bunch of games missed parts of the data, but it seems like that was due to Windows explorer not copying them correctly. When I copied over the whole folder I noticed that some of the bigger files haven't been showing up on the card at all after the initial copying process.
Thanks for replying. I bet the reason for the errors is the length of characters in the files, directory etc combined.. There's a limit.. Not sure how many... Something like 200 character limit then windows loses it's head. I didn't think of this part so I can now understand why the etcher method worked. Thanks for taking your time to comment and give be some additional insight. ✌️
 
General chit-chat
Help Users
  • No one is chatting at the moment.
    K3N1 @ K3N1: https://youtube.com/shorts/PArWUK0WyDQ?feature=share