[Bug 222425] GPT broken after "gpart backup ada0 | gpart restore -F ada1"
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Dec 5 14:43:39 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222425
--- Comment #12 from chris at cretaforce.gr ---
The problem is related to:
gpart backup ada1 | gpart restore -F ada0
If after the gpart restore I remove and recreate the freebsd-boot partition
then it works:
gpart delete -i 1 ada0
gpart add -a 4k -t freebsd-boot -s 512k ada0
gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ada0
Keep in mind that you have to use mfsbsd to remove the partition or maybe you
can use this command to do it in live system:
sysctl kern.geom.debugflags=16
Another user in freebsd forum report this:
MBR + UFS --- OK
GPT + UFS --- NO
GPT + ZFS --- OK
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list