Re: Quick and dirty partition table repair?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11 Sep 2011 at 10:55, Tom Horsley wrote:

Date sent:      	Sun, 11 Sep 2011 10:55:51 -0400
From:           	Tom Horsley <horsley1953@xxxxxxxxx>
To:             	Fedora List <users@xxxxxxxxxxxxxxxxxxxxxxx>
Subject:        	Quick and dirty partition table repair?
Send reply to:  	Community support for Fedora users 
<users@xxxxxxxxxxxxxxxxxxxxxxx>
	
<mailto:users-request@xxxxxxxxxxxxxxxxxxxxxxx?subject=unsubscrib
e>
	
<mailto:users-request@xxxxxxxxxxxxxxxxxxxxxxx?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@xxxxxxxxxxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxxx                            
  mailto:msetzerii@xxxxxxxxx
  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@HOME CREDITS
SETI        11219722.255013   |   EINSTEIN     6513470.039851
ROSETTA      3598070.767356   |   ABC          8010113.015091

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux