Use physical hard disk

This is for discussing general topics about how to use VirtualBox.
Post Reply
mirmit
Posts: 1
Joined: 13. Dec 2011, 11:58
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Windows, Linux

Use physical hard disk

Post by mirmit »

Hi,

I would like to know if it is possible to start a virtual machine from an actual hard drive. The idea would be to have a disk capable to start a machine, but being able to use the same system in a VirtualBox environment - without any data transfer.

Thanks
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Use physical hard disk

Post by mpack »

See the "Howtos and Tutorials" forum, for advice on Win7 or XP in both virtual and native. I'm not aware of a similar tutorial for Linux guests, but you can ask about that in the "Linux Guests" forum.

Note that by using the physical hard disk you lose one of the principle advantages of a VM, i.e. that if you trash the VM then you can just delete it with no harm done to your host.
cioma
Posts: 6
Joined: 18. Feb 2010, 10:33
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: WinXP, Ubuntu 9.10

Re: Use physical hard disk

Post by cioma »

It's called RAW mode, look it up in "advanced" part of VB tutorial
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Use physical hard disk

Post by mpack »

Raw mode is involved, yes, but use of that feature alone will result in a corrupted hard disk partition, not an image which can be safely shared between native and virtual. It would also lead to additional problems, such as continual need to reactivate Windows. Read the tutorial I referred to, it will cover the important bases, at least for Windows guests.
philippe44
Posts: 45
Joined: 31. Jul 2008, 20:56
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Kubuntu, misc Linux, XP

Re: Use physical hard disk

Post by philippe44 »

Works fine if Linux is the system that can be Native or VM. Windows can be done, as said above , but is a pain, so I recommend using it always Native (I've done both, this is from experience :-). If this is what you want to do, let me know in case the guides found in that forum are not clear, I'll send you my own version
Post Reply