Root filesystem
Luciano Mannucci
luciano at vespaperitivo.it
Thu Nov 21 17:47:24 UTC 2019
On Thu, 21 Nov 2019 14:55:38 +0100
Luciano Mannucci <luciano at vespaperitivo.it> wrote:
> I know you can tell from which disk to boot at the
> initial prompt by escaping to the prompt and setting a variable; can
> this be saved for next boot?
Apparently not.
According to TFM, "gptboot searches through freebsd-ufs partitions in
the GPT and selects one to boot based on the bootonce and bootme attributes.
If neither attribute is found, /boot/gptboot boots from the first freebsd-ufs
partition."
So no way to make it boot from another disk. To achieve that I need
a boot loader (such as grub), which would do the trick. A bit too
much fuss. I think I will reformat the disk and partition it with
a freebsd-boot partition, that would happily boot if I install the
needed stages with gpart...
Sorry for the noise,
Luciano.
--
/"\ /Via A. Salaino, 7 - 20144 Milano (Italy)
\ / ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250
X AGAINST HTML MAIL / E-MAIL: posthamster at sublink.sublink.ORG
/ \ AND POSTINGS / WWW: http://www.lesassaie.IT/
More information about the freebsd-questions
mailing list