From: Harald W. <hwe...@gm...> - 2008-05-22 05:58:50
|
Hello, >Interesting. Now, we know, that coLinux and dd.exe can't read this >partition type 0x8e. But why? Exist any other "read" for such type of >drive? I don't know of such processes. It's an almoust freshly setup Windows XP Home SP2 without special processes or hacks. When Windows was installed, only hda1 and hda2 were partitioned, the remaining hard disk was unpartitioned space. Later, the space was partitioned using the Debian installer. >New idea: >Use coLinux 0.8.0 and the "whole disk" as > > scsi0=disk,\\?\Device\Harddisk0\Partition0 > >This is an other driver inside Linux kernel. You should see partitions >sda3, sda5 and so, directly after boot in the kernel messages. It does not work directly this way... scsi0 : Cooperative Linux SCSI Adapter scsi 0:0:0:0: Direct-Access coLinux CODISK 1.01 PQ: 0 ANSI: 5 coscsi0: unable to open device! rc: 1 coscsi0: unable to open device! rc: 1 coscsi0: unable to open device! rc: 1 coscsi0: unable to open device! rc: 1 sd 0:0:0:0: [sda] READ CAPACITY failed sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x00 sd 0:0:0:0: [sda] Sense not available. sd 0:0:0:0: [sda] Write Protect is off sd 0:0:0:0: [sda] Mode Sense: 1f 00 10 08 sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA sd 0:0:0:0: [sda] Attached SCSI disk colinux:/tmp# dd if=/dev/sda of=test.img bs=512 count=1 0+0 records in 0+0 records out 0 bytes (0 B) copied, 0 seconds, Infinity B/s colinux:/tmp# dd if=/dev/sda3 of=test.img bs=512 count=1 dd: opening `/dev/sda3': No such file or directory But with a slight modification, it works really fine: scsi0=disk,\Device\Harddisk0\Partition0 scsi0 : Cooperative Linux SCSI Adapter scsi 0:0:0:0: Direct-Access coLinux CODISK 1.01 PQ: 0 ANSI: 5 sd 0:0:0:0: [sda] 781422768 512-byte hardware sectors (400088 MB) sd 0:0:0:0: [sda] Write Protect is off sd 0:0:0:0: [sda] Mode Sense: 1f 00 10 08 sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA sd 0:0:0:0: [sda] 781422768 512-byte hardware sectors (400088 MB) sd 0:0:0:0: [sda] Write Protect is off sd 0:0:0:0: [sda] Mode Sense: 1f 00 10 08 sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 sda8 > sd 0:0:0:0: [sda] Attached SCSI disk ...and all partitions are visible and can be used inside coLinux, even LVM works! Thanks a lot! Regards, Harald |