Disk /dev/sda doesn't contain a valid partition table

Issues related to hardware problems
Post Reply
Gagnrath12
Posts: 3
Joined: 2013/10/01 19:18:05

Disk /dev/sda doesn't contain a valid partition table

Post by Gagnrath12 » 2013/10/01 19:21:52

I ran the following command

# fdisk -l | grep Disk
Disk /dev/sda doesn't contain a valid partition table
Disk /dev/sda: 146.8 GB, 146815737856 bytes
Disk /dev/sdb: 146.8 GB, 146815737856 bytes

Is there a way to fix this without losing data or is a full re-install required?

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: Disk /dev/sda doesn't contain a valid partition table

Post by gerald_clark » 2013/10/01 19:44:21

Show the output of 'fdisk -l'

What is sda ?

Gagnrath12
Posts: 3
Joined: 2013/10/01 19:18:05

Re: Disk /dev/sda doesn't contain a valid partition table

Post by Gagnrath12 » 2013/10/01 20:10:16

Disk /dev/sda: 146.8 GB, 146815737856 bytes
255 heads, 63 sectors/track, 17849 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sda doesn't contain a valid partition table

Disk /dev/sdb: 146.8 GB, 146815737856 bytes
255 heads, 63 sectors/track, 17849 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 10709 86020011 83 Linux
/dev/sdb2 10710 17849 57352050 83 Linux

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: Disk /dev/sda doesn't contain a valid partition table

Post by gerald_clark » 2013/10/01 20:22:07

Looks like you switched your drive order in the BIOS,

You still did not tell us what sda is supposed to be.

Gagnrath12
Posts: 3
Joined: 2013/10/01 19:18:05

Re: Disk /dev/sda doesn't contain a valid partition table

Post by Gagnrath12 » 2013/10/01 20:46:25

Sorry about that. The boot drives (yes drives) are sda1 and sdb2. Not sure how the drives got into this state as there is nothing I am aware of that audits who did partition changes and when.

Post Reply