2011年6月1日 星期三

Partition Rescue

fdisk -l -u

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000a826d

Device Boot Start End Blocks Id System
/dev/sda1 63 2120579 1060258+ 83 Linux

cat /proc/partitions
major minor  #blocks  name
8 0 976762584 sda
8 1 23635968 sda1
8 2 1 sda2
8 5 953123840 sda5

hdparm -g /dev/sda1
/dev/sda1:
geometry = 56065/255/63, sectors = 47271936, start = 1906251776

hdparm -g /dev/sda2
/dev/sda2:
geometry = 56065/255/63, sectors = 2, start = 2046

hdparm -g /dev/sda3
/dev/sda3: No such file or directory

hdparm -g /dev/sda4
/dev/sda4: No such file or directory

hdparm -g /dev/sda5
/dev/sda5:
geometry = 118658/255/63, sectors = 1906247680, start = 2048


gpart /dev/sda
Begin scan...

Possible partition(Linux ext2), size(84mb), offset(426321mb)
End scan.

Checking partitions...
Partition(Linux ext2 filesystem): primary
Ok.

Guessed primary partition table:
Primary partition(1)
type: 131(0x83)(Linux ext2 filesystem)
size: 84mb #s(172032) s(873105408-873277439)
chs: (1023/254/63)-(1023/254/63)d (54348/76/1)-(54359/1/42)r

Primary partition(2)
type: 000(0x00)(unused)
size: 0mb #s(0) s(0-0)
chs: (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r

Primary partition(3)
type: 000(0x00)(unused)
size: 0mb #s(0) s(0-0)
chs: (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r

Primary partition(4)
type: 000(0x00)(unused)
size: 0mb #s(0) s(0-0)
chs: (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r




Partition-Rescue HOWTO
http://www.faqs.org/docs/Linux-mini/Partition-Rescue.html

沒有留言: