A720IS help - page 2 - General Help and Assistance on using CHDK stable releases - CHDK Forum

A720IS help

  • 11 Replies
  • 9650 Views
Re: A720IS help
« Reply #10 on: 05 / March / 2008, 20:20:13 »
Advertisements
I used a virtual machine with windows to make the card bootable following this howto (in Spanish!!) so it was quite easy to follow :)
--
Alejandro

Re: A720IS help
« Reply #11 on: 09 / March / 2008, 00:36:09 »
Look what I've found in the wikia:

Quote from: Wikia
  • Start a terminal, if you haven't done so already
  • Determine the location of your card, it is usually something like /dev/sdx. If the card is mounted, you can determine the location from the mount command. Make sure you pick the right one! Replace the x in /dev/sdx appropriately.
  • Make sure your card is unmounted (umount /dev/sdx1)
  • Now, you need to alter the partition's bootsector. There are two ways to do this. This guide assumes hexedit is used, though you can use any hex editor. Keep in mind that, if you do not see FAT12 or FAT16 around 0x36 (decimal 54) in the hex editor, you probably picked the wrong drive. Do not overwrite anything in that case.

         
1. Directly
  • Open your SD card's FAT partition in hexedit: hexedit /dev/sdx1
  • Go to offset 0x40 (decimal 64) and type BOOTDISK in ASCII mode.
  • Save (Ctrl-X in hexedit) and quit.


2. Indirectly
  • First, extract the bootsector like this: dd if=/dev/sdx1 of=BootSector_G9.bin bs=512 count=1
  • Copy the saved file, so you have a backup: cp BootSector_G9{,_bootable}.bin
  • Open the copy in a hex editor: hexedit BootSector_G9_bootable.bin
  • Go to offset 0x40 (decimal 64) and type BOOTDISK in ASCII mode.
  • Save (Ctrl-X in hexedit) and quit.
  • Upload the bootsector to the card again: dd if=BootSector_G9_bootable.bin of=/dev/sdx1 bs=512 count=1
--
Alejandro

 

Related Topics


SimplePortal © 2008-2014, SimplePortal