Pages

Saturday, August 9, 2014

How to Make and Format Removable SD Card into two Partitions Windows 7 64x

I wanted to make two partitions on my Removable SD card in Windows 7 but windows only reads the first partition of a removable device.

After an afternoon of failures I have worked out how to flip the Removable Media Bit (RMB) on usb drives and SDHC cards under a 64 bit install of windows 7.

This is based off the Hitatchi Microdrive trick, but I found a 64 bit compiled version of the driver on some german site. I did not make this driver I just found it.

64 bit Driver here
https://drive.google.com/file/d/0B577rnChaaKxbFFya2x6b1VDMk0/edit?usp=sharing

Instructions

Part A
First you need to find the name of your USB or SDHC device
run -> regedit -> navigate to:
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USBSTOR
find the key that matches your device. Right click on the key and click "copy key name"
My SDHC card plugged into a laptop card reader looks like "USBSTORE\Disk&Ven_Multiple&Prod_Card__Reader&Rev_1.00"

Part B
unzip the files above and open cfadisk.inf in notepad.
scroll down to the section [cfadisk_device] you will see the line
%Microdrive_devdesc% = cfadisk_install,IDE\DiskTS64GCF400__________________________ ____20101008

delete everything after the comma so you are left with
%Microdrive_devdesc% = cfadisk_install,
paste your device string starting from USBSTOR\*whatever* into the line just after the comma, no spaces.
you should have something that looks like this
%Microdrive_devdesc% = cfadisk_install,USBSTOR\Disk&Ven_Multiple&Prod_Card__Reader& Rev_1.00
repeat this process for the section immediately below called 
[cfadisk_device.NTamd64]

If you are so inclined you can name your device at the bottom of the file by editing the text in the quotes in the last line after it says 
Microdrive_devdesc = "your device name here"
save the file, you now have a functioning driver.

Part C
You now need to install the driver
Open Device Manager, find your device and chose to update driver.
Tell windows you want to choose your own driver. Point it at your newly saved file.
Windows will bitch and complain that the file is not signed, and not a compatible driver. Proceed anyways.
Once installed you should see the USB device show up as a "Disk Drive"
Reboot

Note: When I rebooted the first time, windows would not load, this was due to the driver being unsigned. When booting hit F8 to enter the bootloader, and choose to disable driver signing. Alternatively you can disable driver signing by doing the following:

run->cmd.exe 
Now type the following
bcdedit.exe -set loadoptions DDISABLE_INTEGRITY_CHECKS
press Enter:
bcdedit.exe -set TESTSIGNING ON
press Enter:

When you reboot, you should find your USB or SDHC device listed as a fixed disk. You can now partition, make it a dynamic disk, install picky programs that wont run on a removable disk etc.

No comments:

Post a Comment