[ale] virtualize a FC6 box to a vmware image

Jeff Lightner jlightner at water.com
Thu May 3 08:44:08 EDT 2007


Programs have to be "aware of SELinux" rather than vice-versa?

 

________________________________

From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of
To: ale at ale.org
Jerry Yu
Sent: Thursday, May 03, 2007 8:26 AM
To: Atlanta Linux Enthusiasts
Subject: Re: [ale] virtualize a FC6 box to a vmware image

 

this is pretty close to my own full backup+recovery steps. should I
assume rsync is not aware of SELinux attributes?

On 5/2/07, Brian Pitts < brian at polibyte.com <mailto:brian at polibyte.com>
> wrote:

Jerry Yu wrote:
> I have a FC6 box running wordpress. It became desirable to convert it
to 
> a vmware instance.  'vmware converter' and it asked me for domain\user
> to convert a remote physical server?!   Any vmware (quick) way w/o
> doing  full backup & restore I usually do?

I don't think the vmware converter supports linux. Take a look at
http://www.vmware.com/community/thread.jspa?threadID=82173&tstart=0 .
They recommend something like

- Enable ssh access in the source system
- Create a vm for the target system
- Boot the vm with a linux live-cd (System Rescue CD or RIP are light
ones)
- Setup the network in the vm as usual 
- mount the virtual hd destination partition. Eg. mount /dev/hda
/mnt/dest
- rsync -av --numeric-ids --exclude=/dev,/proc,/sys
root at ip-source:/dev/hd(source-partition)/ /mnt/dest/
- mkdir /mnt/dest/{dev,proc,sys} 
- adjust the bootloader and fstab of the virtual system to reflect the
new root
- umount /mnt/dest
- reboot vm

-Brian
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale

 

-------------- next part --------------
An HTML attachment was scrubbed...




More information about the Ale mailing list