Sunday, June 22, 2008

Making a Multi Boot CD with UBCD


well friends most of u must be familiar with the best boot troubleshooting tool u can have,that is the ultimate boot CD(UBCD)

it's a sys administrators dream CD considering the variety of offline tools it combines to rectify and recover ur unbootable computer and comes in just 115MB image file.
you can find BIOS flahing utility,BIOS password crackers,benchmarking tools,filesystem reading tools,hard disk wiping tools,anti virus tools,hard disk installatioin and error checking tools etc..
so i was just wondering wouldn't it be great to just combine the windowsXP installation and a few of the Linux live distros into the ubcd to have an even more useful disc at ur disposal and thus i hit upon this idea....here's the procedure:

Ading the windowsXP installation
1. Extract the ubcd files from the iso (using magicISO or ultraISO or ny such prog)
2. Copy all the files from the Xp installation CD into the root of the ubcd(ie /ubcd/) .there are a few hidden files as well so just make sure u copy them too!
3. Get windowsXP boot image frm here:

4. From wxp10.zip copy w2ksect.bin, win51 and win51ip(if not present) to the root of ubcd and of course from the correct version of windowsXP,pro or home
5.delete BOOTCAt.bin and BOOTIMG.bin
7. In UBCD/custom/custom.cfg add the entry for winxp installation

LABEL recovery
MENU LABEL XP Recovery Console
KERNEL /w2ksect.bin
APPEND



that's it!!u just added windowsXP to the UBCD list of user-defined tools

now just compile the ISO image with help of UBCD2ISO tool located in UBCD\tools from the DOS prompt


Adding linux live distros
linux live distros are pretty useful if u want to boot into ur unbootable computer for backing up data or if u need urgent accesss to some files so i have also considered adding them to the UBCD.i personally added SLAX and BACKTRACK3 To the UBCD.slax is a simple live linux distro and u'll easily get used to it's simple but powerful inteface.u can access all ur drives ur media fies,documents and even burn them as backup
bactrack3 is interesting live distro just for penetration testing(can b used for hacking wi-fi nets as well) was just new to it but thought i shud try it!
------------------------------------------------------------------------------------------------------------


1.First extract the content of both Slax and UBCD to your harddisk. I am assuming the content of slax is in c:\slax, while the content of UBCD is in c:\ubcd.
2.from the c:\slax\boot folder copy vmlinuz to c:\ubcd\boot\slax

then copy c:\slax\boot\initrd.gz to c:\ubcd\boot\slax.gz
3.copy the SLAX folder from the slax image to c:\ubcd
4..Edit "c:\ubcd\custom\custom.cfg" with a text editor:
LABEL Slax
MENU LABEL Slax
KERNEL /boot/slax
APPEND initrd=/boot/slax.gz ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;telinit~4 changes=/slax/

if u want to run slax off the RAM


LABEL Slax2RAM
MENU LABEL Slax2RAM (loads slax to ram)
KERNEL /boot/slax
APPEND initrd=/boot/slax.gz ramdisk_size=6666 root=/dev/ram0 rw copy2ram autoexec=xconf;telinit~4


4.that's it.now just recompile the iso image using the inbuilt UBCD2ISO tool in UBCD\tools from dos prompt


u can combine the two as well
just do the steps i mentioned for wndowsXP installation and then the steps for slax except the editing of the ubcd\sustom\custom.cfg file. then finally just edit the custom.cfg file exactly like mine


MENU INCLUDE /menus/defaults.cfg
LABEL back MENU LABEL ..
KERNEL menu.c32

APPEND /menus/main.cfg


LABEL WindowsXP installation

MENU LABEL install WindowsXP by divyaprakash
KERNEL /w2ksect.bin
APPEND

LABEL Slax
MENU LABEL Slax

KERNEL /boot/slax
APPEND initrd=/boot/slax.gz ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;telinit~4 changes=/slax/

LABEL Slax2RAM MENU
LABEL Slax2RAM loads slax to ram(min 512MB)

KERNEL /boot/slax APPEND initrd=/boot/slax.gz ramdisk_size=6666 root=/dev/ram0 rw copy2ram autoexec=xconf;telinit~4


0 comments: