- Only covers the details from Windows OS
- Not supported by VMware
Ghost 11.5 or above also support vmdk file to disk
Acronis True Image
Linux V2P
(Credit to: http://pleasedonttouchthescreen.blogspot.com/2011/08/linux-v2p.html)
Here are the steps to convert a Red Hat 5.5 linux vm running on an ESX to a physical box:
Using a disk imaging tool, dump the vmdk of the vm to the internal disk of the target machine.Boot the physical box with the Red Hat CD in rescue mode
Do not mount any partitions, but select "continue" to jump into the shell.
Mount the restored partition:
#chroot /mnt/sysimage
edit the modules list and put every driver the physical machine needs.
you can see which drivers are needed by looking at modprobe.conf from another machine that has the same hw as the one you are V2P-ing.
if you don't have another machine, you can use the same target machine: just before imaging it with the source vmdk, install it from scratch with the Red Hat CD and take note of the resulting modprobe.conf
#vi /etc/modprobe.conf
here is the one i used as a reference (an HP machine)
options bnx2x disable_tpa=1
alias eth0 bnx2
alias eth1 bnx2
alias eth2 tg3
alias eth3 tg3
alias scsi_hostadapter cciss
alias scsi_hostadapter1 lpfc
alias scsi_hostadapter2 usb-storage
then you will have to rebuild the initrd image to include the needed drivers.
note that kernel version number must match the one used on your vm.
/sbin/mkinitrd -v -f /boot/initrd-2.6.18-164.el5.img 2.6.18-164.el5
and reboot.
at boot time you will probably get some errors on X initialization because the graphic card has changed: just answer yes at the reconfigure option and select 800x600 as default resolution.
No comments:
Post a Comment