[Fedora-livecd-list] [PATCH] Add support for pxeboot

Orion Poplawski orion at cora.nwra.com
Mon Feb 11 21:19:35 UTC 2008


Richard W.M. Jones wrote:
> The attached patch adds support for turning a liveCD ISO image into a 
> network-bootable PXE image.
> 

Thanks for the work.  However, for this to be of any real use we're 
going to need some way to integrate this into an existing PXE boot and 
/tftpboot configuration.  What I would like to be able to do is specify 
the tftp root directory, the subdirectory to put the kernel and initrd 
images, and a name for the boot file.  In my case I would do something like:

/tftpboot/ks/live/devel/minimal/{vmlinuz0,initrd0.img}

/tftpboot/ks/pxelinux.cfg/live.devel-minimal :

DEFAULT pxeboot
TIMEOUT 20
PROMPT 0
LABEL pxeboot
         KERNEL /live/devel/minimal/vmlinuz0
         APPEND initrd=/live/devel/minimal/initrd0.img 
root=/livecd-fedora-minimal-200802111321.iso rootfstype=iso9660 
rootflags=loop
ONERROR LOCALBOOT 0

And also have it not try to create pxeboot.0 and pxelinux.cfg.

So, something like:

livecd-iso-to-pxeboot --tftproot=/tftpboot/ks 
--imagedir=live/devel/minimal  --bootfile=live.devel-minimal 
livecd-fedora-minimal-200802111321.iso

to create the above.


-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion at cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com




More information about the livecd mailing list