Current-Users archive

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

Re: 10.0 BETA: How to boot using UEFI or grub



On Sun, Dec 25, 2022 at 04:17:26PM -0800, Jim Bernard wrote:
> set -e
> 
> # grub-mkconfig helper script.
> 
> echo "menuentry 'NetBSD boot loader' --class netbsd --class os {
> 	chainloader (hd0,gpt1)/EFI/netbsd/bootx64.efi
> }"

Thanks. That helped. What I did was to append the following to
/etc/grub.d/40_custom and run update-grub.

# Added below this
menuentry "NetBSD" {
set root=(hd0,gpt1)
chainloader /efi/netbsd/bootx64.efi
}

-- 
Mayuresh


Home | Main Index | Thread Index | Old Index