Network (PXE) booting the Ultimate Boot CD

If you have a tutorial or tip related to the UBCD, why not share it with other users here?

Moderators: Icecube, StopSpazzing

Locked
Message
Author
supanatral
Posts: 1
Joined: Fri Jul 17, 2009 7:11 am

Network (PXE) booting the Ultimate Boot CD

#1 Post by supanatral » Fri Jul 17, 2009 9:12 am

I setup a PXE server and started falling in love with it because it made my life so easy with diagnosing PC's, that that is needed is plugging the computer into the network, selecting it to boot off of network and very quickly it comes up with a menu asking which tool I would like to run. This means no more forgetting CD's in peoples computers and having to burn 50 of them and have them all slowly find their way back to you (hopefully).

If you want to do it the easier way, then download PXE Knife. It's setup to boot on PXE and has a pretty good set of utilities. I prefer the UBCD because it has a better variety of utilities and is more supported as well as updated more often (but that hasn’t stopped me from setting both up).

My tutorial assumes that you already have a network boot server setup. If you don’t have a network boot server setup then for Windows users take a look at tftpd32 and for Linux users, look at DRBL. Keep in mind that a PXE server needs to be a DHCP server so make sure that no other dhcp server is running on the network. You can configure it to use a specific nic card if you have two so that DHCP will only run on the one nic card (which is what I’m doing), you can put it on it’s own network or you can disable DHCP on the current DHCP server.

Lets begin!

1. Download the iso of the UBCD: http://www.ultimatebootcd.com/download.html

2. Once you have the iso, you will need to extract it.
Linux: You just need to mount it using the following command:

Code: Select all

mount -o loop -t iso9660 ubcd11.iso /mnt/iso
Windows: I opened the iso up in the winRAR trial and extracted it

3. copy all the files to your PXE boot folder.
Linux: /tftpboot/nbi_img/ (this should be the default directory)
Windows: C:\PXEServer\TFTPRoot (or whichever you selected)

4. Open the following file in a text editor:
Linux: /tftpboot/nbi_img/pxelinux.cfg/default
Windows: C:\PXEServer\TFTPRoot\Boot\pxelinux.cfg\default

5. Add the following lines to the end of the “default” file (this is for Linux and Windows):
LABEL Ultimate Boot CD
MENU LABEL Ultimate Boot CD
Kernel menu.c32
append /menus/main.cfg



This is my first tutorial I've written so thank you for being patient. If you have any suggestions on a better way to word it, let me know. I hope it helped.[/quote]

davzell
Posts: 4
Joined: Sat Oct 24, 2009 3:48 am

#2 Post by davzell » Sat Oct 24, 2009 4:40 am

when i try i have this error ??

Image

Icecube
Posts: 1278
Joined: Fri Jan 11, 2008 2:52 pm
Contact:

#3 Post by Icecube » Sat Oct 24, 2009 6:36 am

5. Add the following lines to the end of the “default” file (this is for Linux and Windows):

Code: Select all

DEFAULT ubcd

LABEL ubcd
MENU LABEL Ultimate Boot CD
KERNEL menu.c32
APPEND /menus/main.cfg 
Download Ultimate Boot CD v5.0: http://www.ultimatebootcd.com/download.html
Use Parted Magic for handling all partitioning task: http://partedmagic.com/

davzell
Posts: 4
Joined: Sat Oct 24, 2009 3:48 am

#4 Post by davzell » Sat Oct 24, 2009 6:54 am

i have do this but in my "default" i have just this:

DEFAULT ubcd

LABEL ubcd
MENU LABEL Ultimate Boot CD
KERNEL menu.c32
APPEND /menus/main.cfg

it's normal ?

Icecube
Posts: 1278
Joined: Fri Jan 11, 2008 2:52 pm
Contact:

#5 Post by Icecube » Sat Oct 24, 2009 9:48 am

By looking at the picture, it seems to me that you don't have a default file in a directory named pxelinux.cfg.

Code: Select all

/pxelinux.cfg/default
I think you also need to copy all .c32 files listed in the /syslinux dir the to the root of your tftp directory (directory that has the pxelinux.cfg dir). You need the .c32 that match your pxelinux.0 version (so from the same Syslinux archive), not the ones included in UBCD.
Download Ultimate Boot CD v5.0: http://www.ultimatebootcd.com/download.html
Use Parted Magic for handling all partitioning task: http://partedmagic.com/

davzell
Posts: 4
Joined: Sat Oct 24, 2009 3:48 am

#6 Post by davzell » Wed Oct 28, 2009 8:16 am

can you send me (or write in the forum) the "default" file to see what look like this file because i'm lost :(

Locked