Post Reply 
 
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
iPXE boot for BIOS images
2016-06-02, 20:25
Post: #1
iPXE boot for BIOS images
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!
Find all posts by this user
Quote this message in a reply
2016-06-03, 16:39
Post: #2
RE: iPXE boot for BIOS images
(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
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)