|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] problem creating a new domain
Hi Folks, I am using xen1.2. I create the disk image as described in the Xen2.0 user manual chapter 5. Sorry but that won't work :-(Xen 1.2 can only export sections of physical disks (e.g. partitions, whole disks, or Xen Virtual Disks) to other domains. If you want to store filesystems in disk files, you should move to Xen 2.0-beta (soon to be Xen 2.0-release). The nearest you can get on Xen 1.2 is to create a Virtual Disk and then use that. Tying yourself to 1.2 is probably not a good idea though - Virtual Disks aren't supported by 2.0. We'd certainly prefer people to move to 2.0 now - it's stable and virtually release-ready and has a whole load of new features, improved tools and better hardware support. A good way to install a new domain's filesystem is using debootstrap (as described in the appendix of the manual). Let us know how you get on. HTH, Mark #dd if=/dev/zero of=vm1disk bs=1k seek=6144k count=1 #losetup /dev/loop1 vm1disk #mkfs -t ext3 /dev/loop1 #mount /dev/loop1 /mnt#cp -ax /<directory>/ /mnt/ /* I do this instead of copying the whole / directory because I don't want some of the directories in Dom 1 */I modify /mnt/etc/fstab to put /dev/sda1 to root # umount /dev/loop1then I put this line in /etc/xc/defaults (I used a copy of it called dom1) ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |