[HOW-TO] Mount Multiple SDcard/Removable Disk Partitions in Windows

Search This thread

Solar.Plexus

Senior Member
Jan 29, 2012
1,279
319
By default, Windows will only mount the first listed partition on any Removable Disk. This is unfortunate for CM7 SD version users since the 4th partition of the SD card is the one used to store user data, which frequently need to be viewed and edited.

Purpose:

This tutorial will show you how to modify a Local Disk driver in order for Windows to recognize all the partitions of your SD card.

So, just a couple of things before we start:

- This process is NOT limited to work for just SD cards, you can do this for USB flash drives as well.

- The drivers that we will be modifying are compatible with Windows XP and Windows 7 32-bit. They are NOT compatible with Windows 7 64-bit. If you run 64-bit, you're out of luck. However, if you needed to, you could run Windows in XP mode or use a different OS in a virtual machine.

Procedure:

1.) Download the USB_LocalDisk.zip file attached to this post. Or download it from here: http://www.etcwiki.org/wiki/Cfadisk_usb_driver . Or if that link stops working, try doing a google search of xpfiledvr1224_320.zip. They are the same drivers.

2.) Extract the USB_LocalDisk folder to your desktop.

3.) Insert the SD card (via MMC reader or USB adapter) that you want to be able to view, and open your computer's Device Manager. Click the dropdown arrow of the Disk drives category and find the entry for your SD card. Please note that this name will probably be different for each person based on the SD card and card reader/adapter you're using.

1.png


4.) Right click and select Properties. Choose the Details tab, and select Device Instance Path from the dropdown box. Copy that Value that appears in the box. Again, this value will most likely differ from the one in the screenshot.

2.png


5.) Go back to your desktop and open the USB_LocalDisk folder. Open the .inf file called "cfadisk" with Notepad or your favorite Text Editor.

3.png


6.) Navigate to the 26th line in the file. Highlight "device_instance_id_goes_here"

4.png


Paste your Value from before. Save the text file.

5.png


7.) Go back to the Device Manager, right click your SD card, and choose Update Driver Software -> Browse my computer for driver software -> Let me pick from a list of device drivers on my computer -> Have Disk -> Browse. From here, go to your desktop or wherever you saved the driver files and open the cfadisk file. Click Okay.

8.) Click next. It might give you a message about driver compatibility, but it's fine, just hit yes. At this point, it will begin installing the drivers. Once again, you might be informed that the driver isn't signed. Don't worry about it, just choose Install this driver anyway. Now it should finish the installation.

9.) If all goes well, your SD card partitions should now be mounted separately in the Local Disk section of My Computer.

10.) You might want to consider renaming the different partitions to help you remember which is which. Again, this isn't necessary, but if you have a bunch of disks and get down to about drive letter P: and Q:, things start to get a little confusing.

If anyone has any suggestions on how to make this tutorial more helpful, let me know.

Lastly, I did not create these drivers or discover this process. I took my information from several sources and created this tutorial.

Sources:
http://www.getusb.info/usb-hack-turn-a-usb-stick-into-a-hard-drive-or-local-disk/
http://chdk.setepontos.com/index.php?topic=2332.0
http://www.ehow.com/how_5941768_make-flash-drive-local-disk.html

Disclaimer:
I am not responsible for any lost data or damages that occur to your computer or SD card. The steps in this tutorial are not harmful, but failure to follow the directions listed has the potential to harm your machine.
 

Attachments

  • USB_LocalDisk.zip
    7.3 KB · Views: 3,648
Last edited:

lavero.burgos

Senior Member
Mar 5, 2011
2,836
1,391
Looks nice, thanks. Can't test but i would like to read some feedback about this.

Ah maybe you could change Mount Multiple SDcard to Mount Multiple SDcard Partitions.

~ Veronica
 

Redman247

Member
May 1, 2009
5
1
Nice guide you have written here, the main problem windows users have (unlike *nix users) is that an easier way needs to be found to flip the RMB (Removable Media Bit) on the thumb drive so it is recognized as HHD. I am currently researching this, if a solution exists then this would be applicable to all windows versions 32/64 bit and make our lives considerably easier.

EDIT///

Found a 64bit Hitachi cfdisk driver here h t tp : / / hardforum.com /showthread.php?t=1655684, haven't had a chance to test it yet since I am in class on my 32 bit laptop. (sorry I can't post url yet, I have to up my post count still.)

Attached file. ;)
 

Attachments

  • cfadisk-x64-1.zip
    3.5 KB · Views: 1,922
Last edited:
  • Like
Reactions: GLunPy

Solar.Plexus

Senior Member
Jan 29, 2012
1,279
319
Nice guide you have written here, the main problem windows users have (unlike *nix users) is that an easier way needs to be found to flip the RMB (Removable Media Bit) on the thumb drive so it is recognized as HHD. I am currently researching this, if a solution exists then this would be applicable to all windows versions 32/64 bit and make our lives considerably easier.

