Pxe booting ubuntu live cd

Stuart Murray-Smith eight32 at gmail.com
Mon Oct 26 10:25:25 UTC 2009


> I want to have pxe to boot a customized live cd.
> I am success using nfs server with pxe.
> pxelinux.cfg is
>
> LABEL linux
>         kernel liveimage/vmlinuz
> append root=/dev/nfs boot=casper netboot=nfs nfsroot=server:/path/to/livecd
> ip=dhcp initrd=liveimage/initrd.gz quiet splash --
> PROMPT 0
> TIMEOUT 0
>
> but i now i want to load the source from same tftp server instead of using
> nfs server.I placed the livecd source in tftpboot dir.
> I tried changing pxelinux.cfg to
> LABEL linux
>         kernel liveimage/vmlinuz
> append ip=dhcp initrd=liveimage/initrd.gz boot=casper root=/dev/ram0
> ramdisk=51200 quiet splash rw --
> PROMPT 0
> TIMEOUT 0
>
> or root = /dev/rd/0 or root = /dev/sda1, but is throws error saying
>
> missing module(cat /proc/modules , ls /dev)
>
> "ALERT! /dev/ram0 does not exist. Dropping to a shell!" and then drops
> me to a busybox shell.
>
> Has anyone else gone through a setup similar to this?
> Any help would  be appreciated.
> Thanks in advance.

Hi Upendra

>From where did you get your initrd.gz? Some initrd images are
configured to boot from CDR, and some from the net, etc. Also, older
kernels used initromfs, while newer kernels use initramfs. You may
customise your PXE boot requirement by remastering your initrd.gz, see
here:

https://wiki.ubuntu.com/CustomizeLiveInitrd

HTH

Stu@




More information about the ubuntu-users mailing list