It might have something to do with the BIOS/UEFI. There is a reference to Lenovo ThinkCentre M92
p, involving the UEFI in refusing to boot particular OS’s
From
https://www.phoronix.com/scan.php?page=news_item&px=MTIyOTg
[ 1 ]
https://mjg59.dreamwidth.org/20187.html
Yes, the uefi boot on this machines seems to refuse nearly everything expect Windows, unbelieveable. To get a clean FreeBSD 12.2 UEFI Installation on a M92p, I needed following:
- Update to the latest Bios and configure the Bios to UEFI Boot and switch off Legacy Support(CSM).
- Boot the USB FreeBSD Installer. (The USB uefi boot works and seems not to be refused!)
- install the system to a clean disk and use the defaults. (GPT partition table, EFI partition, UFS partition and swap)
- After installation and before rebooting, enter the shell and type in following:
mkdir /mnt1
mount -tmsdosfs /dev/ada0p1 /mnt1
cd /mnt1
efibootmgr -c -L "Windows Boot Manager" -l efi/boot/BOOTx64.efi
- List the boot order with
efibootmgr
.
You should see a new line named "Windows Boot Loader". On my system I got the index "Boot0000".
- We need the index for the last steps, In my case "0":
efibootmgr -a 0
efibootmgr -n 0
- Check your boot list with
efibootmgr
.
I ended with the following:
BootCurrent: 0000
Timeout : 0 seconds
BootOrder : 0000, 000C, 000D, 0003
+Boot0000* Windows Boot Loader
Boot000C* UEFI: IP4 Intel(R) 82579LM Gigabit Network Connection
Boot000D* UEFI: IP6 Intel(R) 82579LM Gigabit Network Connection
Boot0003* Generic Usb Device
cd
umount /mnt1
exit
After reboot enter F12 to view the Boot-Menu. You should see the "Windows Boot Loader" entry, which will hopefully boot your FreeBSD. My system boots perfectly
Just for clarification, I use the System for FreeBSD only! If someone will kill his Windows installation with the above commands, not my fault...