From: Charles D. <cd...@sp...> - 2005-01-05 01:46:36
|
Interestingly enough, the appropriate device paths to use were not the ones suggested by either diskpart or the Windows dd port. The relevant portion of dd's output reads as follows: \\?\Device\Harddisk0\Partition0 Fixed hard disk media. Block size = 512 \\?\Device\Harddisk0\Partition1 \\?\Device\Harddisk0\Partition2 Fixed hard disk media. Block size = 512 \\?\Device\Harddisk0\Partition3 Fixed hard disk media. Block size = 512 \\?\Device\Harddisk0\Partition4 ...whereas a diskpart "LIST PARTITION" command (on the only hard drive installed on the system) shows the following: Partition ### Type Size Offset ------------- ---------------- ------- ------- Partition 1 Extended 29 GB 8033 KB Partition 2 Logical 29 GB 8064 KB Partition 3 Primary 29 GB 29 GB Partition 4 Primary 15 GB 59 GB <-- desired root Partition 5 Primary 3530 MB 73 GB <-- desired swap ...yet, the "Partition 4" referenced here is only accessible from coLinux as \Device\Harddisk0\Partition2 and the "Partition 5" in diskpart needs to be referred to as \Device\Harddisk0\Partition3. The good news is that it works -- I have a 15GB root partition and a 3.5GB swap partition, just as I wanted, and I'm quite certainly not stomping on my other partitions (which are still mounted and accessible, including after a reboot). The bad news is that I have frankly no clue *why* it works. Enlightenment? |