Rough UltimateBootCD PXE HowTo

Step-by-Step descriptions of how to do things.
Post Reply
User avatar
^rooker
Site Admin
Posts: 1481
Joined: Fri Aug 29, 2003 8:39 pm

Rough UltimateBootCD PXE HowTo

Post by ^rooker »

I've just managed to run the Ultimate Boot CD (UBCD) over PXE (Debian Squeeze as PXE/DHCP server).
The pxelinux.cfg/default configuration block shown in the forum entry on UBCD about PXE booting didn't work for me.
At all.

Here's roughly what I did:

1) I already had a PXE server up and running.
If you don't, then checkout some HowTos on doing that.

2) Download a syslinux tarball:
You'll find syslinux downloads on the kernel.org servers
I've just used "v4.07" (but you might also try the latest one).
3) Copy certain files from syslinux tarball over to your pxe folders:

Code: Select all

tar -xjvf syslinux-4.07.tar.bz2
cp syslinux-4.07/core/pxelinux.0 /var/tftp/

mkdir -p /var/tftp/com32/modules
mkdir -p /var/tftp/com32/menu
cp syslinux-4.07/com32/modules/*.c32 /var/tftp/com32/modules/
cp syslinux-4.07/com32/menu/*.c32 /var/tftp/com32/menu/
4) Symlink the com32 files you're using:

Code: Select all

ln -s /var/tftp/com32/menu/menu.c32 /var/tftp
ln -s /var/tftp/com32/modules/config.c32 /var/tftp
...
For booting the UBCD, I've done that with the following modules/menus:
cmd.c32, config.c32, linux.c32, menu.c32, vesamenu.c32
5) Mount the UBCD iso-image:
I've mounted the UBCD's ISO image in /var/tftp/iso-mounted/UltimateBootCD-ubcd527:

Code: Select all

sudo mount -o loop ubcd527.iso iso-mounted/UltimateBootCD-ubcd527
6) Add the config in pxelinux.cfg/default:

Code: Select all

LABEL ultimate_boot_cd-527
    MENU LABEL Ultimate Boot CD (v5.2.7)
    KERNEL menu.c32
    APPEND iso-mounted/UltimateBootCD-ubcd527/ubcd/menus/syslinux/main.cfg
7) Symlink the "ubcd" folder of the mounted ISO in PXE's root (=/var/tftp):

Code: Select all

ln -s iso-mounted/UltimateBootCD-ubcd527/ubcd/ /var/tftp/ubcd
This is necessary, because the menu ".cfg" files of UBCD refer to "/ubcd/..." all the time.
Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!
Post Reply