Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Nov 2020 14:35:25 -0600
From:      Bob Willcox <bob@immure.com>
To:        questions list <freebsd-questions@freebsd.org>
Subject:   Ran gpart bootcode ... now system won't boot
Message-ID:  <20201106203524.GB22730@rancor.immure.com>

next in thread | raw e-mail | index | archive | help
Hi All,

I believe I just hosed up one of my systems to the point that it no longer can boot.
I updated my zroot zfs pool following an uprade of the system from 12.1-stable to
12.2-stable. When I did the 'zpool upgrad zroot' it prompted me to run this command:

gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada0

So, I adjusted the command to be this since my root is on an nvme drive:

gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 nvd0

That ran ok (no errors) however when I now try to boot the system it drops into
BIOS claiming that there is no boot disk.

So, can anyone tell me what I did wrong here and how can I recover from it?

Thanks in advance,
Bob

-- 
Bob Willcox    | It's possible that the whole purpose of your life is to
bob@immure.com | serve as a warning to others.
Austin, TX     |



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20201106203524.GB22730>