Ubuntu 9.10 uses initrd.lz instead of initrd.gz, so PXE booting like you did in previous versions does not work.
This article assumes you’ve already downloaded the iso and have a working PXE boot server.
First, copy the contents of the iso to a directory we can work with
mkdir /tmp/910mount -o loop ubuntu-9.10-desktop-i386.iso /tmp/910
cp -r /tmp/910 /tftpboot
Convert initrd.lz to initrd.gz
cd /tftpboot/910/caspermkdir initrd
cp initrd.lz initrd
cd initrd
lzma -dc -S .lz initrd.lz | cpio -id
rm initrd.lz
find . | cpio –quiet –dereference -o -H newc | gzip -9 > initrd.gz
cp initrd.gz /tftpboot/910/casper
Now add the appropriate lines to pxelinux (Example: /tftpboot/pxelinux.cfg/default)
LABEL Ubuntu 9.10 i386 Unmodified Livecd
KERNEL 910/casper/vmlinuz
APPEND root=/dev/nfs boot=casper netboot=nfs nfsroot=192.168.0.1:/home/tftpboot/910 initrd=910/casper/initrd.gz quiet splash --
Make sure /tftpboot is shared via nfs; in /etc/exports add the following line
/tftpboot/910 192.168.0.0/24(rw,async,no_subtree_check)
Reload the NFS server
/etc/init.d/nfs-kernel-server reload
after i enter in:
find . | cpio –quiet –dereference -o -H newc | gzip -9 > initrd.gz
i get:
cpio: You must specify one of -oipt options.
Try `cpio –help’ or `cpio –usage’ for more information.
WordPress messes up the “-” charachter; please type it in manually and don’t copy/paste. Those are two hypens by the way for “quiet” and “dereference”
Nice instructions except that I am trying something a little different [ and I can’t get it to work yet].
I want to install over http.
I believe that I need the net-boot initrd. This does not seem to exist, do you know how to modify the existing to work over http?
Regards
Thanks a lot for this. I set it up and it’s working great. Now I’m working on a ubuntu boot CD that redirects the console to the serial port.
Here’s the ubuntu live CD with serial port redirection:
http://dimmeria.com/ubuntu-serial-live-cd
Hi, its working fine. But i want to install ubuntu 9.10 Desktop to client machine. currently its booting with live cd option. i want to install
Please help me on this
Thanks
Manoj
Im getting the “PXE-E79 NBP is too big to fit in free base memory” Error!
I was unshure what i must entry instead of pxelinux.0.
I have choosen casper/initrd.gz
Why I’m getting this error? Ther is one gb memory available
You need to use pxelinux.0; that error is because you’re trying to load initrd.gz right away.
I’d suggest reading up more on setting up a PXE boot server
Thanks, worked perfectly. Now I need to do 8.4 LTS and 10.4 LTS: we use these as a testbench against different versions. Kind regards, Jonathan.