[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] configurations for domU installation
Hullo Everybody I am trying to install slackware 13 as a guest OS on VM and i am using Citrix Xen platform and i am failing below are my steps [root@virtualintranet /]# fdisk -l Disk /dev/sda: 1998.2 GB, 1998233534464 bytes 255 heads, 63 sectors/track, 242938 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes  Device Boot Start End Blocks Id System /dev/sda1 * 1 523 4194304 83 Linux Partition 1 does not end on cylinder boundary. /dev/sda2 523 1045 4194304 83 Linux /dev/sda3 1045 242938 1943010845+ 8e Linux LVM [root@virtualintranet local]# xe sr-create host-uuid=<>content-type=user name-label="Local SR" shared=false device-config:device=/dev/sda3 type=lvm [root@virtualintranet local]# xe vm-install template="Other install media" new-name-label=PVG1 vm-uuid=xxxx Â[root@virtualintranet local]# xe vm-param-set uuid=xxxx ÂPV-bootloader="pygrub" [root@virtualintranet local]# xe vm-param-set uuid=xxxx PV-args="console=tty0 xencons=tty [root@virtualintranet local]# xe network-list [root@virtualintranet local]# xe vif-create network-uuid=<> vm-uuid=<> mac=random device=0 I renamed the Volume group to XenVG [root@virtualintranet slack]# lvcreate âL 50G root ân XenVG [root@virtualintranet slack]# mkfs ât ext3 /dev/XenVG/root [root@virtualintranet slack]# mount /dev/XenVg/root /xen [root@virtualintranet slack]# lvcreate âL 1G swap ân XenVG [root@virtualintranet slack]# mkswap /dev/XenVG/swap [root@virtualintranet slack]# mount /dev/XenVg/root /xen  I then edited the /etc/fstab [root@virtualintranet ]# mkdir xen [root@virtualintranet xen ]# mkdir images [root@virtualintranet xen ]# mkdir domU [root@virtualintranet xen]# mount /dev/XenVg/root /xen The file âslackware.13-0.x86.20090904.img.tar.bz2â is in the xen directory [root@virtualintranet images]# bunzip2 slackware.13-0.x86.20090904.img.tar.bz2 Â[root@virtualintranet images ]# tar xvf slackware.13-0.x86.20090904.img.tar slackware.13-0.x86.img slackware.13-0.x86.xen3.cfg slackware.13-0.x86.xen3.pygrub.cfg [root@virtualintranet sl]# Edit the /etc/fstab file [root@virtualintranet /]# cat etc/fstab LABEL=root-uovktnyh / ext3 defaults 1 1 /var/swap/swap.001 swap swap defaults 0 0 /dev/XenVG/swap swap swap defaults 0 0 none /dev/pts devpts defaults 0 0 none /dev/shm tmpfs defaults 0 0 none /proc proc defaults 0 0 none /sys sysfs defaults 0 0 /dev/XenVG/root /slack ext3 defaults 1 2 /opt/xensource/packages/iso/XenCenter.iso /var/xen/xc-install iso9660 loop,ro 0 0 Fetaure out the /etc/mtab file [root@virtualintranet /]# cat etc/mtab /dev/sda1 / ext3 rw 0 0 none /proc proc rw 0 0 none /sys sysfs rw 0 0 none /dev/pts devpts rw 0 0 none /dev/shm tmpfs rw 0 0 /opt/xensource/packages/iso/XenCenter.iso /var/xen/xc-install iso9660 ro,loop=/dev/loop0 0 0 none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0 sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0 /dev/mapper/XenVG-root /slack ext3 rw 0 0 /xen/slackware.13-0.x86.img /slack/home/mkk/xen-mounts/slackware_domU ext3 rw,loop=/dev/loop1 0 0 Output of the df- command: [root@virtualintranet /]# df -h ÂFilesystem Size Â Used  Avail  Use%  Mounted on /dev/sda1 4.0G  2.3G Â 1.6G Â 60%  / none 376M  Â0 Â 376M  ÂÂ0% /dev/shm/opt/xensource/packages/iso/XenCenter.iso  44M 44M 0 100% /var/xen/xc-install /dev/mapper/XenVG-root  79G 20G 56G 27%
[root@virtualintranet /]# cp -dpR /lib/modules/Â /xen/domU/ [root@virtualintranet
/]# Âls /boot/{init*,vm*} /boot/initrd-2.6.27.42-0.1.1.xs0.5.0.47.111160kdump.img /boot/vmlinuz-2.6.27.42-0.1.1.xs0.5.0.47.111160kdump /boot/vmlinuz-2.6-xen /boot/initrd-2.6.27.42-0.1.1.xs0.5.0.47.111160xen.img /boot/vmlinuz-2.6.27.42-0.1.1.xs0.5.0.47.111160xen /boot/vmlinuz-kdump /boot/initrd-2.6-xen.img /boot/vmlinuz-2.6.34.4 /boot/vmlinuz ÂÂÂÂÂÂÂÂÂÂÂÂ/boot/vmlinuz-2.6.34.4.old
[root@virtualintranet
/ ]# umount Âxen/ [root@virtualintranet /]# xe vm-start uuid=xxxx Caller not allowed to perform this operation. message: illegal kernel path How can I fix these Xen Guest Boot Problems and what other options can I have since slackware 13 does not support pygrub and grub2 . Thanx _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |