|
I've got it all working flawlessly. :D
This method is fantastic, as it does NOT touch the MBR/bootsector of any disks.
First, make the necessary modifications to your BackTrack2 files. If you're using a USB stick, I'm assuming you've used something to make it bootable already (ie syslinux), this additional method is just to aid your computer in booting the stick. If you're using a BT2 CD, you'll need to do these edits in the ISO and burn it again.
The first, most important step here is to make a new, blank file simply called LiveCD.sgn Without this, the boot floppy will NOT be able to identify your USB/CD installation.
This next step assumes you have two directories on the root of your BT2 CD/USB - /boot and /BT. We are concerned with /boot. Navigate to /boot/dos and edit the config file. Specifically, edit ramdisk_size=value from 4444 to 40000. This is just to insure you against random freezes when you load your kernel later on. That step is not -completely- necessary, I've had BT2 load sometimes when ramdisk_size=4444 and other times it has hung with the same setting.
Next, download GRUB4DOS 0.4.3, extract one file, grldr. Place this in the root of C:\. Make a new text file here too, call it menu.lst and put the following data in it:
color black/cyan yellow/cyan timeout 30 default 0
# This finds and loads your Windows XP. title Microsoft Windows XP (hd0,0) find --set-root /ntldr chainloader /ntldr rootnoverify (hd0)
#This boots from a floppy disk image situated on the HDD title Boot from BackTrack2 Floppy Image map (hd0,0)/backtrack2-usbfloppy.img (fd0) map --hook chainloader (fd0)+1 rootnoverify (fd0)
Add the following line to your boot.ini file: C:\grldr="GRUB4DOS"
and last and most important of all, you need the modded Wolvix boot floppy (or more specifically, an image of it). I'll outline the modifications here;
Download the original Wolvix Boot Floppy v1.1.0 .img from here: wolvix.org/node/343 Once downloaded, you'll have to access the files somehow... mount a virtual floppy drive, write the image to a real floppy disk etc etc Do what you like. A good virtual floppy drive for WinXP is here chitchat.at.infoseek.co.jp/vmware/vfd.html . Works great.
Anyway, once you can access the files, open autoexec.bat for editing (make sure you can view hidden and system files). Find where /boot/dos is mentioned, and directly under these lines it should say 'wolvix'. Change 'wolvix' to 'BT.bat' in both instances. Save the file.
Now save an image of this floppy, either with RawWriteWin.exe (for real floppy disks), or the virtual floppy drive program I linked to above has an option to save an image of the virtual floppy inbuilt. Place this newly created image file on the C:\ root also, with the name backtrack2-usbfloppy.img
Insert your USB or CD if you haven't already, and reboot. Have your BIOS set to boot from the HDD, choose 'GRUB4DOS' from the boot.ini menu, then the BackTrack2 option from the grub4dos menu. Hit enter when prompted, the rest of the boot process should load from your USB stick automagically :D :D
Have fun Myrak
|
posted 2007-Oct-20, 9pm AEST
edited 2007-Oct-20, 9pm AEST
|