:: How To Install An OS Off Of A Flash Drive
By Tech BY Check ::
A few months ago I wanted to learn how do
this myself, as I was using CDs at an alarming rate for testing things,
and so I have written this guide to educate the common user, DIY, and IT
in installing Microsoft Windows, Mac OS X, and many major Linux
distributions from a USB flash drive.
All techniques described in this guide do have risks, most of the time
due to human mistake, but there's a strong chance of erasing your HD in
Windows if you enter the wrong number.
Installing Windows:
This section will describe how to make a bootable flash drive for use of
installing Windows. Support in this guide includes Windows Vista and
Windows 7, basically all Windows NT 6.x systems are supported.
What you need is:
- An empty 2 GB USB 2.0 or 3.0 compliant flash drive.
- A USB 2.0 or 3.0 compliant USB port, this will include most computers manufactured in the last 5-6 years.
- A Windows Vista, Windows 7, or other Windows NT 6.x family OS install disc. It can be either x86 or x64.
- A computer with Windows Vista or above installed.
Ok, now that you’ve ascertained that you have all the requirements, let’s get started.
First, open an elevated command prompt by typing cmd into the search box and pressing enter, and then hit Ctrl + Shift + Enter.
Type the following commands, pressing enter after each one:
In the list, you will see a list of disks, each with a number. The
disk whose size corresponds to the size of your flash drive should be
your flash drive.
It is very important that you select the right one, as data could be lost. Remember the number next to your flash drive.
Now, type the following commands (pressing enter after each one):
Code:
SELECT DISK x (replace x with the flash drive number you memorized earlier)
CLEAN
CREATE PARTITION PRIMARY
SELECT PARTITION 1
ACTIVE
FORMAT FS=NTFS QUICK
ASSIGN
EXIT
Don’t close the prompt window.
Place your Windows DVD into your DVD drive, and remember the drive
letter of the DVD drive and your flash drive. Then go back to the prompt
and type the following commands, pressing enter after each one:
Code:
X:CD BOOT (where x is your DVD drive)
CD BOOT
BOOTSECT.EXE /NT60 Y: (where y is your flash drive letter)
Then copy the entire contents of your Windows DVD to your flash drive, and restart. It should boot.
Installing Mac OS X :
This section will describe how to make a bootable flash drive for use of
installing Mac OS X. Support in this guide includes all versions of Mac
OS X.
What you need is:
- An empty 5-8 GB USB 2.0 or 3.0 compliant flash drive
- A USB 2.0 or 3.0 compliant USB port, this will include most Macs manufactured in the last 5-6 years.
- A Mac OS X 10.x.x install disc.
- A Mac running OS X.
Ok, now that you've ascertained that you have all the requirements, let's get started.
First, open the Utilities folder by pressing Shift + Command + U, and open Disk Utility.
 |
| install OS with flash-techbycheck |
Insert your Mac OS X Install disc. Select it in the list in the Disk Utility, and click Restore.
Drag the Mac OS X Install disc from the list to the Source box.
Then plug in your USB drive, and drag it from the list to the Destination box.
 |
| install OS with flash-techbycheck |
Check the Erase Destination box and click Restore. After a few minutes, you will have a bootable USB drive with Mac OS X on it.
To test your drive, open System Preferences>Startup Disk, enter your
administrator’s password if necessary, and then select the disk you
restored to with Disk Utility, and then click Restart. You can also hold
down the Option key after the startup chime, and select the disk.
Installing Linux :
This section will describe how to make a bootable flash drive for use of
installing some Linux distributions. Support in this guide includes the
Ubuntu family, version 11.04 and lower, with experiments performed on
10.04 and 9.10, and a few other distributions I have not experimented
with but should work.
What you need is:
- An empty 1-8 GB USB 2.0 or 3.0 compliant flash drive.
- A USB 2.0 or 3.0 compliant USB port, this will include most computers manufactured in the last 5-6 years.
- A distribution’s ISO image or disc.
- A computer with preferably Ubuntu 10.10 or Windows XP, Vista, or 7 (yes Windows
)
The following files/utilities:
The Unetbootin and Pendrive Linux interface is pretty intuitive, I
doubt it's necessary to write instructions on how to use them.
Also, you can put Ubuntu on a flash drive through Ubuntu by navigating
System>Preferences>Startup Disk Creator and going from there.
Conclusion:
If you followed this short guide correctly, you should now have a USB
drive containing the Windows, MacOS X, or Linux setup files