With 2GB and 4GB pen drives becoming common these days it often makes more sense to burn (or rather setup) the Operating System installer onto a pen drive rather than burning it onto a CD or DVD. This is especially true if you love trying out new linux distros, or rush to install the latest leaked build of Windows 7. Not only that many notebooks such as Acer Aspire One doesn’t come with a built in CD/DVD drive and USB drives are the only way users can install the latest build of Windows 7 or Ubuntu (or whatever operating system they wish to use).
This tutorial will teach you how to install any (well…almost) operating system from a USB drive.
Windows 2000 and XP
For creating a bootable USB drive with Windows 2000 or XP installer we are going to use a utility called WinSetupFromUSB. Download it from MSFN forums and install it. You are going to need the Windows 2000/XP installation disk. If you have an ISO, extract the iso. Enter the path to Windows 200/XP installer as Source. After this, plugin in your USB device and format it. You can use the PEtoUSB tool to format USB drives smaller than 2GB as FAT16 drive. However I would recommend using HP Format Tool to format drives as FAT32 or NTFS (recommended). That is all you need to do to create a basic installer for Windows 2000 and Windows XP on your pen drive (USB device). Don’t bother yourself with any of the other settings. Click on GO to begin the process. WinSetupFromUSB is a fairly advanced tool and allows to you create multiboot pen drives that can have Windows Vista, Windows 7 and even Linux installers. If you want to know more about this utility just read through the thread at MSFN forums.
Windows Vista and Windows 7
The procedure described below is slightly cumbersome.
For a completely automated method use Windows 7 USB/DVD Download Tool
First we need to copy the bootsector from the Windows Installation DVD to the USB drive. But before that we need to format the USB drive and prepare it.
Start Command Prompt by typing CMD in the start menu and hitting Ctrl+ Shift+ Enter (for Windows XP and older OS simply type CMD in the RUN prompt and hit Enter).
Type DISKPART
Type LIST DISK
Note down the disk number (###) of your USB drive.
Type SELECT DISK # (replace # with the disk number e.g. SELECT DISK 1).
Type CLEAN
Type CREATE PARTITION PRIMARY
Type SELECT PARTITION 1
Type ACTIVE
Type FORMAT FS=NTFS
Type ASSIGN
Type EXIT
Now we will copy the bootsector from the original disk. If you have an image you will need to mount it using a tool like Slysoft Virtual Clone Drive. Now I am assuming that the drive letter for the installer disc is X. You need to open up CMD one again.
Type X:
Type CD BOOT
Type BOOTSECT.EXE/NT60 Y:
where Y is the USB drive letter.
Now that the DVD is setup all you need to do is copy the contents of the DVD to the USB Drive (or extract the ISO file).
[Via IntoWindows]
LINUX (Ubuntu and almost all other popular distros including BSD variants)
Installing almost any version of Linux from a pen drive(USB device) is ridiculously simple thanks to UNetbootin (Universal Netboot Installer). All you need is a bootable image and a pen drive. Start UNetbootin, point to the location of the cd/dvd image and set the USB drive letter. UNetbootin will do the rest. If you don’t have an iso file handy I would suggest that you create one using your favourite disk burning tool (such as Nero). Although there are other solutions they are slightly complicated and creating an iso is the simpler solution. You can find the full list of supported Distros over here.
Now that you have your USB device ready, restart your computer and enter the BIOS by pressing the appropriate key. Change the boot order and set USB Device at #1 (highest priority). Save and exit. Your system should load from the USB device (pen drive) and launch the OS installer.
I am facing problem by downloading the 98 drivers from the amitte site.It does not work yaaar, please solve my problem………
If i used my pendrive on a computer known to be infected with viruses, and then format/ quick format it using right-click menu before using it on my system, is that good enough? I have ‘auto-play’ turned off for drives. I am worried as i have to use the pendrive often, as my cd drive not working presently. Can viruses spread merely on attaching the pendrive? And is repetitive formatting of pendrive advisable?
great post
Atul’s last blog post..Murphy’s Laws on Girls
In case autoplay is completely turned off, formatting a pen drive before accessing it should be good enough.
hii..my prev os is on c drive.and when im trying to install using usb my c drive is not getting formatted.so i reinstalled on the same drive.but after installation is completed prev files are not getting deleted..can any one help???
Sounds like you messed up. If you reinstall your OS on the same partition without formatting first, then you would end up with 2 installations on the same partition. Both the OS would co-exist. I would reccomend formatting the partition and doing a clean re-installation of the OS.
[…] if your pc will support installing from usb the following link will tell you how. Install Any Operating System from Pen Drive (Works on Netbooks) […]
i’don’t have a cd writer in my pc, i want to install linux os from usb pen drive… it’s possible?
I haven’t tried it.
Seems good to backup and recover from a faulty operating system. I like ubuntu live cd but usb drive is cooler. 🙂
Breaking news today, I just read that Apple revealed today OS X 10.7 . The Lion as it is called seems to have some great new features. I am amazed! It is scheduled to ship next summer.
List Disk is not working with my pendrive.. i have tried that in many computers. please help bro…. Mu CD/DVD rive has gone bad and i cant format my computer…. please help..
VERY GOOD ITS WORKING
thankyou its working
Hi, thanks to this website for creating such a useful tutorials just to help IT developments in worldwide. Big up to all ya
after typing LIST DISK USB drive was not shown please help me out
Fool u dont type LIST DISK USB just list disk i no it complicated to just copy exactly wat it says above but please if u get stuck again shot urself
and do the rest of the world a favour
Good spelling, thanks for a positive input…
I want install the win xp in my pen drive is this possible
plz.
rewart me fast
This is my first time pay a visit at here and i am genuinely
pleassant to read all at single place.
Thanks for the info. This has been really helpful.
hi bro when finalise setting it will take restart and then it start from first onwards how to recover these files
help bro