[Fedora-livecd-list] How to PXE boot a LiveCD ?

Sukesh Nischal sukesh.nischal at gmail.com
Tue Apr 3 10:13:51 UTC 2012


Hi

I'm trying to setup a PXE boot environment to start a LiveCD.

I've setup DHCP/ tftpboot and this has tested fine doing kickstart
installations. Next step is to be able to boot a live cd

Ive created a custom live cd ISO which boots fine from a USB stick.

I then ran livecd-iso-to-pxeboot to generate a tftpboot directory and
merged this with my existing configs.

The problem I'm getting is that the booting stops at 'Cannot open root
device live:/livecd/livecd.iso'

This is the entry I have in /var/lib/tftboot/pxelinux.cfg/default
(amongst other working things)



LABEL livecd
        KERNEL /livecd/vmlinuz0
        APPEND rootflags=loop initrd=/livecd/initrd0.img
root=live:/livecd/livecd.iso debug rootfstype=auto ro liveimg
rd.luks=0 rd.md=0 rd.dm=0


Heres what I have in /var/lib/tftpboot/livecd

# ls -lR /var/lib/tftpboot/livecd/
/var/lib/tftpboot/livecd/:
total 1365096
-rw-r--r-- 1 root root       220 Mar 20 16:58 default
-rw-r--r-- 1 root root 701686594 Mar 20 16:58 initrd0.img
-rw-r--r-- 1 root root     26828 Mar 20 16:58 pxelinux.0
-rw-r--r-- 1 root root 692060160 Mar 20 16:57 livecd.iso
-r--r--r-- 1 root root   4063584 Mar 20 16:58 vmlinuz0


This would be such a useful thing to have working, has anyone actually
got this working? And can anyone see what I'm doing wrong?


More information about the livecd mailing list