NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
I have lost my boot menu
Hi There,
I need your help. I have reinstalled my NetBSD 10_RC1 on a partition of
my GPT partitioned disk. However for some reason, the installation was
unsuccessful when writing the OS sets to the disk. I assume the
installer wanted to write the USB stick accidentally. The phenomena was
that the copy operation was getting more and more time, then stalled.
So, I abandoned the installation and went to the console. There I have
installed manually. Unfortunately I could not install the boot chain.
This means, I have to use my linux's grub2 to start NetBSD now. You can
see my disk layout here:
-bash-5.2# gpt show ld0
start size index contents
0 1 PMBR
1 1 Pri GPT header
2 32 Pri GPT table
34 2014 Unused
2048 262144 1 GPT part - EFI System
264192 33554432 2 GPT part - Linux swap
33818624 134217728 3 GPT part - Linux data
168036352 201326592 4 GPT part - NetBSD FFSv1/FFSv2
369362944 1584160768 5 GPT part - Linux data
1953523712 1423 Unused
1953525135 32 Sec GPT table
1953525167 1 Sec GPT header
-bash-5.2#
The EFI partition for NetBSD is like this:
-bash-5.2# ls -l /boot/efi/EFI/boo-bash-5.2# ls -l
/boot/efi/EFI/boot/bootx64.efi
-r-xr-xr-x 1 root wheel 235690 Nov 15 13:56
/boot/efi/EFI/boot/bootx64.efit/bootx64.efi
I have copied the boot.cfg into the root of the / partition (dk3)
If I want to boot the EFI directly, then it runs the boot program,
however it does not show the menu at all. I can boot only like this:
boot NAME=NetBSD:netbsd
Or, as I mentioned, with GRUB2 directly with the kernel.
So, I want to have the menu back as normally. I hope my description
makes sense for you.
Thank you,
FeZ
Home |
Main Index |
Thread Index |
Old Index