Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Dec 2018 14:43:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 222425] GPT broken after "gpart backup ada0 | gpart restore -F ada1"
Message-ID:  <bug-222425-227-YzUVhVz6zy@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-222425-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-222425-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222425

--- Comment #12 from chris@cretaforce.gr ---
=E2=80=8BThe 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 y=
ou
can use this command to do it in live system:

sysctl kern.geom.debugflags=3D16

Another user in freebsd forum report this:

MBR + UFS --- OK
GPT + UFS --- NO
GPT + ZFS --- OK

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-222425-227-YzUVhVz6zy>