2016-02-09, 20:22
Hi
I'm trying to boot an aoe disk from a diskless laptop.
I'm using PXE boot to load ipxe.
file: /tftpboot/pxelinux.cfg/default
LABEL ipxe
MENU LABEL iPXE - chainload iPXE
KERNEL ipxe/undionly.kpxe
After Ctrl+B I manually run the commands dhcp && sanboot aoe:e0.0
and the system boots up fine.
Now i would like to do this via an embedded script:
file: myscript.ipxe
#!ipxe
dhcp net0
sanboot aoe:e0.0
So I build the undionly.kpxe like this:
make undionly.kpxe EMBED=myscript.ipxe
Trying to boot the undionly.kpxe with embedded script results
in following error message:
Invalid or corrupt kernel image.
What else could I try from this point to get it booting without the need for typing commands?
I'm trying to boot an aoe disk from a diskless laptop.
I'm using PXE boot to load ipxe.
file: /tftpboot/pxelinux.cfg/default
LABEL ipxe
MENU LABEL iPXE - chainload iPXE
KERNEL ipxe/undionly.kpxe
After Ctrl+B I manually run the commands dhcp && sanboot aoe:e0.0
and the system boots up fine.
Now i would like to do this via an embedded script:
file: myscript.ipxe
#!ipxe
dhcp net0
sanboot aoe:e0.0
So I build the undionly.kpxe like this:
make undionly.kpxe EMBED=myscript.ipxe
Trying to boot the undionly.kpxe with embedded script results
in following error message:
Invalid or corrupt kernel image.
What else could I try from this point to get it booting without the need for typing commands?