Comment 8 for bug 112402

Revision history for this message
Steve (igloocentral) wrote :

I found the metadata on the last sector of the disk, but I don't know how to decode it and figure out whether it matches the format that dmraid is expecting for pdc...

ubuntu@ubuntu:~$ sudo cfdisk -Ps /dev/sda
Partition Table for /dev/sda

               First Last
 # Type Sector Sector Offset Length Filesystem Type (ID) Flag
-- ------- ----------- ----------- ------ ----------- -------------------- ----
 1 Primary 0 64259 63 64260 Dell Utility (DE) None
 2 Primary 64260 70702064 0 70637805 HPFS/NTFS (07) Boot
 3 Primary 70702065 312496379 0 241794315 W95 Ext'd (LBA) (0F) None
 5 Logical 70702065 91168874 63 20466810 HPFS/NTFS (07) None
 6 Logical 91168875 91184939 63 16065 Linux (83) None
 7 Logical 91184940 95393969 63 4209030 Linux swap / So (82) None
 8 Logical 95393970 136359719 63 40965750 Linux (83) None
   Logical 136359720 312496379 0 176136660 Free Space None

ubuntu@ubuntu:~/$ sudo dd if=/dev/sda of=myfile skip=312496379
3621+0 records in
3621+0 records out
1853952 bytes (1.9 MB) copied, 0.108353 seconds, 17.1 MB/s
ubuntu@ubuntu:~/$ cat myfile | hexdump -C > sector.txt