[syslinux] [gpxelinux] How to use sanboot.c32 to attach a iscsi lun and then boot from CD

Kevin Landreth crackerjackmack at gmail.com
Thu Feb 26 09:32:33 PST 2009


On Thu, Feb 26, 2009 at 9:45 AM, H. Peter Anvin <hpa at zytor.com> wrote:

> Kevin Landreth wrote:
> > gPXE from freedos is a great idea.
> > http://syslinux.zytor.com/wiki/index.php/Sanboot.c32 says it requires
> > gPXELinux.0 so...looks like it would be the only option as to booting
> from
> > CD.
>
> sanboot.c32 should work on top of pxelinux.0 if it is running on top of
> gPXE.
>
> If you want to, say, have a menu running in ISOLINUX, you can use it to
> launch a lkrn build of gPXE.  Currently, you have to embed a script into
> the image which contains the root path, but that is going to change very
> soon and gPXE is going to simply be able to take a command using the
> normal append mechanism.
>
>        -hpa
>

Oh, my bad.  Updated the wiki page to reflect your statements.  And I
completely forgot about lkrn!

So once the patch is in gPXE, it would look something like this?

label sanbootex01
  MENU LABEL [^iscsi] Boot from SAN
  kernel gpxe.lkrn
  append root-path=iscsi:192.168.0.1:
:::iqn.2006-09.com.example.myhost:storage


-- 
Kevin Landreth



More information about the Syslinux mailing list