Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: UEFI boot NetBSD?

> On Tue, Oct 10, 2017 at 03:03:22AM +0000, Thomas Mueller wrote:
> > Is it currently possible to boot newer versions of NetBSD in UEFI mode?

> -8 and -current should work, but the installer has not yet been updated
> to reflect it.

> > How would the boot/load code know where to find the root partition to boot?
> FreeBSD and NetBSD use different GUIDs for the root partition type.
> AFAICT the bootloader itself does not offer manual selection for
> multiple root  partitions, but you could use boot.cfg statements or
> special kernels with hard wired root device to select between them.
> Martin

If I try to boot /usr/mdec/bootx64.efi or bootia32.efi, these files might be copied to EFI system partition, so I would not be at the NetBSD kernel yet.

So how would the load or boot code find the kernel?

I might not need the root partition hard-wired; I could boot (kernel) -a .


Home | Main Index | Thread Index | Old Index