You are not logged in.

#1 2011-08-27 00:52:05

moose
Member
Registered: 2010-12-07
Posts: 6

[SOLVED] Root Partition has disappeared from partition table

My root partition /dev/sda4 has disappeared from my partition table, it doesn't show up from fdisk or from parted or gparted. However I can still mount it from a live cd and all the files and everything are still there... I tried the rescue command from parted and it didnt do anything... the current output from fdisk -l is

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xa8a8a8a8

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   42  SFS
/dev/sda2              14        5112    40956928   42  SFS
/dev/sda3            5112       30402   203136209+  42  SFS

When I list the partition table in parted it looks like this

Model: ATA WDC WD2500BEVS-7 (scsi)
Disk /dev/sda: 250GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
 1      32.3kB  107MB   107MB   primary  ext3         boot
 2      107MB   42.0GB  41.9GB  primary  ntfs
 3      42.0GB  250GB   208GB   primary

My root partition should take up the last ~49 GB

Any help would be appreciated, thanks in advance.

Also I should mention I am posting this from a live cd as my computer will not boot.

Solved by using testdisk from live cd.

Last edited by moose (2011-08-27 02:44:20)

Offline

Board footer

Powered by FluxBB