LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices

Reply
 
Search this Thread
Old 09-26-2011, 02:51 PM   #1
gtludwig
Member
 
Registered: Oct 2005
Location: Brazil
Distribution: Slackware64-current
Posts: 221

Rep: Reputation: 16
virtualized real windows guest on linux host


Hi all,

I use a dual-boot machine, where almost 100% of the time I use Slackware. But there are a few occasions I need to use the installed and domain registered Windows XP.

Can I "virtualize" the OS that's installed into /dev/sda1?. If so, what's the best software to achieve this? VMware? VirtualBox?
 
Old 09-26-2011, 03:02 PM   #2
travisdh1
Member
 
Registered: Sep 2008
Distribution: Fedora
Posts: 129

Rep: Reputation: 21
It would be difficult to virtualize a currently installed windows. (It may be possible by running a backup and then restoring it to a virtual machine but would be much more difficult.) Just use a virtual machine manager to install windows. I like VirtualBox just because you'll never have to pay to upgrade or new features or what have you (if really embracing virtualization I'd actually use proxmox, but that's a whole other can of worms most people probably don't really need.) I think you can use your current windows key to run it in a virtual machine so long as it's running on the same computer and only the 1 instance at any one time but you might want to double check that as it's been a long time since I did any reading of that agreement.
 
Old 09-26-2011, 03:47 PM   #3
jefro
Guru
 
Registered: Mar 2008
Posts: 11,539

Rep: Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404
I would use a P2V app myself.
 
Old 09-26-2011, 05:28 PM   #4
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,101

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
i have migrated xp from a real machine to a virtual machine once, it was tricky but not impossible

start by creating a clean install of windows on the virtual machine, then using a shared folder copy all the files from your old machine into the virtual hard drive, once that is done boot the vm from a live cd or a Bart disk and replace the documents and settings and windows folders with the ones you copied from the real machine, reboot the vm and do a repair install of windows.
 
Old 09-26-2011, 07:40 PM   #5
jefro
Guru
 
Registered: Mar 2008
Posts: 11,539

Rep: Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404
There may be a hundred ways to do what you want.

On some VM's you can run the partition or drive in a VM. (as with all hardware changes on MS you will have to fix hal)

Can dd it to a raw image then convert to some format or run in raw on a vm.

Many many p2v apps out there. I have used a few with ease.

Can take a ntbackup with system state. Then install a generic xp in a vm then apply restore with system state.

Might be able to use some of the backup software to create a backup. The backup file of some are really virtual machines.

As to the best choice it is up to you. One or the other has various issues with your choice above.


I wouldn't think any choice is hard. Just be sure to start with a good backup safe to some remote media.
 
  


Reply

Tags
guest, os, partition, real, virtualization


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux host with windows guest virtual box Hioushi Linux - Virtualization and Cloud 8 02-17-2011 05:35 PM
Could not connect windows host to linux guest on vmware. speclinux Linux - Newbie 5 12-31-2009 04:58 AM
VirtualBox Raw Access, Windows Host, Linux Guest Guitarist88 Linux - Newbie 2 11-14-2008 04:41 PM
linux guest on vmware windows host question kpachopoulos General 1 12-16-2007 06:32 PM
Enabling copy and past Guest Linux, Host Windows XP daffybunny Linux - General 4 03-01-2007 06:02 AM


All times are GMT -5. The time now is 11:30 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration