By l0gix, July 9, 2007, 2:50 pm o'clock

Using a Windows install in Ubuntu

Here’s a simple guide to using your existing Windows install inside Ubuntu - and still being able to start it from your hard disk if you need. Unlike previous guides, it takes around 15 minutes and doesn’t require any terminal use.

In Windows

First make a hardware profile for VMware:

  • Click StartControl PanelSystem
  • On the Hardware tab, select Hardware Profiles
  • Click Copy, and call your new hardware profile VMware.

Now install the SCSI drivers Windows needs to start inside VMware:

  • Download the VMware SCSI drivers and WinImage
  • Install and start Winimage. Inside Winimage, open the VMware SCSI driver file, and Extract it somewhere.
  • Click StartControl PanelAdd Hardware and step through the wizard.
    • Tell Windows you’ve already connected the hardware.
    • On the next screen, there’s a list of installed hardware. Go all the way down to the bottom and choose Add a new hardware device.
    • Choose to Install the hardware that I manually select from a list.
    • Next choose SCSI and RAID controllers. After, that, click Have Disk… and navigate to the drivers you extracted with WinImage.Windows will install the VMware SCSI driver.

Reboot to Ubuntu

If you’re currently mounting your Windows partition under Linux, unmount it.

  • Click SystemAdministrationUsers and Groups. Add your user account to the disk group. This will give you the ability to access your hard disk inside VMware.
  • Click Applications Add/Remove… . Install the vmware-server package.
  • Click ApplicationsSystem ToolsVMware Server Console and connect to the local host. Select Create a new virtual machine and in the wizard…
    • Create a Custom virtual machine.
    • Pick the version of Windows you’re using, let VMware pick a name, and click past the defaults until you get to networking. Choose NAT networking. Leave Buslogic as the SCSI controller.
    • On the Select a Disk screen, choose Use a physical disk. That’s right, you’re now an advanced user - give yourself a high five. After that, pick Use individual partitions and pick both your Window NTFS and Linux Ext3 partition (since part of Grub is on your Linux partition). Don’t bother about the swap partition.
  • If, like most people, you don’t have a floppy drive, click Edit virtual machiune settings. Select Floppy 1 and untick Connect at power on.
  • But before we go further, a note: don’t start Linux inside the VM. If you do accidentally start Linux, turn the VM off immediately - otherwise your files may be eaten as Linux checks a running disk. Consider yourself warned.
  • Now start the VM. When grub comes up, select Windows. When you’re asked to pick a profile, pick VMware.

Your Windows install should start inside the VM. Congratulations!
The first time it boots, you’ll get a few messages about new hardware. Cancel them and, in the VMware Server Console, click VMInstall VMware tools instead. Then let the VM restart when asked.

That’s it. Your existing Windows install and all its apps now can be started inside Ubuntu, and on its own.

If you’d like your Windows apps to appear directly your existing Ubuntu desktop (without the separate Windows desktop), check out last week’s article.

As usual, post any suggestions, feedback or questions below.

This entry was posted on Sunday, July 8th, 2007 at 10:52 pm and is filed under Linux without the command line, Virtualization, Ubuntu, Desktop Linux. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Add your own comment or set a trackback

Currently no comments

  1. No comment yet

Add your own comment



Follow comments according to this article through a RSS 2.0 feed