Mount image on host and have it available in disk managment.

Discussions related to using VirtualBox on Windows hosts.

Mount image on host and have it available in disk managment.

Postby hyphenpipe » 7. Nov 2009, 06:07

Is it possible to mount a VDI image into the host OS and have it available in disk management?

I am aware of ImDisk and Winmount and I am successful in getting the image to mount and accessing files on the guest OS, however the drive does not show up in disk management and thus will not show up in partition magic.

Here is the deal, I am currently iscsi booting Windows XP and I was successful in getting VirtualBox to iscsi boot this install without a hitch. However I am interested in getting this particular Windows installation in a VDI image and using it that way rather than iscsi booting it through VirtualBox.

So I would like to create a blank VDI image, mount it, connect to my iscsi target and copy the partition over.

I hope someone here gets the gist of what I am talking about, and any information or help is appreciated.

Thanks!
hyphenpipe
 
Posts: 10
Joined: 15. Jul 2009, 16:06
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: None

Re: Mount image on host and have it available in disk managment.

Postby Sasquatch » 7. Nov 2009, 13:12

Why don't you start PM or other tools, like CloneZilla, from the Guest itself? It's not advised to write to Host-mounted VDI files, as it can corrupt them.
Read the Forum Posting Guide before opening a topic.
VB FAQ: Check this before asking questions.
User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions + Xorg config
Howto: Use Shared Folders
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Sasquatch
Site Moderator
 
Posts: 11032
Joined: 17. Mar 2008, 13:41
Location: Netherlands
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Windows XP, Linux

Re: Mount image on host and have it available in disk managment.

Postby MarkCranness » 7. Nov 2009, 13:42

Perhaps the <cough>Microsoft</cough> VHD format when mounted can be seen by Disk Management?
Mounting (VHD) virtual hard disks at the command line
... then clonehd or CloneVDI the VDH to a VDI.
Edit: Deleted silly idea...

I agree with Sasquatch that doing the partition copy inside the guest (Clonezilla/ubcd4win/...) would be easiest, or at least create the partition in the guest.

I have a sudden urge to mash parts of VirtualBox OSE and ImDisk together :twisted:
MarkCranness
Volunteer
 
Posts: 242
Joined: 10. Oct 2009, 06:27
Primary OS: MS Windows XP
VBox Version: PUEL
Guest OSses: Windows 2000 Server

Re: Mount image on host and have it available in disk managment.

Postby hyphenpipe » 7. Nov 2009, 14:49

Sasquatch wrote:Why don't you start PM or other tools, like CloneZilla, from the Guest itself? It's not advised to write to Host-mounted VDI files, as it can corrupt them.


Thanks, I'll give that a try. Sounds like I was trying to make it more complicated than it actually is, which I am wont to do sometimes, LOL.
hyphenpipe
 
Posts: 10
Joined: 15. Jul 2009, 16:06
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: None

Re: Mount image on host and have it available in disk managment.

Postby hyphenpipe » 7. Nov 2009, 16:30

Thanks Sasquatch, worked like a charm.

/me kicks self in head.
hyphenpipe
 
Posts: 10
Joined: 15. Jul 2009, 16:06
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: None

Re: Mount image on host and have it available in disk managment.

Postby Sasquatch » 7. Nov 2009, 17:02

hyphenpipe wrote:Thanks Sasquatch, worked like a charm.

/me kicks self in head.

Oh, flexible legs you've got there :lol:.
Read the Forum Posting Guide before opening a topic.
VB FAQ: Check this before asking questions.
User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions + Xorg config
Howto: Use Shared Folders
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Sasquatch
Site Moderator
 
Posts: 11032
Joined: 17. Mar 2008, 13:41
Location: Netherlands
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Windows XP, Linux


Return to VirtualBox on Windows Hosts

Who is online

Users browsing this forum: Ask Jeeves [Bot] and 4 guests