Dual partitions are only required when using cards larger than 4G in cameras released prior to 2011. The use of the STICK : Simple Tool for Installing CHDK utility to create dual partition CHDK cards is recommended over the method described on this page.
This page describes a method of setting up a bootable partition on an SDHC card and installing CHDK. Complete information about configuring an SD card for use with CHDK can be found on the CHDK Wiki : Prepare your SD card page.
Install or unzip unzip the following pieces of software
- CardTricks-144-SFX.exe available at: http://savedonthe.net/download/78/CardTricks-144-SFX.exe
- PartitionWizard_6.exe available at: http://download.cnet.com/Partition-Wizard-Home-Edition/3000-2094_4-10962200.html?part=dl-6285158&subj=dl&tag=button
- MBRfix.zip available at: http://www.sysint.no/products/Download/tabid/536/language/en-US/Default.aspx
Steps to configure the SD Card
- Format the SD card using your camera to wipe card clean of any/all partitions
- Make sure you've checked Low-level format
- Insert your SD card into your PC's card reader
- Launch Partition Wizard
- Delete the primary FAT32 partition on card (entire card should be formated as FAT32)
- note: Partition Wizard does not perform actions until you click the Apply button
- Create new Primary 16 MB FAT partition (will be a FAT12 filesystem)
- Format remaining unallocated space as a Primary FAT32 partition
- Ignore warning that windows only able to see first partition. We'll deal with that later.
- You can quit Partition Wizard now
- Run CardTricks
- Select card (16 MB partition should be only thing visible/mounted)
- Click "Make Bootable" button
- You can quit CardTricks now
- Copy "DISKBOOT.BIN" file from chosen CHDK build to your card
- Open a command prompt with Administrator privileges.
- Navigate to where you unziped MBRFix.zip
- Determine what drive number the card reader is.
- Once you've determined what number is your SD Card Continue to the next step
- Method 1: count the number of drives shown under Computer in Explorer (example: drive C: = 0, drive D: = 1, drive F: card reader = 2)
- Method 2: run: "mbrfix /drive X driveinfo" where X is the drive you want to look at.
- type: "mbrfix /drive X /partition 1 setpartitiontype 0"
- Where X is the drive number of the card reader
- You can now quit CMD
- This sets the 16 MB partition as unknown and thus invisible to Windows
- To revert this change you can run "mbrfix /drive X /partition 1 setpartitiontype 1"
- Remove card from reader
- Insert card into reader.
- The second partition should should now becomes visible (same drive letter)
- Copy CHDK folder in CHDK zip file (if applicable) to the card
- Create a new folder on card named "DCIM"
- Create a new folder in /DCIM named "100CANON"
- Remove card from reader
- Lock the card
- Put card in camera and turn on. Camera should boot up and show CHDK splash screen.
If camera says "Card Locked" then something above was not done correctly. Repeat procedure carefully.