Physical disk as a VM Hard Disk

Here you can provide suggestions on how to improve the product, website, etc.

Physical disk as a VM Hard Disk

Postby expert_vsion » 22. Nov 2009, 16:59

It would be useful if you could ad a disk partition or even an entire disk as external memory for the VM so you don't have to use vdi anymore,like VMware. What I'm trying to do is a bootable USB flash(it's seen as an external usb hdisk not a removable) and I want to test it under a VM so I don't have to reboot every time my PC. Right now I'm doing it with VMware ...
expert_vsion
 
Posts: 17
Joined: 20. Aug 2009, 23:46
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows XP Professional SP3

Re: Physical disk as a VM Hard Disk

Postby MarkCranness » 23. Nov 2009, 03:42

VirtualBox does support vmdk raw host disk access, see section 9.10 of the manual. Is that you mean, or something else?
MarkCranness
Volunteer
 
Posts: 875
Joined: 10. Oct 2009, 06:27
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows Server 2008 R2; Ubuntu 11.04; Windows 2000 Server; Windows XP

Re: Physical disk as a VM Hard Disk

Postby expert_vsion » 23. Nov 2009, 13:11

Nope .. that's not what I meant. In VMware you have 3 options when you want to add a new hard disk for your virtual machine. First: create a new disk image, Second: use an existing disk image, Third: use an physical disk (a real hard drive, not a image file with ext .vdi or .vmdk or .vhd ..etc). The third option is missing in VirtualBox ... :cry:
I hope it's much clearly now.
expert_vsion
 
Posts: 17
Joined: 20. Aug 2009, 23:46
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows XP Professional SP3

Re: Physical disk as a VM Hard Disk

Postby Sasquatch » 23. Nov 2009, 13:17

The third option is not missing. VMWare creates a VMDK image for that physical hard drive in the same way you have to do with VB on the command line.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Sasquatch
Volunteer
 
Posts: 17800
Joined: 17. Mar 2008, 13:41
Location: /dev/random
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux

Re: Physical disk as a VM Hard Disk

Postby expert_vsion » 23. Nov 2009, 13:59

No .. WMware with the third option use directly physical disk, it modifies master boot sector, partition boot sector ... of the physical disk. I've done this before.
For example .. i use my usb flash drive as a hard disk for virtual machine, I install an OS (portable), i remove usb and insert it in another computer and I'm able to boot on it from bios.
Is it clear now ?
expert_vsion
 
Posts: 17
Joined: 20. Aug 2009, 23:46
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows XP Professional SP3

Re: Physical disk as a VM Hard Disk

Postby Sasquatch » 23. Nov 2009, 14:46

That's the same as VB's RAW Disk access for the whole disk. Did you read the manual?
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Sasquatch
Volunteer
 
Posts: 17800
Joined: 17. Mar 2008, 13:41
Location: /dev/random
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux

Re: Physical disk as a VM Hard Disk

Postby dineshj » 23. Nov 2009, 14:52

Yes, accessing physical disk can be done by command prompt. Check this post about Access Physical Disk in VirtualBox
dineshj
 
Posts: 34
Joined: 21. Nov 2009, 07:48
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Windows Vista

Re: Physical disk as a VM Hard Disk

Postby expert_vsion » 23. Nov 2009, 20:03

Sorry .. my bad.
expert_vsion
 
Posts: 17
Joined: 20. Aug 2009, 23:46
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows XP Professional SP3


Return to Suggestions

Who is online

Users browsing this forum: No registered users and 3 guests