WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

<Prev in Thread] Current Thread [Next in Thread>