using /sbin/gpart to add GPT volume

Thomas Mueller mueller6727 at bellsouth.net
Tue Oct 11 09:06:38 UTC 2011


I don't think you can use gpart on a slice of an MBR-partitioned disk.

You can run "man gpart" if you didn't already; I didn't see anything to migrate an MBR partition table to GPT.

The older gpt, which NetBSD still uses, can migrate an MBR partition table to GPT.

You could try Roderick Smith's gdisk

http://www.rodsbooks.com/gdisk/

which is found, among other places, on the System Rescue CD

http://sysrescccd.org/

also in sysutils/gdisk in FreeBSD ports tree.

Rod Smith's gdisk can make a wider variety of partition types than gpt or gpart,
and can also migrate an MBR partition table to GPT.


Tom



More information about the freebsd-questions mailing list