Quick and dirty partition table repair?
Michael D. Setzer II
mikes at kuentos.guam.net
Sun Sep 11 15:37:01 UTC 2011
On 11 Sep 2011 at 10:55, Tom Horsley wrote:
Date sent: Sun, 11 Sep 2011 10:55:51 -0400
From: Tom Horsley <horsley1953 at gmail.com>
To: Fedora List <users at lists.fedoraproject.org>
Subject: Quick and dirty partition table repair?
Send reply to: Community support for Fedora users
<users at lists.fedoraproject.org>
<mailto:users-request at lists.fedoraproject.org?subject=unsubscrib
e>
<mailto:users-request at lists.fedoraproject.org?subject=subscribe
>
> 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
>From my understanding, an extended partition is not a partition
that can be directly mounted. Rather it contains the other
partitions that are within it. You can see that /dev/sdb5 and
/dev/sdb6 are the logical partitions within the extended partition.
With basic partitions, you have the 4 physical partitions than can
be the first one, but you can also make an extended partition that
can the have logic partitions.
I'm not an expert on all parition options, but in being the
maintainer of the g4l project have worked with a number of things.
Hope that helps.
>
> 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).
> --
> users mailing list
> users at lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
+----------------------------------------------------------+
Michael D. Setzer II - Computer Science Instructor
Guam Community College Computer Center
mailto:mikes at kuentos.guam.net
mailto:msetzerii at gmail.com
http://www.guam.net/home/mikes
Guam - Where America's Day Begins
G4L Disk Imaging Project maintainer
http://sourceforge.net/projects/g4l/
+----------------------------------------------------------+
http://setiathome.berkeley.edu (Original)
Number of Seti Units Returned: 19,471
Processing time: 32 years, 290 days, 12 hours, 58 minutes
(Total Hours: 287,489)
BOINC at HOME CREDITS
SETI 11219722.255013 | EINSTEIN 6513470.039851
ROSETTA 3598070.767356 | ABC 8010113.015091
More information about the users
mailing list