[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Partition vs disk images



I didn't find a way to directly install on the LV, but it's possible to 
install like normal to xvda and just use one partition (one could use 
more, but then it gets more complex). Then attach another LV and copy the 
the system over:
cp -ax /{bin,boot,etc,home,lib,media,mnt,opt,root,sbin,srv,tmp,usr,var} 
/mnt/vm4

create dev, proc and sys directories
change fstab and grub.conf (to use /dev/sda1 or whatever you name it)
disable selinux in /etc/selinux/config
xm create the new vm with a config file that fits

This is outlined in more detail here:
http://www.virtuatopia.com/index.php/Building_a_Xen_Virtual_Guest_Filesyst
em_using_Logical_Volume_Management_%28LVM%29
but you don't have to do all these steps, just what I did.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com




_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.