Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Nov 2019 18:47:10 +0100
From:      Luciano Mannucci <luciano@vespaperitivo.it>
To:        freebsd-questions@freebsd.org
Subject:   Re: Root filesystem
Message-ID:  <47Jn7s0jZ4z1ftWX@baobab.bilink.it>
In-Reply-To: <47Jh0h1fbfz1ftWV@baobab.bilink.it>
References:  <47Jh0h1fbfz1ftWV@baobab.bilink.it>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 21 Nov 2019 14:55:38 +0100
Luciano Mannucci <luciano@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@sublink.sublink.ORG
 / \  AND POSTINGS        /   WWW: http://www.lesassaie.IT/



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