EDIT///

Found a 64bit Hitachi cfdisk driver here h t tp : / / hardforum.com /showthread.php?t=1655684, haven't had a chance to test it yet since I am in class on my 32 bit laptop. (sorry I can't post url yet, I have to up my post count still.)

Attached file. ;)



Nice work! I'm not able to test this right now as I'm out of town and away from my desktop, but I definitely will try this next week.
 

Redman247

Member
May 1, 2009
5
1
On a similar note, I am learning that to flip the RMB will require a mass production tool. The good news is that doing so will allow it to be read as a HDD no matter what windows machine you plug it in to (no need for cfdisk!) the bad news is that there is no mass production tool that covers all drives, it varies from manufacture to manufacture.
 

Solar.Plexus

Senior Member
Jan 29, 2012
1,279
319
On a similar note, I am learning that to flip the RMB will require a mass production tool. The good news is that doing so will allow it to be read as a HDD no matter what windows machine you plug it in to (no need for cfdisk!) the bad news is that there is no mass production tool that covers all drives, it varies from manufacture to manufacture.

Your .zip was corrupt, so I attached a new one in this post and here is the originial source, too:
http://hardforum.com/showthread.php?t=1655684&highlight=cfadisk

@Everyone, be aware that in order to make this work on Windows 7 x64, you must either:
a.) Find a piece of software to sign the driver.
OR
b.) Disable the driver signing manually.

There's more information in the source thread.

Again, DO THIS AT YOUR OWN RISK. I may or may not add a section to this tutorial for the 64-bit OS.
 

Attachments

  • cfadisk-x64-1-1.zip
    3.5 KB · Views: 1,217

digixmax

Senior Member
Jan 17, 2011
2,129
682
Once the device driver is modified to recognize multiple partitions on an SD card, can one still write an ISO image to the SD card?
 

creeve4

Senior Member
Jan 5, 2011
2,867
590
Bountiful
Followed your procedure for my 64GB Transcend Jetflash 500 and now I have this in windows explorer:

Untitled.jpg

How do I get my old driver back???

UPDATE:
I reformatted my SDCard, but the first partition is still only recognized.
 
Last edited:

Solar.Plexus

Senior Member
Jan 29, 2012
1,279
319
Followed your procedure for my 64GB Transcend Jetflash 500 and now I have this in windows explorer:

View attachment 1546701

How do I get my old driver back???

UPDATE:
I reformatted my SDCard, but the first partition is still only recognized.
Hi creeve,

Judging by your screenshot, your SD card is still being read as a removable disk. Looks like something didn't go correctly during the renaming and driver install.
 
  • Like
Reactions: creeve4

moxda00

Member
Dec 31, 2012
5
0
View Last SD Card Partition on Native Nook Tablet Boot Option

Thank you for this. Would anyone know if similarly it is possible to view the last partition with all the storage data from a CM10 SD card when you boot into the native Nook Tablet system? Currently, only the first partition is visible when you boot into the native software.

Thanks!
 

Solar.Plexus

Senior Member
Jan 29, 2012
1,279
319
Thank you for this. Would anyone know if similarly it is possible to view the last partition with all the storage data from a CM10 SD card when you boot into the native Nook Tablet system? Currently, only the first partition is visible when you boot into the native software.

Thanks!

Possibly by editing the vold.fstab file located in /etc to change which SD partitions your tablet mounts.
 

moxda00

Member
Dec 31, 2012
5
0
how to modify vold fstab file entry to show last partition

Possibly by editing the vold.fstab file located in /etc to change which SD partitions your tablet mounts.

Thank you! I will try it, but is there any potential for damage? Below is the entry in my vold.fstab. What do I have to modify to make the fourth partition of my sdcard show up? By the way this is a CM10 SD Card created based on the intructions here: iamafanof.wordpress.com/2012/11/18/cm10-0-jellybean-sdcard-img-for-nook-tablet

If there is some place where I can learn about the setup please point me to it. I am willing to learn!

Thanks again!



## Vold 2.0 Generic fstab
## - San Mehat ([email protected])
##

#######################
##
Regular device mount
##
## Format: dev_mount <label> <mount_point> <part> <lun_syspath> <sysfs_path1...>

## label - Label for the volume

## mount_point - Where the volume will be mounted

## part - Partition # (1 based), or 'auto' for first usable partition.

## perm_mask - Mount permission mask: octal integer or 'auto' for default permission.

## <lun_syspath> - LUN for the device

## <sysfs_path> - List of sysfs paths to source devices

######################


dev_mount sdcard /mnt/sdcard auto auto /devices/platform/usb_mass_storage/lun1 /devices/platform/mmci-omap-hs.0/mmc_host/mmc1

