VirtualBox from an existing partition

I installed VirtualBox on my Ubuntu Hardy Heron installation, and I would like to use it to virtualize Windows for those rare occasions that I actually need to do something there.

Unfortunately, I don't have an installation disk at the moment, but I do have Vista already installed on a partition (it came with the machine).

Is there a way I can easily copy this partition into a .vdi virtual image?

Replay

You can download the free version of vmware converter which can do a physical to virtual machine conversion. I believe VirtualBox can run vmware VMs.

I'm in the process of doing this myself.

As Ferruccio says, vmware converter is one option. This will not work if your windows boot.ini is also loading another operating system, even if vista is the default.

There's a VirtualBox guide just for this but it was written for XP. Still but may be worth trying.

This "create new partition, xcopy stuff in" approach" guide (specifically post 5) is what I was planning on trying next.

Good luck, keep us updated!

You can do this if you're using Microsoft's virtualization program, but I don't know that you can pack Windows into a .vdi file, but there is a way to run Windows as-is off of your physical partition:

http://dotneverland.blogspot.com/2008/08/running-your-physical-windows-xp.html

There's an old version of Dot Net Rocks that was all about running Virtual Machines. A lot of it is not relevant to your specific situation, but it's a good listen, and they talk about this type of migration (ie, the tools you'll need to run on the physical machine to migrate it, etc).

http://www.dotnetrocks.com/default.aspx?showNum=114

I don't think I've actually seen exactly that from any of the virtual machine vendors. The reason, I think, is simple (assuming that the majority of virtual machines run are going to be Windows): you can't simply take an existing Windows installation and move it whole-hog onto a new machine (even onto a new virtual machine). Swapping out important components (motherboard, for example) will make the installation extremely unstable; Windows, when installed, is installed to work with the components that were there when it was installed, and moving it without a significant amount of driver prep among other things (which the MS migration tools are designed to address) will leave you with a mess.

This is amplified when you move a physical machine to a virtual machine (where you are, in effect, swapping out every hardware component).

Another option is to access the raw partition using vbox.

http://forums.virtualbox.org/viewtopic.php?f=7&t=20793&p=89806&hilit=raw+partition+vista#p89806

edit: Sorry missed DannySmurf's reply.

Category: windows Time: 2008-08-24 Views: 2

Related post

  • How to create a new partition from the existing partition? 2011-04-12

    I wanna create a new partition from the existing root partition.My root partition is about 250GB.I wanna create a new partition say 150 GB taking space from this root partition.Can anyone help me with the procedure on doing this? output: fdisk -l kar

  • Install Windows 8.1 in virtualbox from a recovery partition? 2014-09-02

    How can I access/boot a/via a specific partition (in this case, the Lenovo Recovery partition) when starting a virtual machine which should become a Windows 8.1 OS? Original Disk Layout The ThinkPad X1 Carbon 2nd Gen., holds a recovery partition in i

  • How do I make a boot loader load the existing boot loader from the first partition 2010-06-14

    I installed ubuntu using wubi and then I tried installing grub 2 but it failed. I need a way to reinstall the mbr sp it will load the windows 7 loader from the first partition. --------------Solutions------------- I don't know about Windows Vista (an

  • Creating a virtual machine in VirtualBox from a physical one 2009-06-30

    Is there any way to create a virtual machine that you can use in VirtualBox from a physical installation that you have? For instance, if I have Windows XP installed on a physical computer and want to have a virtual version of that machine on a differ

  • recovering data from damaged Linux partition 2009-07-27

    I'm running Windows XP, with an Ubuntu partition that I added. A few days ago, Ubuntu stopped booting. Trying to boot into Ubuntu just takes me into a Grub menu. When I try to navigate through the command line to c:\ubuntu\disks, I get the message th

  • Is it possible to construct a RAID 5 array from an existing disk? 2009-08-01

    I'm going to get my new small business database server in a couple days. It comes with one hard drive, but I plan on setting it up initially with a 3 disk RAID 5 system. Unfortunately, the extra drives won't be in for a few days after I get the serve

  • Will reinstalling Windows XP on an existing partition wipe out my "My Documents" folder? 2009-09-19

    I have an old laptop with a broken Windows install. It bluescreens whenever I try to reboot it. I want to just try to reinstall Windows XP, but I want to make sure that no personal files will be deleted during the process. I thought this was a given,

  • Recover from a recover partition when F11 doesn't work and windows is corrupt 2009-09-30

    I have someones presario V3000 laptop. It has a D drive which is the recovery partition. The user brought it to me and windows would no longer even boot up. I could only reload XP and try to find a way to recover from the recovery partition. However

  • Ubuntu Linux install from USB - no partition table 2010-01-06

    I am using Ubuntu Live CD version 9.10 32 bit. I can see my other FAT32 drives and access them in the Live session but when I try to install, the drives are unmounted (their shortcuts are removed from desktop) and I can't see any partition table, onl

  • Loopback mountable encryption for an existing partition image 2010-09-15

    Is there a way to encrypt an existing filesystem in a file that is mountable via loopback? I thought I had a simple plan for moving from an old notebook to a new one, but actually something does not seem to work the way I think or I'm the only one to

  • How can I create a new partition with mountpoint by splitting an existing partition? 2010-12-14

    How can I split an existing partition (NTFS) to get space for a new partition and create a mountpoint for it? --------------Solutions------------- You need to boot from a live CD or USB and use gparted to partition your drive. It should be called som

  • Why can't I resize my existing partition? 2011-03-01

    I just finished downloading my copy of Lion and wanted to install it on a new second partition. I freed up just over 50 GBs from my hard drive and am now stuck trying to shrink my existing partition. I'm using the Disk Utility, but am continually get

  • How to copy GNU/Linux installation from a smaller partition to a bigger partition? 2011-05-04

    I got a new hard disk for my laptop and I want to move my Gentoo installation from old HDD to new. Most simple guides recommend use of dd to copy the whole partition byte by byte. I'm moving to the new drive because I don't have enough space on the o

  • Installation doesn't detect existing partitions 2011-11-12

    I am trying to install Ubuntu 11.10 in a dual boot with my existing Windows 7 but the installer does not detect any existing partitions. I have tried resetting my BCD using EasyBCD and doing fixmbr from the Windows startup disc. A while ago I had to

  • Merging unallocated space to existing partition in Raid5 2012-06-08

    I have Dell PowerEdge Server T310 built with a Raid5 (3 x 300gb) Windows Server 2008 R2 SAS controller PERC H700. I have recently added a 4th drive 300gb thru Dell's application "Openmanage". The whole procedure went well. Now I want to merge th

  • In the installer, when splitting an existing partition, which side is which? 2012-06-13

    I'm installing Ubuntu (or Xubuntu/Lubuntu/Kubuntu) alongside Windows 7/XP. I got to the screen that says, "Allocate drive space by dragging the slider below." On the following screen, I'm not sure whether the right side or the left side is for U

  • Windows Vista Recovery DVD does not boot or does not see existing partitions 2012-07-02

    I have a Fujitsu / Siemens PC with Windows Vista installed and I am trying to repair it after I had to replace the motherboard: The hard disk has three Windows partitions (partition 2 is marked as bootable). I checked this using Linux RIP, which I ha

  • How to move /var to another existing partition? 2012-09-19

    I have a / partition which contains /var and is too small. I have another existing partition with enough space. Here is my df: File system Size. Occ. Avai. %Ful. Monté sur /dev/sda1 5,0G 4,5G 289M 95% / tmpfs 242M 0 242M 0% /lib/init/rw udev 10M 2,7M

  • How to use existing partition in preseeded installation? 2012-09-22

    I have a machine with 4 partitions: sda1 - root sda2 - swap sda3 - tmp sda4 - documents When I run the installation I don't want to repartition the disk. Now I read on http://www.debian.org/releases/stable/i386/apbs01.html.en that it is not possible

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 1.747 (s). 13 q(s)