DISKPART command - Hello, I'm a NEWBIE - HELP!! (Newbies assistance, User Guides and thank you notes) - CHDK Forum

DISKPART command

  • 2 Replies
  • 3303 Views
DISKPART command
« on: 21 / October / 2011, 14:41:16 »
Advertisements
I recently partitioned an 8GB card to boot on my SX20IS (no firmware update option, on the camera) but ran into problems when sdminste.exe would not swap partitions as it’s supposed to (OK, so it’s probably my card reader). I thought I was stuck with an 8GB card that could only use the 2MB partition until I found information referring to the DISKPART command. So here is what I found if it is of use to anyone else with the same problem.
Using the Windows command line (in C:\WINDOWS\SYSTEM32) type DISKPART which will start the utility. The commands to swap partitions are:
List DISK
SEL DISK x (where x is the disk number of the USB drive)
LIS PAR
SEL PAR y (where y is the partition of the USB drive you want to make active)
ACT
DET PAR
EXIT
From what I have read, it should work as a script (using DISKPART SWAPPART.txt – text as above), but doesn’t, so I have to type the commands in each time I want to swap partitions. Can anyone help me with this?

*

Offline SkyWalker9

  • ****
  • 301
  • SX20 IS (fw 1.02b)
Re: DISKPART command
« Reply #1 on: 21 / October / 2011, 16:25:55 »
I recently partitioned an 8GB card to boot on my SX20IS (no firmware update option, on the camera) but ran into problems when sdminste.exe would not swap partitions as it’s supposed to...until I found information referring to the DISKPART command...
Which Windows OS are you using, and did you setup the partitions using sdminste.exe ?

Re: DISKPART command
« Reply #2 on: 22 / October / 2011, 15:42:22 »
Am using windows 7 (Home Premium edition) and used sdminste.exe to set the card up. Everything went as per the instructions and the first time I needed to swap the partitions (using sdminste) it worked. But never worked again (and is still not working).

I tried reinstalling sdminste and when it still didn’t work I thought I had damaged the card and was left with an 8GB card that could only use the 2M partition. Was looking for another way to access the card when I came across the Diskpart command. Searched for it on the site and the only reference I could see was a warning to use it to look at the card but not use it to change anything.

For me it’s the only way to use the card after swapping the partitions in the camera and the minor problem of having to type in the commands is far outweighed by the fact that I can use CHDK on the 8GB card.

I am going to get an 8GB class 10 card (currently using class 4) soon and will note what happens when I set that up.

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal