NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: [Solved] Re: Cannot boot, was: Re: Can't install NetBSD to ffs2 partition, no errors
On Fri, 7 Oct 2022 at 11:45, Ottavio Caruso
<ottavio2006-usenet2012%yahoo.com@localhost> wrote:
>
> On Fri, 7 Oct 2022 at 12:05, Ottavio Caruso
>
> Recap: on my system (hd0,gpt2) is the second partition containing all
> the EFI boot files (NetBSD, Linux and Windows); (hd0,gpt5) is the
> NetBSD partition.
>
> Steps on Linux:
>
> - Become root;
> - Add these lines to /etc/grub.d/40_custom
>
> menuentry "NetBSD" {
> insmod part_gpt
> insmod chain
> set root=(hd0,gpt5)
> chainloader (hd0,gpt2)/EFI/boot/bootx64.efi
> }
>
> # update-grub2
> # reboot
>
> The chainloader will go and find the "bootx64.efi" file in the second
> partition. No need to have an efi dedicated partition in the NetBSD
> wedge.
>
> A "NetBSD" entry will appear on the Grub splash screen.
"set root=(hd0,gpt5)" is not necessary.
menuentry "NetBSD" {
insmod part_gpt
insmod chain
chainloader (hd0,gpt2)/EFI/boot/bootx64.efi
}
--
Ottavio Caruso
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
Home |
Main Index |
Thread Index |
Old Index