Date: Thu, 21 Sep 2017 15:46:27 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 222425] GPT broken after "gpart backup ada0 | gpart restore -F ada1" Message-ID: <bug-222425-8-Hk9PjxbrlC@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-222425-8@https.bugs.freebsd.org/bugzilla/> References: <bug-222425-8@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=222425 --- Comment #5 from Andrey V. Elsukov <ae@FreeBSD.org> --- (In reply to chris from comment #4) > I run: > > gpart backup ada0 | gpart restore -F ada1 > true > /dev/ada1 > gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ada1 So, it partition table is still here after `true > /dev/ada1`, this means that before reboot you have correct partition table. And this means that gptboot by some cause thinks that GPT at the boot moment is wrong. I assume, that when you return back the booting from ada0 in the BIOS, partition tables on both disk are good? I.e. `gpart show` shows all partitions without CORRUPT word. Can you try to write gptboot from 10.3? I.e. `gpart bootcode -b /boot/pmbr -p /10.3/boot/gptboot -i 1 ada1` where /10.3/boot/gptboot - is bootcode from 10.3. -- 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-8-Hk9PjxbrlC>
