22

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?

0

5 Answers 5

19

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.
2
  • 5
    Your answer turned out to be the best solution Qwerty, but instead of hijacking your answer, I decided to reformat yours to be more complete ;-)
    – Ivo Flipse
    Aug 4, 2009 at 6:28
  • 2
    Most appreciated Ivo. I will up vote one of your answers to give you some deserved rep for your efforts. ;-)
    – Qwerty
    Aug 4, 2009 at 6:58
3

My method

  • install Windows 7 to virtual machine
  • create image from virtual machine system drive
  • restore image to USB drive

Some BIOS can emulating USB mass-storage behavior, if you boot from them.

  • HDD
  • FDD
  • etc.

enter image description here

0
2

It might be a little complicated, but Windows Vista and Windows 7 (Ultimate) can boot from a VHD file, which I would assume could be stored on a removable USB hard drive as described at http://edge.technet.com/Media/Windows-7-Boot-from-VHD/. The only thing is you may not be able to boot from it directly.

As a general warning, one of the reasons Microsoft won't let you do this by default is that changing the hardware usually breaks Windows installations. I'm not saying this is your goal, I'm just saying it may not work if it is. You should be fine if you're keeping it on the same machine.

1
  • When Windows boots it resets all active USB connections, essentially disconnecting the USB drive, thus you need a hack like PWBoot to make this work.
    – Chris S
    Apr 18, 2010 at 3:24
1

After days of searching and trying different options, I came across PWBoot. It was awesome. Quick download, installed quick and was immediately able to boot Windows 7 directly over USB.

My issue was: My desktop had become unserviceable (due to a slight accident). The harddrive was fine though. I had an external kit and wanted to connect over USB to a work laptop that I had – I am running a PS2 emulator and did not want to lose my saves.

1

With Windows 7 SP1, there is an easier way to install Windows 7 to a USB Hard Disk or USB Flash Drive.

This was discovered by cdob at Reboot: http://reboot.pro/topic/14186-usb-hdd-boot-and-windows-7-sp1/?p=127587

It boils down to two registry keys, which i think are present in Windows 8 to enable Windows To Go feature. I guess this feature was present in Windows 7, but was never activated.

reg.exe add HKLM\System\CurrentControlSet\Control /f /v BootDriverFlags /t REG_DWORD /d 0x6
reg.exe add HKLM\System\CurrentControlSet\Control\PnP /f /v PollBootPartitionTimeout /t REG_DWORD /d 15000

So in order to use these new registry settings and install Windows 7 to a USB Hard Disk or Flash Drive, you can use a Tool called WinNTSetup which I have mentioned here Is there an equivalent to Windows To Go for personal use?

This tool is easy to use and you quickly install Windows 7 your USB Hard Disk. This tool also allows to create VHD (Virtual Hard Disk) on your USB Drive and install Windows 7 to the VHD on the USB Drive.

More information in the below links:

http://agnipulse.com/2012/11/windows-to-go-all-versions-windows-7-8/

http://www.msfn.org/board/topic/149612-winntsetup-v306/

Not the answer you're looking for? Browse other questions tagged .