Booting UBCD from Network (PXE) or as a RIS tool.
Moderators: Icecube, StopSpazzing
Booting UBCD from Network (PXE) or as a RIS tool.
This would be awesome if it could be done. Thanks for any input.
PXE
UBCD-Tools can be made available for PXE boot, just follow this little tutorial (http://www.itstuff.ca/2007/09/pxe-aka-p ... -part.html), where you setup a tftp-server using TFTPD32, a few files of syslinux. Just make sure to get the latest versions and don't care about the win98 images or the boot menu file, you won't need them.
Copy the "chain.c32" file from syslinux to the "PXEServer\TFTPRoot\Boot" directory.
Now extract the files of the ubcd.iso (e.g. with IsoBuster) to a temp folder. Copy the following directories to "PXEServer\TFTPRoot\Boot":
boot (->PXEServer\TFTPRoot\Boot\boot)
images
isolinux
syslinux
Now you need to apply various changes in multiple files (I use UltraEdit) of the original menu in the "menus" folder and put them into the "pxelinux.cfg" folder of your server (PXEServer\TFTPRoot\Boot\pxelinux.cfg):
- remove the .cfg extention from filenames (DOS Command: ren *.cfg *. Use with Caution!)
- make the "default" file look like this:
a) the image "/images/whatever" -> images/whatever
b) the menu files "/menus/whatever" -> pxelinux.cfg/whatever
c) the Includepath in the same manner
for all other files
- create a file named defaults (this will be necessary to figure out how to jump back to the mainmenu from subs, as you will see i did not...)
You won't need any image file in "PXEServer\TFTPRoot\Boot", UBCD Images are used from "PXEServer\TFTPRoot\Boot\boot" and "PXEServer\TFTPRoot\Boot\images" directory. The "chain.c32" file from syslinux was needed to boot the OS from the menue.
Questings @ oliver.bleckmann@freenet.de
Greetings & have fun Oliver Bleckmann.
Copy the "chain.c32" file from syslinux to the "PXEServer\TFTPRoot\Boot" directory.
Now extract the files of the ubcd.iso (e.g. with IsoBuster) to a temp folder. Copy the following directories to "PXEServer\TFTPRoot\Boot":
boot (->PXEServer\TFTPRoot\Boot\boot)
images
isolinux
syslinux
Now you need to apply various changes in multiple files (I use UltraEdit) of the original menu in the "menus" folder and put them into the "pxelinux.cfg" folder of your server (PXEServer\TFTPRoot\Boot\pxelinux.cfg):
- remove the .cfg extention from filenames (DOS Command: ren *.cfg *. Use with Caution!)
- make the "default" file look like this:
- Important Chainges are marked, be sure to correct the path toDEFAULT menu.c32
MENU TITLE Ultimate Boot CD V4.1.1
PROMPT 0
ALLOWOPTIONS 0
MENU MARGIN 0
MENU ROWS 20
MENU COLOR BORDER 37;44 #40000000 #00000000 std
MENU COLOR TITLE 1;33;44 #c00090f0 #00000000 std
MENU COLOR SCROLLBAR 37;44 #40000000 #00000000 std
LABEL mainboard
MENU LABEL Mainboard Tools
KERNEL menu.c32
APPEND pxelinux.cfg/mboard
LABEL harddisk
MENU LABEL Hard Disk Tools
KERNEL menu.c32
APPEND pxelinux.cfg/hdd
LABEL filesys
MENU LABEL Filesystem Tools
KERNEL menu.c32
APPEND pxelinux.cfg/filesys
LABEL others
MENU LABEL Other Tools
KERNEL menu.c32
APPEND pxelinux.cfg/others
LABEL custom
MENU LABEL User-defined Tools
KERNEL menu.c32
APPEND pxelinux.cfg/custom
LABEL bootdisks
MENU LABEL DOS/Linux Boot Disks
KERNEL menu.c32
APPEND pxelinux.cfg/bootdsk
LABEL boothdd0
MENU LABEL *Boot First Hard Disk
KERNEL chain.c32
APPEND hd0
LABEL boothdd1
MENU LABEL *Boot Second Hard Disk
KERNEL chain.c32
APPEND hd2
a) the image "/images/whatever" -> images/whatever
b) the menu files "/menus/whatever" -> pxelinux.cfg/whatever
c) the Includepath in the same manner
for all other files
- create a file named defaults (this will be necessary to figure out how to jump back to the mainmenu from subs, as you will see i did not...)
- your other files should look like this, critical examples:DEFAULT menu.c32
MENU TITLE Ultimate Boot CD V4.1.1
PROMPT 0
ALLOWOPTIONS 0
MENU MARGIN 0
MENU ROWS 20
MENU COLOR BORDER 37;44 #40000000 #00000000 std
MENU COLOR TITLE 1;33;44 #c00090f0 #00000000 std
MENU COLOR SCROLLBAR 37;44 #40000000 #00000000 std
- Finally you should share the "dosapps" folder to be able to access it through the network using the "net use \\computer\share" command.LABEL back
MENU LABEL ..
KERNEL menu.c32
APPEND pxelinux.cfg/main
LABEL mboard1
MENU LABEL CPU Tests
KERNEL menu.c32
APPEND pxelinux.cfg/mboard1
LABEL stresscpu
MENU LABEL StressCPU 20021024 (requires CPU with SSE)
KERNEL boot/cpustres
APPEND initrd=boot/cpustres.gz ubcd=stresscpu
LABEL ibmft
MENU LABEL Feature Tool V2.05 (IBM/Hitachi)
KERNEL memdisk
APPEND initrd=images/ibmft.igz
You won't need any image file in "PXEServer\TFTPRoot\Boot", UBCD Images are used from "PXEServer\TFTPRoot\Boot\boot" and "PXEServer\TFTPRoot\Boot\images" directory. The "chain.c32" file from syslinux was needed to boot the OS from the menue.
Questings @ oliver.bleckmann@freenet.de
Greetings & have fun Oliver Bleckmann.