LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-07-2010, 02:17 AM   #1
sudox
LQ Newbie
 
Registered: Jul 2010
Distribution: Slackware 13.1
Posts: 26

Rep: Reputation: 0
Question Slackware Virtual System from HDD


I'm curious as to the possibility of virtualization of an OS off of a physical hard disk. I'm running Slackware 13.1 on one HDD (SATA) and Windows XP SP1 on a completely different physical HDD (PATA). Is it possible to virtualize Windows XP (Like a virtual system with virtual drives) using the physical drive that I have Windows installed on. If this is possible it would be amazingly helpful! I can understand that I, most likely, won't be able to run games through the virtual windows system (despite my hardware) but I just want to ability to access both OS's at once. Thanks for any help.
 
Old 07-07-2010, 10:00 AM   #2
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado, USA
Distribution: Slackware
Posts: 930

Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
QEMU or QEMU-KVM can use a whole physical drive. They reference it in their doumentation: http://wiki.qemu.org/download/qemu-d...ost_005fdrives

You have to be careful using this setup since both the host and guest will have access to the same physical drive. If the host tries to write to the drive while the guest is running you could end up with drive corruption.

additional LQ reference: http://www.linuxquestions.org/questi...gerous-665843/
 
Old 07-07-2010, 03:56 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,981

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
Many vendors and open source projects can make Physical to Virtual. Commonly called P2V.

You can simply dd any partition and use it as a raw or an .img. As above you may be able to convert it using qemu-img convert.

You can also run real partitions on some VM's. Do not VM the partition you booted from.
 
Old 07-24-2010, 10:00 PM   #4
sudox
LQ Newbie
 
Registered: Jul 2010
Distribution: Slackware 13.1
Posts: 26

Original Poster
Rep: Reputation: 0
Any how-to's?
 
Old 07-25-2010, 04:14 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,981

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
VMplayer, virtualbox and qemu offer ways to VM a physical drive. Unless you need to remove the physical drive, there no need to p2v it.
 
  


Reply



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
System donot boot if 2nd hdd attached and massege starting system logger GOBINDO0948 Linux - Newbie 3 07-05-2009 03:09 PM
copied Debian install from dead hdd to new hdd.now system fails to boot :S deepclutch Debian 18 02-15-2008 07:17 AM
mounting virtual hdd gsr_kashyap Linux - General 2 12-25-2006 10:54 PM
Installing ATA/IDE HDD on SATA HDD System Drahcir Linux - Hardware 10 05-31-2006 02:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:26 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration