Jump to content











Photo

Creating Multiboot USB flash drive step by step


  • Please log in to reply
2 replies to this topic

#1 Shirin Zaban

Shirin Zaban

    Frequent Member

  • Tutorial Writer
  • 423 posts
  • Location:Tehran
  • Interests:1_Making Unattended and Customized XP<br /><br />2_Making different types of Bootable and Multiboot CD/DVD<br /><br />3_Like to learn more about grub and grub4DOS
  •  
    Iran

Posted 30 October 2009 - 10:45 PM

=======================================
Creating Multiboot USB flash drive step by step
=======================================

hi all


Notes befor proceeding to tutor:
---------------------------------
1.I have searched web and have read hundreds of pages about making multiboot
UFD,there are several methods to do this,But most of them are complicated or
tutors are specialized,so can not be used by normal users.In this tutor i will
show you easy and understandable method for all users.

2.Note that UFD projects act different in different computers and different
MainBoards.I have tested this tutor by 4GB flash drive model
Transcend (TS4GJFU30 8.07),was OK.

3.When creating this project,we will need to format USB Flah drive,please make
extream attention to select your flash stick when formatting,if you select
incorrect drive you will lose data in your computer,so do it at your own risk.

4.I have used heureka's exprements in many places of this tutor (Thanks heureka
for nice work and explanation).Actually i am reapeting his tutor but by some
small changes.

http://www.ezbsystem...t=ST;f=1;t=2472

==================================
Step_01: Formating Flash drive
==================================

1.Download HP format tool for USB devices from link below and instal it
in drive C:,it will be instaled in C:\DriveKey directory.

http://files.extreme.../file.php?f=197

2.Open Notepad and type lines below then save that by the name of fusb.bat in
C:\DriveKey directory :

@echo off
rem Use at your own risk
echo:
echo:
echo:
SET /P driveletter="Put in drive letter (no colon) for USB device and press Enter: "
cls
echo:
echo:
echo:
echo: *** Note: Format to NTFS take some few extra seconds ***
echo:
Hpusbf.exe %driveletter%: -FS:NTFS

3.connect your USB device to computer.Go to C:\drivekey and Double click on
format usb.bat and do as you are told.


====================================================
Step_02:Making USB flash drive Bootable to grub4dos
====================================================

1.Download grubutil-1.1-bin-w32-19.zip from link below and extract it some where:

http://download.gna.org/grubutil/old/

2.Download grub4dos from link below and extract it some where

http://download.gna....-2008-08-08.zip


3.Open folder extracted “grubutil-1.1-bin-w32-19” and double click on
“grubinst_gui.exe”. make sure program has found your USB device. Choose your USB
then press “Install” now You have a USB device bootable to Grb4Dos.

4. Copy this three files: “grldr”, default and “menu.lst” from grub4dos directory
to USB device. You now have a USB device that starts to Grub4Dos, but we need to do
some editing to file “menu.lst”. Open “menu.lst”. on USB device, delete all text and
insert this instead:

color blue/cyan yellow/cyan
timeout 6
default /default

title Boot from Hardisk (Start Windows)
root (hd0,0)
chainloader (hd0,0)/ntldr

title Start EasyBoot
find --set-root --ignore-floppies /iso/xx.iso
map /iso/xx.iso (hd32)
map --hook
chainloader (hd32)
boot

Close and save changes made to this file.

5. Copy files “Ntdetect.com” and “ntldr” from drive C:\ to to your USB device.

6. Open Notepad and insert this text:

[Boot Loader]
Timeout=10
Default=multi(0)disk(0)rdisk(1)partition(1)\WINDOWS
[Operating Systems]
multi(0)disk(0)rdisk(1)partition(1)\WINDOWS="Start Windows from hd 0 part 1" /FASTDETECT

Save this text file to USB device with the name: boot.ini

=======================================================
Step_03:Making USB flash drive to boot from ISO images
=======================================================

Note:
------
We can put ISO's of our favorite programs (as will descibe below) in our USB to be
run during boot process.But note that not all kinds of ISO images can be run by
this method.There is not standard way to say which kinds of iso images can be used
(At least I do not know).
Any way i used ISo images below in this tutor and checked it,was OK:

Maxblast 5.iso
NT Password.iso
Acronis Tru Image 2009.iso
Winbuilder's LiveXP in RAM.iso

And also you can use ISO's you make by AeroStudio and EasyBootCD here successfully.



1.Create a folder with the name of iso on USB device.

2.Copy ISO's below to your usb drive\iso\ directory and rename them as below:

Maxblast 5.iso change name to mb.iso
NT Password.iso change name to nt.iso
Acronis Tru Image 2009.iso change name to Acron.iso
Winbuilder's LiveXP in RAM.ISO change name to lxp.iso


3.Open menu.lst in usb and delete all content of that then type lines below on it
and save.


color blue/cyan yellow/cyan
timeout 6
default /default

title Start NT Password
find --set-root --ignore-floppies /iso/nt.iso
map /iso/nt.iso (hd32)
map --hook
chainloader (hd32)
boot

title Start MaxBlast 5
find --set-root --ignore-floppies /iso/mb.iso
map /iso/mb.iso (hd32)
map --hook
chainloader (hd32)
boot

title Start Acronis Tru Image 2009
find --set-root --ignore-floppies /iso/Acron.iso
map /iso/Acron.iso (hd32)
map --hook
chainloader (hd32)
boot

title Start LiveXP in RAM
find --set-root --ignore-floppies /iso/lxp.iso
map /iso/lxp.iso (hd32)
map --hook
chainloader (hd32)
boot

I tested Was OK


===========================================
Step_04:Running BartPE or (simiar) from USB device
===========================================

1.Copy contents of BartPE.ISO to root of your flash drive.

2.Rename I386 (in root of flash drive) to minint.

3.Open menu.lst (from flash root) and add lines below to it and save:


title Loading Reatogo
root (hd0,0)
chainloader /minint/setupldr.bin

Now if you boot by your usb flash drive You can boot with BartPE.

Notes:
------

_ I used my BartPE + Kaspersky antivirus it worked perfect.

_ By Hexediting you can use other similar live CD's like reatogo and else
in the same usb flash drive.

_ Some times you will need to disable your floppy drive befor running this
kind of applications.

_ When copying files to USB device, always wait at least 30 sec extra (even
if it looks in explorer that copying is finished) before restarting computer
or pulling out USB device. When using NTFS file system on USB there is a kind
of delay before USB device is finished.

=========================

shirin zaban

#2 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 31 October 2009 - 09:05 AM

Some notes, needed as I see it, and a few caveats:

The core of this nice tutorial :) does not change if the above, or parts of it, is taken into account, of course.

Happy USB booting to all. :cheers:

:cheers:

jaclaz

#3 Shirin Zaban

Shirin Zaban

    Frequent Member

  • Tutorial Writer
  • 423 posts
  • Location:Tehran
  • Interests:1_Making Unattended and Customized XP<br /><br />2_Making different types of Bootable and Multiboot CD/DVD<br /><br />3_Like to learn more about grub and grub4DOS
  •  
    Iran

Posted 31 October 2009 - 09:12 AM

Hi jaclaz

Thanks a lot for excellent informations.i needed them
and i should learn more (Of course by helps of you and other friends)

Again thank you for informations

shirin zaban




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users