Sunday, July 11, 2010

Boot from a USB flash drive.


A FEW THINGS YOU NEED TO CONSIDER IN ADVANCE.
1. The PC has to support booting from a USB flash/pen/key drive. There may be anywhere from 1-3 items to change in the BIOS to make this possible assuming your BIOS supports it. Some bios’s may refer to your flash drive as a USB floppy or USB zip. Of course there are exceptions, perhaps some are covered here.
2. The USB flash drive must support booting from it in general.
3. The flash drive must contain the boot/system files.
4. The flash drive must have bootsector area. This is done with special utilities.
5. References to “A:” drive lines in the autoexec.bat and/or config.sys files you copy to the drive after you make it bootable may result in errors.
6. You “may” have to format your floppy disk first in WinXP before you create a bootdisk as XP may “not” like working later on with a disk formatted otherwise.
7. Included below is a bootable ISO of DOS 7.1 which may be used with some of these methods if you do not have a 1.44 drive.

USB guide, here I assume that you are using either Vista or Windows 7 to create a bootable USB.

1. Insert your USB (4GB+ preferable) stick to the system and backup all the data from the USB as we are going to format the USB to make it as bootable.

2. Open elevated Command Prompt. To do this, type in CMD in Start menu search field and hit Ctrl + Shift + Enter. Alternatively, navigate to Start > All programs >Accessories > right click on Command Prompt and select run as administrator.

3. When the Command Prompt opens, enter the following command:

DISKPART and hit enter.

LIST DISK and hit enter.

Once you enter the LIST DISK command, it will show the disk number of your USB drive. In the below image my USB drive disk no is Disk 1.

4. In this step you need to enter all the below commands one by one and hit enter. As these commands are self explanatory, you can easily guess what these commands do.

SELECT DISK 1 (Replace DISK 1 with your disk number)

CLEAN

CREATE PARTITION PRIMARY

SELECT PARTITION 1

ACTIVE

FORMAT FS=NTFS

(Format process may take few seconds)
ASSIGN

EXIT

Don’t close the command prompt as we need to execute one more command at the next step. Just minimize it.

5. Insert your Windows DVD in the optical drive and note down the drive letter of the optical drive and USB media. Here I use “D” as my optical (DVD) drive letter and “H” as my USB drive letter.

6. Go back to command prompt and execute the following commands:

D:CD BOOT and hit enter. Where “D” is your DVD drive letter.

CD BOOT and hit enter to see the below message.
BOOTSECT.EXE/NT60 H:

(Where “H” is your USB drive letter)

7. Copy Windows DVD contents to USB.

You are done with your bootable USB. You can now use this bootable USB as bootable DVD on any computer that comes with USB boot feature (most of the current motherboards support this feature).

Note:U can make a bootable usb disk for Xp but u can’t create a bootable usb disk using XP

njoy withe me frens still more to come………

god bless us all……..

by Gyani.

0 comments:

Post a Comment