gpart may also be useful.
http://en.wikipedia.org/wiki/Gpart


On Sunday 16/01/2011 at 5:13 pm, Brian Wall  wrote:
> On Sun, Jan 16, 2011 at 1:28 PM, Ubu Sumner <ubusum at ymail.com> wrote:
>>
>>
>> I ran Partition Magic on a family member's single boot XP machine, 
>> changing an empty logical partition to an active-primary partition, 
>> and it didn't take. Lost the partition table.
>
> If all you've done is whack the partition table, but didn't reformat
> or otherwise change the data in the filesystem, use 'testdisk' in
> linux to hunt down the partition boundaries and write out the new
> table.  Once the new table is written, viola, the filesystems appear.
>
> I've been here before, and testdisk saved my butt :-)
>
> Brian
>
> _______________________________________________
> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
> tclug-list at mn-linux.org
> http://mailman.mn-linux.org/mailman/listinfo/tclug-list
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mn-linux.org/pipermail/tclug-list/attachments/20110116/acb0a876/attachment.htm