Re: Swapping the number of 2 partitions

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

 




On 10/16/2014 03:32 PM, Cameron Simpson wrote:
On 16Oct2014 12:55, jd1008 <jd1008@xxxxxxxxx> wrote:
I am trying to avert having to dd out 2 partitions to external drive
and repartition and dd them back in.

What I am trying to do is renumber partition 1 as partition 2
and partition 2 as partition 1.

Is this possible? parted and fdisk and sfdisk do not seem to provide
such operations.

sfdisk has a dump option. I would think you could dump the partition table and reorder the partition records and reload it. I can't see any reason that would not work.

Cheers,
Cameron Simpson <cs@xxxxxxxxxx>

What's fair got to do with it? It's going to happen. - Lawrence of Arabia
OK, it's just that I did not want to wreck the drive, as I was not sure
it would accomplish what I wanted.
So, P2 will be renamed P1
and P1 will be renamed (renumbered) P2.
Will this affect the other partitions P3 and P4 in any way?
Such as, will it affect their starting offsets? Will the system
no longer be able to identify them by their existing UUID?


--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[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