[olug] lost partition table

Jay Swackhamer Jay at RebootTheUser.com
Tue Jul 15 20:50:45 UTC 2008


You should just have to put back the partition table.

fdisk /dev/sdc
p #prints partition table to see whats there.
t # change type

#If there is only one partition, it will be autoselected.

83 # linux
p  # verify it's what you want
w  # write/quit



-- 
Jay Swackhamer
Reboot The User
13416 A Street
Omaha, NE 68144
402-933-6449
Hours: 7pm-11pm Wed-Fri, 5pm-9pm Sat.
http://www.reboottheuser.com
http://www.cafepress.com/rtu
http://stores.ebay.com/RebootTheUser
http://www.hotr.com


Quoting Mr Scsi <mrscsi at gmail.com>:

> I'm sure this must have been discussed somewhere along the way, but I'm so
> mad at myself I can't think clearly.
>
> I ran an upgrade this weekend and have 3 drives. sda, sdb are / and /home.
> sdc was reserved as a full copy of /home.
>
> Disk druid marked sdc as an unallocated lvm PV but never formated it, only
> changed the partition table so I'm sure the data is still there.
>
> How would I go about resetting it to ext3 format without losing all the data
> so I can mount it?
> Is there a was to recover the data natively in linux?
>
>
> Any howto's, pointers and blatent hand holding will be useful as the spousal
> unit is PO'd that I lost 3 years of pictures.
>
>
> thanks
> Andy
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> http://lists.olug.org/mailman/listinfo/olug
>






More information about the OLUG mailing list