These are the steps I followed:
Ad 3) YaST dirinstall
a) Create a root FS image
- create disc image file (dd if=/dev/zero of=img ...)
- create file system (mkXYZfs img)
- mount image (mount -o loop img ...)
b) start yast2 dirinstall module, select mounted directory as a target,
select required packages (don't forget to select XEN kernel, you need
some of the kernel modules in the root FS)
c) create /etc/fstab in the root FS
d) umount image/FS
e) configure and start XEN (use the image/FS as storage)
When I use the config below, when starting a new domain with
xm create configfile vmid=1 -c .... I get the following error in the
start up sequence:
"kernel panic - not syncing: VFS: Unable to mount root fs on
kernel = "/boot/vmlinuz-220.127.116.11-21.7-xen"
memory = 100
name = "suse931"
nics = 1
ip = "18.104.22.168"
disk = ['file:/home/name/vm1disk,sda1,w']
root = "/dev/sda1"