Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Has anyone ever managed to boot a Live CD via PXE?


    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
    Heres what I have in /var/lib/tftpboot/livecd

    # ls -lR /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?

  2. #2
    Just Joined!
    Join Date
    Nov 2007
    San Diego
    This is an interesting idea. I read about a school booting an image over the network for each student ID, or PC, but I don't remember how it was done.

    I don't think PXE was designed to boot a full OS. That's why it's called "Preboot" in the name Preboot eXecution Environment.

  3. #3
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Here's a how-to setting up a PXE boot server for Debian, but it should be applicable for other Linux systems as well.

    Setting up a server for PXE network booting
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts