1. You need at last an 2GB USB-Stick to put Linuxes and VistaPE including some tools on it.
2. Download the following:
Grub4Dos - Grub4Dos Homepage
GrubUtils - GrubUtil Homepage
3. Unzip the packages of the downloaded archives
4. To install Grub4Dos under Windows you need the grubinst.exe utility from the GrubUtils package.
Grub does not use drive letters (like "c:") or devices (like "/dev/hda") but drive numbers like hd0.
You can find the drive numbers in the diskmangement mmc plugin - the numbers the devices got there are the device numbers.
WARNING: Be sure to install the GRUB bootsector on the correct disk or your local harddisk won't boot anymore!!!
If you know the device number of you USB device:
CODE
grubinst (hd1)
Where hd1 is the USB device.
5. Copy grldr from the Grub4Dos package to the root of your USB device.
6. Create a menu.lst file in the root of you USB device.
My example shows a file booting the following:
QUOTE
Sidux
Sidux Failsafe
GParted
GParted Failsafe
Helix
VistaPE
Boot Local Harddisk
Sidux Failsafe
GParted
GParted Failsafe
Helix
VistaPE
Boot Local Harddisk
CODE
color white/red black/red
default 0
timeout 10
title Sidux
find --set-root /grldr
kernel /boot/sidux.bzi initrd=/boot/sidux.dsk lang=de boot=fll quiet vga=791 fromhd
initrd /boot/sidux.dsk
title Sidux Failsafe
find --set-root /grldr
kernel /boot/sidux.bzi initrd=/boot/sidux.dsk lang=de boot=fll quiet vga=791 fromhd persist dpi=96 xmode=1024x768
initrd /boot/sidux.dsk
title GParted
find --set-root /grldr
kernel /pmagic/bzImage noapic initrd=/pmagic/initrd root=/dev/ram0 init=/linuxrc keymap=de liveusb vga=791 sleep=0 quiet ramdisk_size=25000
initrd /pmagic/initrd
title GParted Failsafe
find --set-root /grldr
kernel /pmagic/bzImage noapic initrd=/pmagic/initrd root=/dev/ram0 init=/linuxrc keymap=de liveusb vga=791 sleep=0 quiet xvesa ramdisk_size=25000
initrd /pmagic/initrd
title Helix
find --set-root /grldr
kernel /casper/vmlinuz file=/cdrom/preseed/xubuntu.seed boot=casper initrd=/casper/initrd.gz splash
initrd /casper/initrd.gz
title VistaPE
find --set-root /bootmgrp
chainloader /bootmgrp
title Boot Local Harddisk
map (hd0) (hd1)
map (hd1) (hd0)
chainloader (hd1)+1
rootnoverify (hd1)
default 0
timeout 10
title Sidux
find --set-root /grldr
kernel /boot/sidux.bzi initrd=/boot/sidux.dsk lang=de boot=fll quiet vga=791 fromhd
initrd /boot/sidux.dsk
title Sidux Failsafe
find --set-root /grldr
kernel /boot/sidux.bzi initrd=/boot/sidux.dsk lang=de boot=fll quiet vga=791 fromhd persist dpi=96 xmode=1024x768
initrd /boot/sidux.dsk
title GParted
find --set-root /grldr
kernel /pmagic/bzImage noapic initrd=/pmagic/initrd root=/dev/ram0 init=/linuxrc keymap=de liveusb vga=791 sleep=0 quiet ramdisk_size=25000
initrd /pmagic/initrd
title GParted Failsafe
find --set-root /grldr
kernel /pmagic/bzImage noapic initrd=/pmagic/initrd root=/dev/ram0 init=/linuxrc keymap=de liveusb vga=791 sleep=0 quiet xvesa ramdisk_size=25000
initrd /pmagic/initrd
title Helix
find --set-root /grldr
kernel /casper/vmlinuz file=/cdrom/preseed/xubuntu.seed boot=casper initrd=/casper/initrd.gz splash
initrd /casper/initrd.gz
title VistaPE
find --set-root /bootmgrp
chainloader /bootmgrp
title Boot Local Harddisk
map (hd0) (hd1)
map (hd1) (hd0)
chainloader (hd1)+1
rootnoverify (hd1)
A. To boot other linuxes it's most easy to copy the kernel and options from the isolinux config file of a live-cd.
If possible try to find an USB-boot kernel option as otherwise
- your USB device is mounted read-only
- your USB device will be "ejected" on shutdown - some BIOSes power them down
- in my example Helix is booting this way - there is an option "persistance" but the it will load ALL HDDs read-write - and I surely don't want that in a forensic system....
B. With chainloader you can also boot BartPE or other PEs
CODE
title XP-PE
find --set-root /ntldrp
chainloader /ntldrp
find --set-root /ntldrp
chainloader /ntldrp
C. As you've seen the bootloaders of the Windows OSes were renamed.
To do that Grub4Dos won't find any bootsectors that it might find on any local disks
D. You could also boot DOS/Win9x.
I've not included that as it's - in my opinion - primitive technology.
Google for that if you want to do that...
I hope someone finds this guide useful....
Thanks to jaclaz and the Grub4Dos Guide website