Monday, February 20, 2012

Make All-in-One USB Boot Disk - 5

Now we have a usb disk which is able to boot wth grub4dos bootloader and Winodws 7 pe is available to usb disk for booting.

We can add many os to the usb drive bootloader by grub. This post will brief about this.

Adding Windows 7 Repiar disc-

1] Copy windows 7 repair disc iso to the root of target usb drive ( where the grub is installed).
2] Rename the iso file to win7Repair.iso

 3] Go to the target usb drve and open menu.lst with notepad.
4] Append the menu.lst by the following lines-
title Boot win7Repair.iso - ISO

find --set-root --ignore-floppies /win7Repair.iso

map /win7Repair.iso (0xff)

map --hook

root (0xff)

chainloader (0xff)/BOOTMGR
5] Save the menu.lst

Adding Konboot img-

1] Copy konboot img to the root of target usb drive ( where the grub is installed).
2] Rename the img file to konboot.img
2] Go to the target usb drve and open menu.lst with notepad.
3] Append the menu.lst by the following lines-
title Boot KonBoot

find --set-root --ignore-floppies /konboot.img

map --mem /konboot.img (fd0)

checkrange 0x80 read 0x8280 && map (hd0) (hd1)

checkrange 0x80 read 0x8280 && map (hd1) (hd0)

map --hook

chainloader (fd0)+1

rootnoverify (fd0)
4] Save the menu.lst

We can add many live os to the usbdrive by using this method.
Finally we have 3 os added to grubloader.
  1. Windows 7 pe from RAM
  2. Windows 7 Repair Disc from RAM
  3. KonBoot from RAM

Next - Make All-in-One USB Boot Disk -6

No comments:

Post a Comment