InterviewSolution
| 1. |
Solve : Can I use Virtual machine to access a physical drive?? |
|
Answer» Hello, all! I am here with a confusing question. Hope you guys can help. What I am hoping to do, is boot into Ubuntu (drive 2) and use a Virtual Machine program to run the windows installation in Drive A. I want any and all changes I make in the virtual machine to be saved to Drive A. You can't do exactly what you are asking; but you can virtualise a Windows partition (make a VM that is a copy) and then run that in VMWare Player under Linux. There is a free tool called VMWare Converter. I used it to make a VM of the XP install on my old Shuttle and I have it on my new one and I run it under Windows 7 and also Linux Mint 9. http://www.vmware.com/products/converter/ You can also modify such a VMWare VM to run under Sun Virtualbox. http://www.sysprobs.com/physical-virtual-virtualbox-virtualbox-p2v Thank you! SAD I can not do what I wanted, but your suggestion sounds very useful~! I'm not familiar with virtual machine [VM] you could do a reasonable imitation of what you wish on VirtualBox {VB} you can save all the files wherever you want you can save what is described as an "appliance" [snapshot] so your xp install is sustainable as long as you have a reasonably current version of VB https://www.virtualbox.org/ on whatever linux host you like [your mileage may vary] if nothing else Appliances speed up installing windows on vb You can ALWAYS share the host systems content with the guest, which reduces the size of the file [xp] to 10-20g [os & programs only] in day to day use saving to state reduces start up time to 15-20 sec on my xp install I don't use XP very often, after sometime using linux, you'll FIND workarounds for all the apps you feel are windows only Quote from: Garthhh on August 03, 2012, 09:44:46 PM I'm not familiar with virtual machine [VM] I have tried using both VMWare and Virtual Box, but it seems I can not load an OS that is installed on a physical hard drive, which is what I wanted. Also, I run Windows 7, not XP, but thank you for the advice. The programs I use really are Windows only, for example, Steam, a game called Vindictus, and schoolwork for my college must be turned in with a .doc or .docx file type, which is Microsoft Word extensions. Quote from: Mayuukosan on August 04, 2012, 03:10:24 AM it seems I can not load an OS that is installed on a physical hard drive This is correct. You cannot do this. Virtualization environments run virtual machines. Quote and schoolwork for my college must be turned in with a .doc or .docx file type, which is Microsoft Word extensions. Mayuukosan, just fyi, OpenOffice and LibreOffice can both save and read files with those extensions. Documents created in OpenOffice or LibreOffice that are saved with those extensions can be opened and read with Microsoft Word. Ubuntu should have one or the other of those programs. I know this may be a bit off topic. I just wanted to mention that in case you didn't know. Quote from: JJ 3000 on August 04, 2012, 02:01:29 PM Mayuukosan, just fyi, OpenOffice and LibreOffice can both save and read files with those extensions. Documents created in OpenOffice or LibreOffice that are saved with those extensions can be opened and read with Microsoft Word. Ubuntu should have one or the other of those programs. I did not know that! Thank you! Tried it out and works great, so much happier. Quote from: Salmon Trout on August 04, 2012, 03:16:18 AM This is correct. You cannot do this. Virtualization environments run virtual machines. I'm not so sure about that. I've just been running kvm on Fedora and virt-manager gives me the option to specify a raw device as the Virtual IDE drive, so theoretically you could select your physical Windows partition. I've not tested it yet as I dont have a free physical machine to play with atm. Quote from: banjo67xxx on August 06, 2012, 02:09:41 PM I'm not so sure about that. A VM can use a real drive as storage, but you could not run a Windows install. It would protest at the hardware not being the same as when it was installed, for one thing. Quote from: Salmon Trout on August 06, 2012, 03:01:53 PM A VM can use a real drive as storage, but you could not run a Windows install. It would protest at the hardware not being the same as when it was installed, for one thing. Sorry I was forgetting that Windows was so fussy about the hardware changing. Plan B - Create a C: partition with just Windows OS on it for the bare-metal version of Windows Create a D: partition with all the user account stuff Create a virtual drive with just Windows OS on it for the virtual Windows Setup the virtual system to use the virtual C: drive and share the physical D: drive with the other copy of Windows Wow I am glad the conversation is continuing. I am surprised to see all the other information here. Just some more questions, as I am still a bit unclear... Quote from: Salmon Trout on August 06, 2012, 03:01:53 PM A VM can use a real drive as storage, but you could not run a Windows install. It would protest at the hardware not being the same as when it was installed, for one thing. The hardware would be the same, as it is the same machine. Why would it protest that the hardware is different? I have used a disc image of my Windows drive in VMWare and Virtual box with no warnings of this kind. Quote from: banjo67xxx on August 06, 2012, 02:09:41 PM I've just been running kvm on Fedora and virt-manager gives me the option to specify a raw device as the Virtual IDE drive, so theoretically you could select your physical Windows partition. I've not tested it yet as I dont have a free physical machine to play with atm. I have only SATA drives, does this matter? (Probably a stupid question but I have to ask.) I can not find an option for selecting a physical drive in either VMWare or VirtualBox. Only Disc Images. Am I not seeing the option anywhere? Quote from: banjo67xxx on August 06, 2012, 04:18:51 PM Plan B - Would this mean that the Virtual Machine and the booted Windows would keep the same settings and files? The changes on one would apply to the other? What I want is the Windows in my Virtual Machine on Ubuntu to be the same Windows that I can boot to. Same settings, same files, and if I download/change something it is the same for both. If that is what you mean, then TOTALLY YES THANK YOU. But I have the same issue as before: I can not find an option to load an OS from a drive in VMWare or VirtualBox. I am totally open to using other software if it will do what I want. I can save my Virtual Windows to my Windows drive, but it does not change any settings/files on my Windows drive. A few more questions: Since so many people say it is not an option to load an OS from another drive to use on a Virtual Machine, why is this so? Is there a difference for an OS running alone vs. virtually that would make it impossible to link them? What I mean is, is it a limitation of the virtualization software or the OS? Is there something wrong with using a Virtual Machine to run a drive with an OS? I am asking because if what I am doing is against the rules somehow, I want to know. Thank you for all your help, I am new to Virtual machines, so I thought this was common practice, I am surprised to see it is not. Quote from: Mayuukosan on August 06, 2012, 06:01:23 PM The hardware would be the same, as it is the same machine. A virtual machine runs on virtual hardware. That's why it's called a "virtual machine". It seems I have to labour this point. Anyhow, even if you could do it, you'd be in breach of the Windows license. None of these devices are present on the host machine. Quote from: Salmon Trout on August 07, 2012, 11:02:41 AM A virtual machine runs on virtual hardware. That's why it's called a "virtual machine". It seems I have to labour this point. Anyhow, even if you could do it, you'd be in breach of the Windows license. Thank you, I did not know this. I thought that it would run off of the hardware that was present. Not sure why the virtual hardware could not match the physical hardware but I will try to do some research. I also did not know it would be a license breach, thank you for letting me know. I thought that the "virtual machine" was referring only to the software not the hardware. I understand now why I can not run my Windows drive in a virtual machine inside Ubuntu, I think. Thank you, to everyone, for your help. |
|