[Cialug] cloning workstation
kristau
kristau at gmail.com
Wed Dec 28 18:32:24 CST 2011
On Wed, Dec 28, 2011 at 3:17 PM, Dave Hala Jr <dave at 58ghz.net> wrote:
> I going to convert an existing centos 5 workstation to a VirtualBox VM
>
> I plan on doing a:
>
> dd if=/dev/sdb1 of=sdc1.img bs=1024
>
> and then do a "VBoxManage convertfromraw" to create the VDI image.
>
> My question is: the Centos workstation lives on a 250gb drive, but only
> uses about 85gb. Is there an easy way to end up with a .VDI that is
> around a 100gb or so?
>
> :) Dave
Should be possible with Clonezilla and System Rescue CD. Rough outline of steps:
1) Boot source system into System Rescue CD and re-size the partitions
to use 100GB using gparted.
2) Once that's done, reboot into CLonezilla and image the system to an
external USB drive or network share.
3) Create a VirtualBox VM with appropriately-sized virtual disks
4) Boot that VM off of the Clonezilla ISO and restore the image you
created from the physical system.
--
Tired programmer
Coding late into the night
The core dump follows
More information about the Cialug
mailing list