Is it possible to create a virtual disk (and thus a virtual machine) from an existing physical machine ?
Thanks you for all your suggestions
Create a virtual disk from an existing physical machine
-
philippe_48
- Posts: 2
- Joined: 13. Sep 2008, 23:18
-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
Yes, that's possible. See the Tutorial: All about VDIs for some instructions.
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.
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.
-
fixedwheel
- Volunteer
- Posts: 1699
- Joined: 13. Sep 2008, 02:18
there is not much instructins about in the VDI Tutorial ...
boot the real machine with a g4l CD and dump the real HDD to an external USB-HDD.
enable USB and boot the virtual machine with the g4l ISO image and restore from the USB-HDD to the attached empty VDI
this way i moved a Windoze XP from a real Pentium4 hardware to a virtual machine on a core2 (?) hardware, IIRC windoze had to install some other drivers but no big problem. YMMV
g4l: http://sourceforge.net/project/showfile ... _id=119810
there is a tool from VMware to make a VMDK what i tried too, but it did not work for me ... it is a year ago, and things may have changed. AFAIK you can use VMDK with virtualbox.
enable USB and boot the virtual machine with the g4l ISO image and restore from the USB-HDD to the attached empty VDI
this way i moved a Windoze XP from a real Pentium4 hardware to a virtual machine on a core2 (?) hardware, IIRC windoze had to install some other drivers but no big problem. YMMV
g4l: http://sourceforge.net/project/showfile ... _id=119810
there is a tool from VMware to make a VMDK what i tried too, but it did not work for me ... it is a year ago, and things may have changed. AFAIK you can use VMDK with virtualbox.
-
TerryE
- Volunteer
- Posts: 3572
- Joined: 28. May 2008, 08:40
- Primary OS: Ubuntu other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
- Contact:
P, what are you trying to do? You leave too much unsaid in your Q. You can use ImDisk to loop mount a static VDI on an XP host. You can use VBoxManage or the SDK to configure your VM. So putting these together you can build VMs and launch them from a host based provisioning process.
You can also use a fixed Linux appliance, say a JeOS one plus hostSharing and fire it up and driver it akl from within a provisioning VM. Play the tunes.
You can also use a fixed Linux appliance, say a JeOS one plus hostSharing and fire it up and driver it akl from within a provisioning VM. Play the tunes.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
Google your Q site:VirtualBox.org or search for the answer before posting.
-
philippe_48
- Posts: 2
- Joined: 13. Sep 2008, 23:18
I have created a static VDI file with Virtualbox. Then I have mounted this file with ImDisk. I have formatted this disk and copied a test file in this virtual disk. Then I have tried to mount this virtual disk in a virtual machine (with Virtualbox) and I received an error message VERR_VDI_INVALID_SIGNATURE...TerryE wrote:P, what are you trying to do? You leave too much unsaid in your Q. You can use ImDisk to loop mount a static VDI on an XP host. You can use VBoxManage or the SDK to configure your VM. So putting these together you can build VMs and launch them from a host based provisioning process.
You can also use a fixed Linux appliance, say a JeOS one plus hostSharing and fire it up and driver it akl from within a provisioning VM. Play the tunes.
How can I resolve this problem ?
-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
Recreate the VDI image (remove the current one and create a new one) and format it from within a VM. Now see if you can add a file with imdisk. I think the format caused your problem.
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.
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.
-
TerryE
- Volunteer
- Posts: 3572
- Joined: 28. May 2008, 08:40
- Primary OS: Ubuntu other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
- Contact:
remember that you must use a static format and specify an offset. This is 33280 for a disk of <= 128Mb . Add 512 bytes for each extra 128Mb.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
Google your Q site:VirtualBox.org or search for the answer before posting.