Page 1 of 1
[Solved] Could vbox do a p2v like this?
Posted: 30. Aug 2009, 01:59
by cat2005
Could vbox do a p2v like this?
http://www.howtoforge.com/how-to-virtua ... ux-machine
It "sounds" easy, but I have never heard of this approach.
Re: Could vbox do a p2v like this?
Posted: 30. Aug 2009, 11:10
by Sasquatch
It can be done that way, but I've never done it like that. Only thing that comes close to what I've done, was to rescue my installation from a near-death hard disk. I copied all the files with security preservation from one partition (the near-death disk) to the new partition using a Live-CD and mounted both partitions in it. Then I changed the correct files so it would boot properly with the right partition UUID and that was it.
This is a bit more extensive though.
One thing you can also do, if you're not very sure of things, is to use CloneZilla and create an image of the Linux installation, store the image on some Samba share (Windows or other) and restore the image inside the VM. After that, drop to the rescue console like in the howto.
There are several ways to achieve a goal, pick the one you're most confident with.
Re: Could vbox do a p2v like this?
Posted: 31. Aug 2009, 01:40
by cat2005
Sasquatch wrote:It can be done that way, but I've never done it like that. Only thing that comes close to what I've done, was to rescue my installation from a near-death hard disk. I copied all the files with security preservation from one partition (the near-death disk) to the new partition using a Live-CD and mounted both partitions in it. Then I changed the correct files so it would boot properly with the right partition UUID and that was it.
This is a bit more extensive though.
One thing you can also do, if you're not very sure of things, is to use CloneZilla and create an image of the Linux installation, store the image on some Samba share (Windows or other) and restore the image inside the VM. After that, drop to the rescue console like in the howto.
There are several ways to achieve a goal, pick the one you're most confident with.
So I would load my clonezilla image (presumably ISO) into the vm when it asks for either a CD or ISO, correct?
Re: Could vbox do a p2v like this?
Posted: 31. Aug 2009, 10:05
by vbox4me2
Sort of, you boot the CZ iso, which eventually will ask (when selected) where you want to load an image from.
Re: Could vbox do a p2v like this?
Posted: 2. Sep 2009, 04:21
by cat2005
vbox4me2 wrote:Sort of, you boot the CZ iso, which eventually will ask (when selected) where you want to load an image from.
vbox4me2,
I used clonezilla today (nice tool). I had an option to make an "image" and "recovery" copy of the partition in question. The "image" resulted in folder ending "img" (does not have period before it) while the "recovery" resulted in a single file ending ".iso" (does have period before it).
I had assumed all images were iso. I must have been wrong.
Questions: Would it matter which of these I use to load into vbox? Also, what exactly is the difference between them?
Thank you again.
Re: Could vbox do a p2v like this?
Posted: 2. Sep 2009, 14:01
by Sasquatch
Maybe the recovery.iso file is bootable on it's own and can be restored without the need of the CZ disc (it's build in the ISO that's generated). Give it a try and see what happens. The end result should be the same.
Re: Could vbox do a p2v like this?
Posted: 2. Sep 2009, 21:02
by cat2005
Sasquatch wrote:Maybe the recovery.iso file is bootable on it's own and can be restored without the need of the CZ disc (it's build in the ISO that's generated). Give it a try and see what happens. The end result should be the same.
Thanks. You may mark this thread "solved".