Quick and dirty partition table repair?

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

 



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).
-- 
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