Re: [SLUG] Can I load a vmware image to drive?

From: Russ Wright (rwrigh10@tampabay.rr.com)
Date: Tue May 15 2007 - 20:32:11 EDT


On Sat, 2007-05-12 at 09:16 -0400, Chris Mathey wrote:

> It's possible however involved. It would entail booting into the VM and
> creating an image of the disk (partimage,g4u,acronis,et al).
> You would then deploy the image on the physical disk.
> This will surely result in a kernel panic if you try to boot.
>
> Before you boot the first time load up system rescue CD and mount the
> physical disk to /mnt/sysimage
> then
> chroot /mnt/sysimage
>
> edit /etc/modules.conf
> Remove scsi alias with BusLogic and each eth nic with pcnet32
> Check the /etc/modules on your current working build for hints on the
> correct modules.
> Make sure you also edit /etc/fstab
>
> goto /boot and backup your initrd-2.x.y-zz.img
> then issue the command:
> mkinitrd -v -f /boot/initrd-2.x.y-zz.img 2.x.y-zz
>
> reboot..
> Now if you are lucky it will boot and the rest of the hardware will be
> auto detected.
>
> *note I have not actually performed this ymmv. I have done a physical to
> virtual with linux and the steps are the same just different modules.conf.
>
Seems it might just be easier to go through all the set steps and then
ghost it. Looks like ti will be just as much work to transfer that
image.

Regards
Russ

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 16:24:08 EDT