Update:
This works with latest version – ubuntu 12.10
This works with latest version – ubuntu 13.04
This works with latest version – ubuntu 12.04
If you are installing ubuntu using pxeboot, you may not get networking, try this fix.
Once you are done setting-up PXE Server, you might need few OS booting from network / pxe for rescue purpose.
Ubuntu can be configured to boot from network & can be used for system rescue.
Following is the procedure to boot Ubuntu using PXE.
Mount ubuntu live iso on pxe server
mkdir /mnt/iso
mount ubuntu-10.04-desktop-i386.iso /mnt/iso
Create nfs share for ubuntu & copy all the content of live cd to it
mkdir /nfs-share/ubuntu -p
cp -rfva /mnt/iso/* /nfs-share/ubuntu/
cp -rfva /mnt/iso/.disk /nfs-share/ubuntu/
Enter following in /etc/exports
/nfs-share/ubuntu/ *(no_root_squash,rw,async)
Apply changes
exportfs -rv
Enter following in /tftpboot/pxelinux.cfg/default
LABEL Ubuntu-10.04 kernel /tftpboot/images/ubuntu/vmlinuz append boot=casper netboot=nfs nfsroot=NFSSERVER:/nfs-share/ubuntu initrd=/tftpboot/images/ubuntu/initrd.lz |
Copy initrd and vmlinuz from Ubuntu live cd to tftpboot
cd /nfs-share/ubuntu/casper
cp vmlinuz initrd.lz /tftpboot/images/ubuntu/
Pingback: blog @ pablocases.com » Setup Ubuntu PXE netbooting