Virtual Machine (Ubuntu) of actual Hard Drive


  1. Posts : 92
    Windows 7 Home Premium 64bit
       #1

    Virtual Machine (Ubuntu) of actual Hard Drive


    Not sure if I should post this here or on Ubuntu Forums...lol
    I want to get a second hard drive for my computer, and install Ubuntu to it, allowing me to boot into it directly. I also would like to be able to use the same installation in a virtual machine within Windows 7. I've found other people talking about this, but they wanted the virtual OS to be Windows, which is harder than Ubuntu since it doesn't get attached to hardware as much. So, is this possible?
      My Computer


  2. Posts : 5,941
    Linux CENTOS 7 / various Windows OS'es and servers
       #2

    Hi there

    It's easy - install Linux to the HDD of choce -- BUT ensure when the bootloader is installed install to the SAME HDD not the first HDD.

    In your Machine BIOS change the boot order to choose the LINUX HDD ist. That way the other HDD is not touched at all so if you want to boot an OS from THAT HDD just change the BIOS boot order again. Some BIOSES's allow also a BOOT menu without having to go into the full blown BIOS setup.

    Running Windows as a VM in Linux is simple. I've made a post on how to create a PORTABLE Windows system by running as a VM under Linux.

    There are some issues to note though -- if your system is UEFI then you'll need to do a few things to ensure the boot loader is loaded to the HDD you want and not the UEFI HDD. I've mentioned those things in the thread.

    How to make Portable Windows system (any version)

    Cheers
    jimbo
      My Computer


  3. Posts : 92
    Windows 7 Home Premium 64bit
    Thread Starter
       #3

    I don't think you read my question right, I want to run a virtual Ubuntu IN Windows, which runs off a physical disk.
      My Computer


  4. Posts : 5,941
    Linux CENTOS 7 / various Windows OS'es and servers
       #4

    Hi there
    Same deal -- ensure the bootloader is installed on the root partition on the Virtual disk.
    That way you can just boot Ubuntu from the Vm automatically -- shouldn't be any problem.

    Cheers
    jimbo
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 21:43.
Find Us