Quick and dirty partition table repair?

Marvin Kosmal mkosmal at gmail.com
Sun Sep 11 15:00:48 UTC 2011


On Sun, Sep 11, 2011 at 7:55 AM, Tom Horsley <horsley1953 at gmail.com> wrote:

> I've been rearranging a disk with gparted and it left
> me with this:
>
>   Device Boot      Start         End      Blocks   Id  System
> /dev/sdb4            2048   976773119   488385536    5  Extended
> /dev/sdb5            4096    51204095    25600000   83  Linux
> /dev/sdb6        51206144   976771071   462782464   83  Linux
>
> If I try to mount the partitions at boot time, something
> gets very confused by the extended partition being /dev/sdb4
> instead of /dev/sdb1.
>
> Is there a quick way I can move the 4th primary partition entry
> to the 1st primary partition entry?
>
> Or is a hex edit and extreme care my only hope?
>
> Or maybe it would all be simpler if I just DDed the one partition
> I'm trying to keep to a file, reinitialize the disk from scratch,
> and then DD it back (making sure to make the partition the identical
> size).
> --
>


What does
sdb1, sdb2,and sdb3 look like?

sdb5 should start at 2048,

The end of sdb5 and start of sdb6 should be one number different..

I see problems.

Marvin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20110911/aa852285/attachment.html 


More information about the users mailing list