iPXE "Boot from hard disk" not working with RAID.
-
Hi,
I have couple of Dell PowerEdge T150 that are used as FOG clients. They have dualboot (WS2022 and Ubuntu Server).
WOL, imaging and restoring works perfectly, but I can’t get booting from PXE menu working.I tried different exit options and I managed to get Windows Boot Manager working with rEFInd, BUT I need to boot to grub because of dual boot. Booting without FOG works as expected (into GRUB).
Could it be issue that disk is seen as RAID Controller in UEFI and FOG expects eg. SATA device?
Thanks,
PFilip -
@PFilip said in iPXE "Boot from hard disk" not working with RAID.:
imaging and restoring works perfectly, but I can’t get booting from PXE menu working.
I managed to get Windows Boot Manager working with rEFInd,
I need to boot to grub because of dual boot.
Booting without FOG works as expected (into GRUB).
Could it be issue that disk is seen as RAID Controller?
I’ll answer the last question first. No. If you were able to boot the target OS at all then its not a raid controller issue.
We need to make a distinction with the issue between FOS Linux (a.k.a bzImage) and iPXE. The fog iPXE menu is managed by iPXE so bzImage/FOS Linux is not in scope. I know you did not mention FOS Linux, so I wanted to remove that from the equation because you said it images fine.
Why refind is working is it is configured to find “windows” and boot it out of the box.
What you need is for iPXE to chain load grub.efi from the first partition so that the grub menu starts up correctly so you can dual boot.
I don’t know off the top of my head if a custom chain load command can be used to boot grub.efi. I know in concept what needs to be done though.
-
This post is deleted! -
Thanks for clarifying on iPXE and FOS Linux.
@george1421 said in iPXE "Boot from hard disk" not working with RAID.:
Why refind is working is it is configured to find “windows” and boot it out of the box.
I tried configuring refind to boot grub and it partially works.
Grub shows and I can boot windows from it, but when booting Ubuntu Server I geterror: failed to install protocols
even though I manually installed grub with --disable-shim-lock and disabled secure boot.
Looks like it’s not secure boot related, but more like driver issue and I probably should try that iPXE chain load thing.@george1421 said in iPXE "Boot from hard disk" not working with RAID.:
What you need is for iPXE to chain load grub.efi from the first partition so that the grub menu starts up correctly so you can dual boot.
I guess that I need to modify default.ipxe?
Could you direct me?