Friday, January 16, 2015

Can I install Windows OS (Windows 7) on a removable USB hard drive?



I wanted to take a sneak peek at Windows 7 so I thought of installing it. I have Windows Vista on my laptop which came pre-installed with it. I didn't want to mess with it.


So I created a partition (20 GB) in my USB external hard disk and tried to install Windows 7 on that partition. But when I booted from a Windows 7 DVD and selected the target partition on USB hard disk, it said it cannot be installed.


Is there any way to install Windows on an external USB hard disk?


Answer



You can give PWBoot a try.


PWBoot stands for Portable Windows Boot project, this project aims to be make your Windows operating system to boot from USB storage media easily.




Also look here for a more manual approach.


Quick tutorial:


Method 1: Virtual machine (OS: Windows Vista, VM: VMware Workstation)



  1. Download Vmware Workstation and install it.

  2. Create a new virtual machine for Windows, choose Custom then pick LSI Logic as SCSI card, use physical DVD-ROM or ISO image as where do you want to install Windows from.

  3. Have your USB drive plugged in. Use physical disk (Advanced) of your USB drive in VMware. Make sure that you choose the correct physical drive (drive 1 usually) or else you might wipe the current OS drive.

  4. Use entire disk.

  5. Click advanced on disk in virtual machine settings. Click on Independent and persistent changes for the disk.

  6. Now, please remove all assigned letters in disk management(diskmgmt.msc) for the USB drive.

  7. Also make sure you format the drive during Vista installation inside VMware. If it is already formatted you still need to format during Vista installation (or else u might get corrupt boot as crcdisk error).

  8. Vmware will show that drive as SCSI disk under LSI Logic controller, this is fine as Vista will install on a SCSI disk.

  9. Boot and go through the Vista install procedure in Vmware.

  10. Let Vista boot into the desktop for the first time in VMware, after that just launch PWBoot program (you need to copy it to your virtual machine first).

  11. Click the Patch button on the main PWBoot program.

  12. Shutdown Windows Vista inside the Vmware.

  13. Close Vmware.

  14. Now reboot your machine and select USB boot drive from BIOS boot. Machine should now boot to Vista desktop.


Method 2: Physical machine (OS: Windows Vista, HDD: SATA; 2.5 inch)



  1. Plug the Hard disk drive into the physical machine (SATA or IDE).

  2. Insert Windows Vista installation DVD and boot from it.

  3. Install Windows as usual, to your portable HDD.

  4. After installation finished, apply PWBoot Patch.

  5. Shutdown Windows and turn off your machine.

  6. Take out the HDD and then plug it with interface converter: SATA -> USB, IDE -> USB, etc.

  7. Now reboot your machine and select USB boot drive from BIOS boot. Machine should now boot to Vista desktop.


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...