|
Post by ZF on Mar 14, 2011 8:40:59 GMT -5
This will create a thumbdrive with 1 ) Windows 7 installer 2 ) BackTrack4 or any Linux Distro 3 ) Clonezilla 4 ) DBAN
1 ) Get a 8GB Thumbdrive, Use windows diskpart to create a partition of 4GB Note that windows will automatically leave the first 2 sectors untouched for the bootloader.
2 ) On Linux, use gparted to create subsequent partitions of 2GB, 1.5 GB & 512MB
3 ) On Linux, use Ubootnetin to install BT4, Clonezilla and DBAN Note that all of them uses syslinux.cfg as the boot configuration
4 ) Choose which partition to install grub root directory by mounting it. In our case, we choose Clonezilla. Install grub2 on the thumbdrive : grub-install --root-directory=/media/Clonezilla /dev/sdb
5 ) Merge all the syslinux.cfg entries on each distro into /boot/grub/grub.cfg
|
|
|
Post by ZF on Mar 14, 2011 9:29:28 GMT -5
Working grub.cfg:
set timeout=10 set default=0
menuentry "Start Windows 7 Installer" { set root=(hd0,1) chainloader (hd0,1)+1 } menuentry "BackTrack4 Default" { set root=(hd0,2) linux /ubnkern boot=casper nopersistent rw quiet vga=0x317 initrd /ubninit } menuentry "BackTrack4 FrameBuffer (1024x768)" { set root=(hd0,2) linux /boot/vmlinuz boot=casper nopersistent rw quiet vga=0x317 initrd /boot/initrd800.gz } menuentry "BackTrack4 FrameBuffer (800x600)" { set root=(hd0,2) linux /boot/vmlinuz boot=casper nopersistent rw quiet vga=0x314 initrd /boot/initrd800.gz } menuentry "BackTrack4 Forensics (no swap)" { set root=(hd0,2) linux /boot/vmlinuz boot=casper nopersistent rw vga=0x317 initrd /boot/initrdfr.gz } menuentry "BackTrack4 in Safe Graphical Mode" { set root=(hd0,2) linux /boot/vmlinuz boot=casper xforcevesa rw quiet initrd /boot/initrd.gz } menuentry "BackTrack4 Persistent Live CD" { set root=(hd0,2) linux /boot/vmlinuz boot=casper persistent rw quiet initrd /boot/initrd.gz } menuentry "BackTrack4 in Text Mode" { set root=(hd0,2) linux /boot/vmlinuz boot=casper nopersistent textonly rw quiet initrd /boot/initrd.gz } menuentry "BackTrack4 Graphical Mode from RAM" { set root=(hd0,2) linux /boot/vmlinuz boot=casper toram nopersistent rw quiet initrd /boot/initrd.gz } menuentry "BackTrack4 Memory Test" { set root=(hd0,2) linux /ubnkern initrd /ubninit } menuentry "Clonezilla live (Default settings, VGA 800x600)" { set root=(hd0,3) linux /live/vmlinuz1 boot=live config noswap nolocales edd=on nomodeset noprompt ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_keymap="" ocs_live_batch="no" ocs_lang="" vga=788 ip=frommedia nosplash initrd /live/initrd1.img } menuentry "Clonezilla live (Default settings, VGA 1024x768)" { set root=(hd0,3) linux /live/vmlinuz1 boot=live config noswap nolocales edd=on nomodeset noprompt ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_keymap="" ocs_live_batch="no" ocs_lang="" vga=791 ip=frommedia nosplash initrd /live/initrd1.img } menuentry "Clonezilla live (Default settings, VGA 640x480)" { set root=(hd0,3) linux /live/vmlinuz1 boot=live config noswap nolocales edd=on nomodeset noprompt ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_keymap="" ocs_live_batch="no" ocs_lang="" vga=785 ip=frommedia nosplash initrd /live/initrd1.img } menuentry "Clonezilla live (To RAM. Boot media can be removed later)" { set root=(hd0,3) linux /live/vmlinuz1 boot=live config noswap nolocales edd=on nomodeset noprompt ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_keymap="" ocs_live_batch="no" ocs_lang="" vga=788 toram=filesystem.squashfs ip=frommedia nosplash initrd /live/initrd1.img } menuentry "Clonezilla live (Safe graphic settings, vga=normal)" { set root=(hd0,3) linux /live/vmlinuz1 boot=live config noswap nolocales edd=on nomodeset noprompt ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_keymap="" ocs_live_batch="no" ocs_lang="" ip=frommedia vga=normal nosplash initrd /live/initrd1.img } menuentry "Clonezilla live (Failsafe mode)" { set root=(hd0,3) linux /live/vmlinuz1 boot=live config noswap nolocales edd=on nomodeset noprompt ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_keymap="" ocs_live_batch="no" ocs_lang="" acpi=off irqpoll noapic noapm nodma nomce nolapic nosmp ip=frommedia vga=normal nosplash initrd /live/initrd1.img } menuentry "Clonezilla - Local operating system in harddrive (if available)" { set root=(hd0,3) linux chain.c32 hd0 } menuentry "Clonezilla - Memory test using Memtest86+" { set root=(hd0,3) linux memdisk initrd /live/freedos.img } menuentry "Clonezilla - FreeDOS" { set root=(hd0,3) linux /live/memtest } menuentry "Clonezilla - Network boot via gPXE" { set root=(hd0,3) linux /live/gpxe.lkn } menuentry "DBAN" { set root=(hd0,4) linux /DBAN.BZI nuke="dwipe" silent initrd /ubninit } menuentry "DBAN quick verbose" { set root=(hd0,4) linux /DBAN.BZI nuke="dwipe --autonuke --method quick" initrd /ubninit } menuentry "DBAN zero verbose" { set root=(hd0,4) linux /DBAN.BZI nuke="dwipe --autonuke --method zero" initrd /ubninit }
|
|