Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Feb 2020 21:16:36 +0100
From:      Vincent DEFERT <20.100@defert.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: how to set usb key bootable
Message-ID:  <e66a0bec-ad3c-6c4f-53e9-ed4f49858d72@defert.com>
In-Reply-To: <mailman.20534.1582485428.21074.freebsd-questions@freebsd.org>
References:  <mailman.20534.1582485428.21074.freebsd-questions@freebsd.org>

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

You need to add the following line to /boot/loader.conf:

vfs.mountroot.timeout="10"

(and check the device name in /etc/fstab)

Cheers,

Vincent


On 23/02/2020 14:53, tech-lists@zyxst.net wrote:
> Hello,
>
> I'm trying to make a GPT-formatted usb stick bootable and despite looking in
> the handbook, I cannot find an example using this. The context is a wholly
> freebsd-12-stable system. No dual-boot. The reason I want the usb key is to
> experiment with various configs in a safe environment. The key is 32GB, on it
> I've made an 8GB swap partition and have installed freebsd to the remaining
> space.
>
> It all installed OK but now when I go into the bios and select the key to
> boot, it gets looked at then proceeds to load the normal HD environment as it
> would if the key was not plugged in at all.
>
> I suspect something needs to be added in the config on the key to make it
> bootable. Can anyone tell me what that would be please? I know that with MBR
> one has a flag, somewhere. It's normally turned on as part of the install. I
> don't know where though. Is it the same with GPT ?
>
> thanks,




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e66a0bec-ad3c-6c4f-53e9-ed4f49858d72>