dev_mount media /mnt/media 10 002 /devices/platform/usb_mass_storage/lun0 /devices/platform/mmci-omap-hs.1/mmc_host/mmc0

# TODO: it is preferrable to use 'by-name'

#dev_mount media /mnt/media auto auto /devices/platform/usb_mass_storage/lun0 /dev/block/platform/mmci-omap-hs.1/by-name/media
 

Solar.Plexus

Senior Member
Jan 29, 2012
1,279
319
Thank you! I will try it, but is there any potential for damage? Below is the entry in my vold.fstab. What do I have to modify to make the fourth partition of my sdcard show up? By the way this is a CM10 SD Card created based on the intructions here: iamafanof.wordpress.com/2012/11/18/cm10-0-jellybean-sdcard-img-for-nook-tablet

If there is some place where I can learn about the setup please point me to it. I am willing to learn!

Thanks again!



## Vold 2.0 Generic fstab
## - San Mehat ([email protected])
##

#######################
##
Regular device mount
##
## Format: dev_mount <label> <mount_point> <part> <lun_syspath> <sysfs_path1...>

## label - Label for the volume

## mount_point - Where the volume will be mounted

## part - Partition # (1 based), or 'auto' for first usable partition.

## perm_mask - Mount permission mask: octal integer or 'auto' for default permission.

## <lun_syspath> - LUN for the device

## <sysfs_path> - List of sysfs paths to source devices

######################


dev_mount sdcard /mnt/sdcard auto auto /devices/platform/usb_mass_storage/lun1 /devices/platform/mmci-omap-hs.0/mmc_host/mmc1

dev_mount media /mnt/media 10 002 /devices/platform/usb_mass_storage/lun0 /devices/platform/mmci-omap-hs.1/mmc_host/mmc0

# TODO: it is preferrable to use 'by-name'

#dev_mount media /mnt/media auto auto /devices/platform/usb_mass_storage/lun0 /dev/block/platform/mmci-omap-hs.1/by-name/media


The bold line in your quote is the line you will need to change in order to mount a different partition of your SD card. I do believe if you change the first "auto" you see in that line to whichever partition number you want (4 in your case), and then reboot, you should be good to go.

Also, if you use a text editor such as the one included with ES File Explorer, a backup of the original file will be automatically created, so you always have your original that you can revert back to if need be.
 

moxda00

Member
Dec 31, 2012
5
0
The bold line in your quote is the line you will need to change in order to mount a different partition of your SD card. I do believe if you change the first "auto" you see in that line to whichever partition number you want (4 in your case), and then reboot, you should be good to go.

Also, if you use a text editor such as the one included with ES File Explorer, a backup of the original file will be automatically created, so you always have your original that you can revert back to if need be.

