Using an existing Ubuntu OS as a guest in Windows

Discussions related to using VirtualBox on Windows hosts.
Post Reply
skarloey
Posts: 1
Joined: 11. Jan 2009, 05:33

Using an existing Ubuntu OS as a guest in Windows

Post by skarloey »

I Dual-Boot with XP and Ubuntu, but I would like to set up the ubuntu os as a virtual machine so that I do not need to go through the process of rebooting into it. I know that it is possible to set up the existing os as a virtual machine, because of section 9.9 in the user guide, but the instructions for a windows host a vague for a new user. Does anyone have any more specific instructions on how to set up the vmdk file that sees the Ubuntu OS? I am running the most recent windows version of Vbox.
The MAZZTer
Volunteer
Posts: 129
Joined: 16. Sep 2008, 23:22
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu, Chromium OS, Windows
Location: Internet
Contact:

Post by The MAZZTer »

This probably isn't the best idea, since every time you switch between using it as a VM and as a non-VM, you'll have to reinstall a different set of hardware drivers. And you won't be able to use the guest additions as it will likely create problems when booting as a non-VM.

However the Virtual Disk Manager's create wizard should have the option to link a VHD to a physical disk. Assuming Ubuntu and XP are on different hard drives you can just link it to the Ubuntu drive (if not, what you want to do is impossible without sticking the WHOLE drive in a VM... and it is NOT advised to mount a drive on the physical machine and in a VM, it is very easy to corrupt!)
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

Skarloey, if you follow the Guide in the Windows Guests (sticky) for your Ubuntu install (steps are about the same, it only covers additional hardware driver stuff for Windows, something that isn't needed for Linux). Be sure to change a few steps yourself to reflect them for use with Linux.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply