iPXE discussion forum

Full Version: iPXE boot for BIOS images
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all,

I'm trying to get iPXE booting to work for a BIOS image. The image itself works just fine, if I dd to a USB drive it will boot up correctly, but when I PXE boot, I get:

Registered SAN device 0x80
Booting from SAN device 0x80
Lenovo Group Limited

Invalid System Disk
Replace the disk, and then press any key

We used to use memdisk for BIOS image booting but some problems arose a year or so ago and we migrated towards sanbooting, I just added another image recently and it stopped working:

My iPXE configs:

bios-sanboot:

#!ipxe

isset ${target_kernel} || goto missing_targetkernel

set base_url http://bios-url/

chain ${base_url}${target_kernel}

bios-model-name:

#!ipxe

set target_kernel bios/laptop-bios.img

chain bios-sanboot.ipxe

Is there something wrong with my IPXE configs? When I sanboot manually with:

sanboot http://bios-url/laptop-bios.img it gives me the same error.

Specs:
Lenovo Carbon X1 Laptop
Ubuntu OS
Boot Mode Selection: UEFI and Legacy with Legacy First
AFAIK we are using a pretty recent version of IPXE

Any help would be greatly appreciated!
(2016-06-02 20:25)cindy Wrote: [ -> ]set target_kernel bios/laptop-bios.img

Two questions:

What do you get if you run "/sbin/fdisk -l laptop-bios.img"?

What operating system is present on this image? If it's anything other than DOS, then it probably won't be able to boot from a (read-only) HTTP target; you may need to use iSCSI or AoE instead.

Michael
Reference URL's