How to boot from GPT partition without "bootme" attribute?
Lev Serebryakov
lev at FreeBSD.org
Tue Oct 30 18:37:14 UTC 2018
I have disk with GPT scheme and three partitions:
p1 - freebsd-boot
p2 - freebsd-ufs
p3 - freebsd-ufs
pmbr is installed on this disk, and gptboot is installed on p1. Both p2
and p3 contains valid FreeBSD installation, with /boot/loader, kernel,
and everything.
I have attribute "bootme" set on p3, but not on p2.
What should I do to boot from p2?
I've tried to interrupt gptboot and override its choice:
0:ad(0p3)/boot/loader
with
0:ad(0p2)/boot/loader
After that loader, loaded from p2, loads kernel from p3 and boots
system from p3!
If I have MBR, I could override "active" slice in boot0 MBR loader
interactively.
Is it analogous feature for GPT?
--
// Lev Serebryakov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20181030/f897d91f/attachment.sig>
More information about the freebsd-stable
mailing list