Thanks, I did some research and bumped across this site which explains a bit (i have to remove the http cause I can't post links yet):
android.googlesource.com/platform/docs/source.android.com/+/master/src/tech/storage/index.md#

I'm curious why auto is repeated twice? I will try to just change the first auto for now and see what happens...
 

moxda00

Member
Dec 31, 2012
5
0
How to edit a root file?! Granting SU not working...

The bold line in your quote is the line you will need to change in order to mount a different partition of your SD card. I do believe if you change the first "auto" you see in that line to whichever partition number you want (4 in your case), and then reboot, you should be good to go.

Also, if you use a text editor such as the one included with ES File Explorer, a backup of the original file will be automatically created, so you always have your original that you can revert back to if need be.

I've read around a little and I'm comfortable about trying it. However, I can't seem to modify the vold.fstab file and save the changes. I've tried several file editors including Root Browser. When I tried to save my changes the SU permission request box came up and I granted SU permission. However, I get a message saying: The file cannot be saved.

Please help! It's very frustrating. I've tried 5 different editors (ES, Root Browser, File Expert, etc)
 

moxda00

Member
Dec 31, 2012
5
0
Successfully modified volt.fstab and accessed 4th partition!!

Have you mounted system folder as writeable? Root settings in ES.

Sent from my NookTablet using Tapatalk 2

Thanks! That did it! I just had some trouble finding the flag/option to make root writeable. Once I did I was able to change the mount line as follows: dev_mount sdcard /mnt/sdcard 4 auto /devices/platform/usb_mass_storage/lun1 /devices/platform/mmci-omap-hs.0/mmc_host/mmc1

I rebooted and it worked! Exactly what I wanted.

Thanks Solar.Plexus!
 

Solar.Plexus

Senior Member
Jan 29, 2012
1,279
319
Thanks! That did it! I just had some trouble finding the flag/option to make root writeable. Once I did I was able to change the mount line as follows: dev_mount sdcard /mnt/sdcard 4 auto /devices/platform/usb_mass_storage/lun1 /devices/platform/mmci-omap-hs.0/mmc_host/mmc1

I rebooted and it worked! Exactly what I wanted.

Thanks Solar.Plexus!
No problem, my friend. Glad to see you got it figured out!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 10
    By default, Windows will only mount the first listed partition on any Removable Disk. This is unfortunate for CM7 SD version users since the 4th partition of the SD card is the one used to store user data, which frequently need to be viewed and edited.

    Purpose:

    This tutorial will show you how to modify a Local Disk driver in order for Windows to recognize all the partitions of your SD card.

    So, just a couple of things before we start:

    - This process is NOT limited to work for just SD cards, you can do this for USB flash drives as well.

    - The drivers that we will be modifying are compatible with Windows XP and Windows 7 32-bit. They are NOT compatible with Windows 7 64-bit. If you run 64-bit, you're out of luck. However, if you needed to, you could run Windows in XP mode or use a different OS in a virtual machine.

    Procedure:

    1.) Download the USB_LocalDisk.zip file attached to this post. Or download it from here: http://www.etcwiki.org/wiki/Cfadisk_usb_driver . Or if that link stops working, try doing a google search of xpfiledvr1224_320.zip. They are the same drivers.

    2.) Extract the USB_LocalDisk folder to your desktop.

    3.) Insert the SD card (via MMC reader or USB adapter) that you want to be able to view, and open your computer's Device Manager. Click the dropdown arrow of the Disk drives category and find the entry for your SD card. Please note that this name will probably be different for each person based on the SD card and card reader/adapter you're using.

    1.png


    4.) Right click and select Properties. Choose the Details tab, and select Device Instance Path from the dropdown box. Copy that Value that appears in the box. Again, this value will most likely differ from the one in the screenshot.

    2.png


    5.) Go back to your desktop and open the USB_LocalDisk folder. Open the .inf file called "cfadisk" with Notepad or your favorite Text Editor.

    3.png


    6.) Navigate to the 26th line in the file. Highlight "device_instance_id_goes_here"

    4.png


    Paste your Value from before. Save the text file.

    5.png


    7.) Go back to the Device Manager, right click your SD card, and choose Update Driver Software -> Browse my computer for driver software -> Let me pick from a list of device drivers on my computer -> Have Disk -> Browse. From here, go to your desktop or wherever you saved the driver files and open the cfadisk file. Click Okay.

    8.) Click next. It might give you a message about driver compatibility, but it's fine, just hit yes. At this point, it will begin installing the drivers. Once again, you might be informed that the driver isn't signed. Don't worry about it, just choose Install this driver anyway. Now it should finish the installation.

    9.) If all goes well, your SD card partitions should now be mounted separately in the Local Disk section of My Computer.

    10.) You might want to consider renaming the different partitions to help you remember which is which. Again, this isn't necessary, but if you have a bunch of disks and get down to about drive letter P: and Q:, things start to get a little confusing.

    If anyone has any suggestions on how to make this tutorial more helpful, let me know.

    Lastly, I did not create these drivers or discover this process. I took my information from several sources and created this tutorial.

    Sources:
    http://www.getusb.info/usb-hack-turn-a-usb-stick-into-a-hard-drive-or-local-disk/
    http://chdk.setepontos.com/index.php?topic=2332.0
    http://www.ehow.com/how_5941768_make-flash-drive-local-disk.html

    Disclaimer:
    I am not responsible for any lost data or damages that occur to your computer or SD card. The steps in this tutorial are not harmful, but failure to follow the directions listed has the potential to harm your machine.
    1
    Nice guide you have written here, the main problem windows users have (unlike *nix users) is that an easier way needs to be found to flip the RMB (Removable Media Bit) on the thumb drive so it is recognized as HHD. I am currently researching this, if a solution exists then this would be applicable to all windows versions 32/64 bit and make our lives considerably easier.

    EDIT///

    Found a 64bit Hitachi cfdisk driver here h t tp : / / hardforum.com /showthread.php?t=1655684, haven't had a chance to test it yet since I am in class on my 32 bit laptop. (sorry I can't post url yet, I have to up my post count still.)

    Attached file. ;)
    1
    Followed your procedure for my 64GB Transcend Jetflash 500 and now I have this in windows explorer:

    View attachment 1546701

    How do I get my old driver back???

    UPDATE:
    I reformatted my SDCard, but the first partition is still only recognized.
    Hi creeve,

    Judging by your screenshot, your SD card is still being read as a removable disk. Looks like something didn't go correctly during the renaming and driver install.
    1
    IMPORTANT!
    Do NOT install this on a 64-bit machine! Do not even install the 64-bit version. It will stop you from booting into Windows. To put it into simple words, if you are using 64bit/x64, do not install the 32-bit or 64-bit version driver provided in this thread.

    Just recovered my PC, and now I am able to use it again.

    All the best.