Results 1 to 3 of 3

Thread: Booting Live images with PXE

  1. #1
    Join Date
    Oct 2007
    Kubuntu 13.10 Saucy Salamander

    Booting Live images with PXE

    I've recently started experimenting with booting/installing over a network using PXE and a TFTP server (I use my router as the DHCP server). Overall, it is working fine, but when I boot recent Live images, the desktops are unable to access the internet. This occurs using the 11.10 and 12.04 beta images of Ubuntu, Kubuntu and Xubuntu, but not with 11.04, and it does not occur when booting the alternate install (text-mode) versions of these distros.

    My question is thus: Is there a parameter I'm missing that is needed to allow more recent Live editions to access the internet? My PXELINUX menu entries for the Live versions look like this:

    LABEL ubuntulive
         MENU LABEL Ubuntu 64-bit (Live)
         KERNEL ubuntulive/casper/vmlinuz
         INITRD ubuntulive/casper/initrd.lz
         APPEND root=/dev/nfs boot=casper netboot=nfs nfsroot=  quiet splash
    LABEL ubuntulive32
         MENU LABEL Ubuntu 32-bit (Live)
         KERNEL ubuntulive32/casper/vmlinuz
         INITRD ubuntulive32/casper/initrd.lz
         APPEND root=/dev/nfs boot=casper netboot=nfs nfsroot=  quiet splash
    LABEL kubuntulive
         MENU LABEL Kubuntu 64-bit (Live)
         KERNEL kubuntulive/casper/vmlinuz
         INITRD kubuntulive/casper/initrd.lz
         APPEND root=/dev/nfs boot=casper netboot=nfs nfsroot= quiet splash
    LABEL xubuntulive
         MENU LABEL Xubuntu 32-bit (Live)
         KERNEL xubuntulive/casper/vmlinuz
         INITRD xubuntulive/casper/initrd.lz
         APPEND root=/dev/nfs boot=casper netboot=nfs nfsroot=  quiet splash
    The Kubuntu entry above works as it is using files from an 11.04 disc.

  2. #2
    Join Date
    Oct 2010
    Lubuntu 13.10 Saucy Salamander

    Re: Booting Live images with PXE

    What i found to get internet on a PXE boot server setup, my server has two interfaces, one on the internal or PXE network, with its own DHCP, NFS, and TFTP server, and the other interface hooked up to the internet. Manually set your internal interface to a static IP address, and your external interface to just dhcp, or automatic. Edit your DHCP server so that it gives external DNS servers, then set up a NAT translator.

    For some odd reason, i cannot find the tutorial i have used. It was really simple and it works well. Anyway, do some googling. I do remember that it uses IPtables.
    "In a world without walls and fences, who needs Windows and Gates?"

  3. #3
    Join Date
    Dec 2011

    Re: Booting Live images with PXE

    The problem is in the upstart of the init script. The way to get around it is pretty simple, but annoying.

    open a terminal
    sudo nano /etc/network/interfaces
    Change the line “iface eth0 inet manual” to “iface eth0 inet dhcp”
    press CTRL-X
    press y
    press enter
    then run
    sudo /etc/init.d/networking restart

    The reason this is annoying, is because the changes WILL NOT STAY, and you have to do it every single time.

Tags for this Thread


Posting Permissions

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