Autoboot with 8GB and HDHacker Possibillity - page 9 - General Help and Assistance on using CHDK stable releases - CHDK Forum supplierdeeply

Autoboot with 8GB and HDHacker Possibillity

  • 143 Replies
  • 148495 Views
Re: Autoboot with 8GB and HDHacker Possibillity
« Reply #80 on: 06 / June / 2008, 23:11:40 »
Advertisements
Quote from: bmwman91
Hey, great instructional!  I can tell that this is the route to go with, but alas I cannot quite get things working properly.  I follow the steps without errors, EXCEPT:

Step 8.  This does not happen.  Based upon executing "aefdisk32 3 /show" I can see that the partitions are all proper before I run Step 7.  However, after using BB to change the partition type to 00h, "aefdisk32 3 /show" reports the 16MB partition I created as beibng 0MB and empty.  So, somehow it is being wiped out.  Any hints here?  I suspect that this is the crux of my problems.
It is actually not wiped out. aefdisk32 doesn't treat 00h partitions right assuming that if the type is 0 then the partition is gone. Because of the same reason you have to use Beeblebrox to change the type to 0. If you run Beeblebrox then you'll see that partition is there and if you change the type back to 6 then your content will be visible. Seems like the problem is with the camera which doesn't support two partitions.

*

Offline kinematic

  • *
  • 10
  • Canon EOS 50D - Former Powershot S3 and S5 owner
Re: Autoboot with 8GB and HDHacker Possibillity
« Reply #81 on: 12 / June / 2008, 15:01:03 »

I could also mount the extended partition as fat, but for some reason, it gave me disk full error when trying to write in it. After I made the cloned partition and mounted it, writing also worked fine. Not sure why, maybe something in my system limits the access beyond certain range, when accessing partition marked as extended.

Using dd shows something like this must be happening:
# dd if=/dev/sdd1 of=/dev/null
2+0 records in
2+0 records out
1024 bytes (1,0 kB) copied, 0,00251586 s, 407 kB/s

dd if=/dev/sdd3 of=/dev/null
12338+0 records in
12338+0 records out
6317056 bytes (6,3 MB) copied, 3,21901 s, 2,0 MB/s

I've been reading this thread and others attempt this, and been trying to do the same on my Mac. Using BSD and fdisk should I not be able to do this. However that said, it sounds like you're both talking in a whole other language?

What would the steps be? I've managed to format two partitions in FAT-16 and FAT-32, and get a boot disk working but can't get my S5 to recognize the second partition.

I've tried to use fdisk with my limited knowledge of such things to change the partition ID. I thought I was getting somewhere, but still stuck with the camera defaulting to the first partition. I'm using AllBest build and it works to a point. So now I just need to figure out how to access the other 7.9 GBs of my 8 GB card.

I guess what I'm really asking is how do I use fdisk? I got it to the point of using the edit command to edit partition 1 of in my case /dev/disk1s1

Any help would be great and then I'd rewrite the help on how to do this on a Mac if it succeeds.








*

Offline Cola

  • *
  • 4
  • SD630 with CHDK 0.9.7-719
Re: Autoboot with 8GB and HDHacker Possibillity
« Reply #82 on: 27 / June / 2008, 14:24:06 »
Thanks DataGhost for the instruction and the hints of the process. I spent three evenings trying to figure out how to make my new 8GB card work with CHDK and S5IS. First I tried the method described on this page, but unfortunately it didn't work. Then I tried to play with aefdisk32, but the problem is that when you change the partition type to 0x0 aefdisk32 wipes out the whole partition data instead of just changing the type. Saving the data to a file, changing it and then restoring didn't work with aefdisk32 either - the restore function apparently doesn't work properly. Hence I spent some time finding an app which will just change the partition type and I ended up with Beeblebrox NT. And then everything was finally in place. Below is a simple instruction:

0. Get all of the software needed for the setup.
- aefdisk32.exe - to create partitions
- Beeblebrox NT - to change partition type
- bootable.exe - to make card bootable
- CHDK firmware - actual CHDK

1. Unzip all downloads, install Beeblebrox.

...

10. Enjoy your CHDK on a FAT32 formatted card!

In the future if you need to change CHDK you will have to run Beeblebrox NT again and change the type of the first partition back to 6, make all the changes and then change it again to 0.

Hope this instruction helps.

Thanks for these clear and simple instructions.  I tried to multipartition my 8GB Extreme III Sandisk SDHC card but it seems my camera, SD630, doesn't recognize cards over 2GB.  Gives me the error:

"Memory Card Error.  Card is locked"  Even though it isn't.

Just wanted to let you know that I was able to follow your instructions without any problems on my Windows XP Pro with SP3.  Thanks.

Re: Autoboot with 8GB and HDHacker Possibillity
« Reply #83 on: 12 / July / 2008, 12:27:06 »
If anyone is still reading this thread and makes it this far, there is an installation package in the latest release of SDM that makes creating, partitioning, formatting and swapping partitions extremely easy for Windows users.

Check out:

StereoData Maker

It works and is simple to use.

Try it. You'll like it! :D
~~~~~~~~~~~~~~~~~~~~~

<")%%%><<


Re: Autoboot with 8GB and HDHacker Possibillity
« Reply #84 on: 18 / July / 2008, 12:44:27 »
Hi folks,

S3is:
I can confirm that this two-partition solution _works_ perfectly here with a 8GB SDHC card directly booting into CHDK in the Canon S3is (used fdisk and mkfs.vfat as tools under linux as described above in this thread).

SD1000 / Ixus70:
It seems _not to work_ though in the Canon SD1000 / Ixus70 :-( ... CHDK boots happily from the tiny partition, but stays there, not recognizing the large partition - maybe that little gem does not support multi-partitions? (The camera itself can use the 8GB SDHC card fine though without directly booting CHDK, and do the firmware update "on the run" if its all on one partition.)

Cheers,
Niklas

*

Offline wind

  • *
  • 11
Re: Autoboot with 8GB and HDHacker Possibillity
« Reply #85 on: 19 / July / 2008, 08:49:02 »
Camera: SD870 (IXUS860)
       Can the SD870 actually boot from one partition and store data on the other?

       IXUS860 currently don't support multipartition cards.

       I try my 8Go SD on ixus850, doesn't work.  Apprently it doesn't support multipartition cards.


No no, now IXUS860 support multipartition cards.

See more here:

http://chdk.setepontos.com/index.php/topic,1950.0.html

Re: Autoboot with 8GB and HDHacker Possibillity
« Reply #86 on: 22 / July / 2008, 03:46:40 »
I have made 8GB card with autoloading CHDK feature

http://bbs.pcpop.com/080705/3219307-3.html
« Last Edit: 22 / July / 2008, 03:51:10 by come from china »

Re: Autoboot with 8GB and HDHacker Possibillity
« Reply #87 on: 22 / July / 2008, 03:53:43 »
??


Re: Autoboot with 8GB and HDHacker Possibillity
« Reply #88 on: 29 / July / 2008, 17:32:05 »
question about SD-1000 and dual partitions on 16GB card: 

according to earlier post in this thread, SD-1000 cannot read dual partitions.  I made 2 partitions on card already (manually), and got the SD-1000 to autoboot, but it writes image only to 1st tiny partition, and as expected, it doesn't see the big 2nd partition.  however other posts suggest using SDM (Stereo Data Maker) and its handy utility to do the partioning/formatting for you - and i noticed the utility, SDMINSTE.EXE, claims it CAN make the SD-1000 recognize dual partitions.  so which is it?  [see feature list here: 'StereoData Maker' v.1.71 Released]

i don't want to use SDM, i just want a ability to run scripts on my camera with CHDK autoboot. does SDMINSTE do something special to make camera able to see both partitions?  if so, can i take advantage of that using Allbest or whatever, i.e. without using SDM? 
A650 IS, SD1000

*

Offline wind

  • *
  • 11
Re: Autoboot with 8GB and HDHacker Possibillity
« Reply #89 on: 06 / August / 2008, 13:33:19 »
Ixus 860is / SD870, tested 32GB SDHC card  + 16GB SDHC card   - both working OK!



It was not so easy, so I borrow manual from SHINK here (thanks to him)





and put my discoveries in it:


0. Get all of the software needed for the setup.
- aefdisk32.exe - to create partitions
- Beeblebrox NT - to change partition type
- Cardtricks134 - to make card bootable
- The collaborative CHDK build / Juciphox branch -  actual CHDK, which support SDHC card! (<-only this suitable for Ixus 860is / SD870)


1. Unzip all downloads, install Beeblebrox.

2. Start CMD.EXE in the folder where the programs were unzipped.

3. Find SD card drive number (aefdisk32 X /show, replacing X by 1, 2, ..... until you find your card). In my case the number was 5.

4. Create new partitions. Example: aefdisk32 5 /delall /pri:16:6 /pri:0:c /activate:1. This command deletes all current partitions from the card, creates first 16MB FAT16 partition and whatever is left on the card as FAT32 partition, activates partition 1.

5. POSSIBLY COULD BE SKIPPED TO STEP 6: Find the drive letter assigned to the first partition and format it. (You can use either command line format or do it through Disk Management GIU). In my case the letter was I: for the drive.

6. Run CARDTRICSK134, find the drive letter assigned to the card (eg. i:), and then click: Format as FAT and then Make Bootable
e your drive bootable using bootable.exe. Example: bootable.exe i:.

6. Copy DISKBOOT.BIN to your drive.

7. Close CMD and Disk Management. Run Beeblebrox NT. Choose your drive from the drop-down (CAREFULL!! otherwise bye bye your hard disk data). Since Beeblebrox NT starts numbering from 0 the number of your drive should be the one you found with aefdisk32 minus 1, which is 4 in my case. Change the type of the first partition on this drive to 00 (from 01, probabbly) and save the changes. Then close Beeblebrox NT.

8. Take the card off your card reader, put it back.

9. Windows now will see your second partition (still unformated, so you see only eg i:) and show the first as unallocated space. Format second partition (same as step 5, you should se 8GB, 16GB or 32GB space, FAT32 file system)

9. Take the card out of the reader and lock it.

10. Enjoy your CHDK on a FAT32 formatted card!

11. If it does not work, unlock your card, copy to your second(=big) partiton rest of the directory structures and files, which are in The collaborative CHDK build ZIP file
 

In the future if you need to change CHDK you will have to run Beeblebrox NT again and change the type of the first partition back to 6, make all the changes and then change it again to 0.

Hope shkin does not mind I have borrowed his manual.

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal