CHDK always writes to 1st partition? - General Help and Assistance on using CHDK stable releases - CHDK Forum

CHDK always writes to 1st partition?

  • 7 Replies
  • 5088 Views
CHDK always writes to 1st partition?
« on: 30 / June / 2009, 14:24:37 »
Advertisements
I have SD1100 and using ixus80_sd1100-101a-0.9.8-779-full

On my 8GB card I've created 1st partition FAT16 (8MB) and the rest is FAT32.
When SD is write-protected CHDK loads just fine, but pictures are saved to the first small FAT16 partition.

Is this a bug or have I missed something?

Re: CHDK always writes to 1st partition?
« Reply #1 on: 10 / July / 2009, 02:40:58 »
i've got exactly the same behaviour on my SX10 (using sx10-101a-0.9.8-783-full).

my first partition is ~8MB as well (couldn't create a smaller one)
CHDK successfully boots, however pictures are stored to the small partition :(

thanks for any help...


*

Offline fe50

  • ******
  • 3152
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: CHDK always writes to 1st partition?
« Reply #2 on: 10 / July / 2009, 06:32:11 »
Hello & welcome, beaujolais !
On my 8GB card I've created 1st partition FAT16 (8MB) and the rest is FAT32.
When SD is write-protected CHDK loads just fine, but pictures are saved to the first small FAT16 partition.
Is this a bug or have I missed something?
Sorry for the late answer, i've missed this post...

i've got exactly the same behaviour on my SX10 (using sx10-101a-0.9.8-783-full).
my first partition is ~8MB as well (couldn't create a smaller one)
CHDK successfully boots, however pictures are stored to the small partition :(

I guess the 2nd partition is not a PRIMARY one...

--> CHDK wikia, Bootable SD card:
* The small FAT16 partition must be the first partition on the card.
* Both partitions must be "primary" partitions (i.e. no "logical" or "extended" partitions).
* The FAT16 partition doesn't have to be larger than 1 or 2 MB (the only files it needs to hold are
  DISKBOOT.BIN and possibly PS.FIR). The FAT32 partition should, naturally, occupy the rest of the card.
* The FAT16 partition can be made bootable following the instructions below.
* Once CHDK is loaded, it will direct the camera to use the larger FAT32 partition for all storage
  operations. The FAT16 partition will become inaccessible after this, because CHDK and the camera
  can only handle one partition at a time. What this means is that you should place all the
  script/data/etc. files on the large partition, not the small one!

Re: CHDK always writes to 1st partition?
« Reply #3 on: 10 / July / 2009, 07:53:08 »
hi fe50

thanks for your help. you kind of gave me the solution  :)

the 2nd partiotion was "primary", but i had to set the partition type to FAT32 using fdisk (linux). i don't know exactly why i had to set it manually after formatting the partition with FAT32 (mkfs.vfat -F 32 /dev/sdXX command).

thanks


Re: CHDK always writes to 1st partition?
« Reply #4 on: 17 / July / 2009, 14:45:24 »
Hmm, I've tried everything and still the same issue.
I've 8GB card, using ixus80_sd1100-101a-0.9.8-786-full.
I've created 1st partition FAT16, second FAT32 as follows
Code: [Select]
Disk /dev/sdc: 8017 MB, 8017412096 bytes
255 heads, 63 sectors/track, 974 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000207e6                     

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *           1           3       24066    6  FAT16
/dev/sdc2               4         974     7799557+   b  W95 FAT32

The card does indeed auto-boot chdk when write protected, but then the camera sees only the 1st small FAT16 and writes all photos to it.

Any other ideas? Thanks  :-[

*

Offline Jucifer

  • *****
  • 251
  • [A710IS]
Re: CHDK always writes to 1st partition?
« Reply #5 on: 17 / July / 2009, 15:15:15 »
Ixus80 doesn't seem to have multipartition support.

*

Offline fe50

  • ******
  • 3152
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: CHDK always writes to 1st partition?
« Reply #6 on: 17 / July / 2009, 15:21:00 »
Hmm, I've tried everything and still the same issue.
I've 8GB card, using ixus80_sd1100-101a-0.9.8-786-full.
I've created 1st partition FAT16, second FAT32 as follows
...
The card does indeed auto-boot chdk when write protected, but then the camera sees only the 1st small FAT16 and writes all photos to it.

Sorry, the notes from my post avove do not fit for you:
--> The SD1100 (Ixus 80) do NOT have multipartition support !

You can use SD cards up to 4GB with one single partition (FAT16 formated) either with the autoload mechanism (for this the card must also be CHDK-bootable) or the manual loading method.

Cards > 4GB can only be used with manual loading: format the card IN THE CAMERA, copy the CHDK files & start CHDK manually with the "Firmware Update" item from the Canon menu.

You can also create a 4GB partition on a bigger card to use the autoload mechanism (FAT16 & bootable partition), but then you can't access the rest of the card's capacity.

*Edit: Jucifer was faster...
« Last Edit: 17 / July / 2009, 15:24:05 by fe50 »

Re: CHDK always writes to 1st partition?
« Reply #7 on: 17 / July / 2009, 15:26:17 »
Ah  :o ...there are at least 2 hours I'll never get back  :)

...thanks anyway, good job on the CHDK, thanks to all contributors!

Manual auto-load works for me.

Is there multi-partition boot planned for SD1100?


 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal