Virtual Machine (Ubuntu) of actual Hard Drive

quadrplax

New member
Member
Local time
10:01 AM
Messages
92
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 My Computer

At a glance

Windows 7 Home Premium 64bitAMD Phenom II X4 965 AM3 3.4Ghz 512KB 45NM 12...Mushkin 997008 DDR3 UDIMM (2x4GB) 8GB PC3-149...HIS Radeon HD 7870 2 GB (256-Bit) GDDR5 2x Mi...
Computer type
PC/Desktop
Computer Manufacturer/Model Number
custom build
OS
Windows 7 Home Premium 64bit
CPU
AMD Phenom II X4 965 AM3 3.4Ghz 512KB 45NM 125W 4000MHZ
Motherboard
GIGABYTE GA-990FXA-UD3 AM3+ AMD 990FX SATA 6Gb/s USB 3.0 ATX
Memory
Mushkin 997008 DDR3 UDIMM (2x4GB) 8GB PC3-14900 1866MHZ 9-10
Graphics Card(s)
HIS Radeon HD 7870 2 GB (256-Bit) GDDR5 2x Mini-Displayport
Monitor(s) Displays
Dell U2414H, Dell E2014H
Screen Resolution
16:9 1920x1080, 16:9 1600x900
Hard Drives
Kingston HyperX 3K 120 GB SATA III 2.5-Inch 6.0 Gb/s Solid State Drive SH103S3/120G
Keyboard
Some old PS/2 one
Mouse
USB Kensignton
Internet Speed
5Mb/s Download, 1Mb/s Upload
Antivirus
Avast! Free Antivirus
Browser
Mozilla Firefox
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 My Computer

At a glance

Linux CENTOS 7 / various Windows OS'es and se...Intel i7 Intel i58GB, 16GBOn Motherboard
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom built, several laptops HP/ASUS
OS
Linux CENTOS 7 / various Windows OS'es and servers
CPU
Intel i7 Intel i5
Memory
8GB, 16GB
Graphics Card(s)
On Motherboard
Sound Card
Realtek HD audio
Monitor(s) Displays
Apple Cinema display, Samsung LCD
Screen Resolution
1920 X 1080
Hard Drives
4 X 1TB SATA
Mouse
Toshiba wireless laser
Internet Speed
> 20MB up
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 My Computer

At a glance

Windows 7 Home Premium 64bitAMD Phenom II X4 965 AM3 3.4Ghz 512KB 45NM 12...Mushkin 997008 DDR3 UDIMM (2x4GB) 8GB PC3-149...HIS Radeon HD 7870 2 GB (256-Bit) GDDR5 2x Mi...
Computer type
PC/Desktop
Computer Manufacturer/Model Number
custom build
OS
Windows 7 Home Premium 64bit
CPU
AMD Phenom II X4 965 AM3 3.4Ghz 512KB 45NM 125W 4000MHZ
Motherboard
GIGABYTE GA-990FXA-UD3 AM3+ AMD 990FX SATA 6Gb/s USB 3.0 ATX
Memory
Mushkin 997008 DDR3 UDIMM (2x4GB) 8GB PC3-14900 1866MHZ 9-10
Graphics Card(s)
HIS Radeon HD 7870 2 GB (256-Bit) GDDR5 2x Mini-Displayport
Monitor(s) Displays
Dell U2414H, Dell E2014H
Screen Resolution
16:9 1920x1080, 16:9 1600x900
Hard Drives
Kingston HyperX 3K 120 GB SATA III 2.5-Inch 6.0 Gb/s Solid State Drive SH103S3/120G
Keyboard
Some old PS/2 one
Mouse
USB Kensignton
Internet Speed
5Mb/s Download, 1Mb/s Upload
Antivirus
Avast! Free Antivirus
Browser
Mozilla Firefox
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 My Computer

At a glance

Linux CENTOS 7 / various Windows OS'es and se...Intel i7 Intel i58GB, 16GBOn Motherboard
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom built, several laptops HP/ASUS
OS
Linux CENTOS 7 / various Windows OS'es and servers
CPU
Intel i7 Intel i5
Memory
8GB, 16GB
Graphics Card(s)
On Motherboard
Sound Card
Realtek HD audio
Monitor(s) Displays
Apple Cinema display, Samsung LCD
Screen Resolution
1920 X 1080
Hard Drives
4 X 1TB SATA
Mouse
Toshiba wireless laser
Internet Speed
> 20MB up
Back
Top