[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] Trying to get CentOS guest running, but xm cant find the kernel image.
I'm trying to get xen working on a SuSE box running CentOS as a guest. I installed SuSE 10.1 and it also installed xen kernels which boot fine, other than they boot into non graphical mode. So I selected a couple of underused partitions and did a fresh install of CentOS 4.3. Then I downloaded xen-3.0.1-install-x86_64.tgz (this is an Intel 6300 duo core system) and did a make world and a make install. This was all while running the stock CentOS kernel. I ended up with this in /boot: config-2.6.16.29-xenU message.ja vmlinuz-2.6.9-34.ELsmp config-2.6.9-34.EL System.map-2.6.16.29-xenU vmlinuz-2.6-xenU config-2.6.9-34.ELsmp System.map-2.6.9-34.EL xen-3.0.3-0.gz grub System.map-2.6.9-34.ELsmp xen-3.0.gz initrd-2.6.9-34.EL.img vmlinux-syms-2.6.16.29-xenU xen-3.gz initrd-2.6.9-34.ELsmp.img vmlinuz-2.6.16.29-xenU xen.gz lost+found vmlinuz-2.6.16-xenU xen-syms-3.0.3-0 message vmlinuz-2.6.9-34.EL I obviously missed the step to create an initrd but that's not my current problem. So I booted into the SuSE xen kernel and did a xm create -c myxen vmid=1 Using config file "myxen". Error: Kernel image does not exist: /boot/vmlinuz-2.6.16.29-xenU That didn't work. It makes no sense that I would have to have a copy of that kernel locally does it? I thought that xen would look at the configuration, the /etc/fstab on the CentOS system and try to load the kernel from there. After all, that's where install put it. So xm isn't finding it. Why? Here's the disk layout. fstab from the CentOS root. /dev/hda1 / ext3 defaults 1 1 /dev/hda7 /boot ext3 defaults 1 2 none /dev/pts devpts gid=5,mode=620 0 0 none /dev/shm tmpfs defaults 0 0 /dev/hda2 /home ext3 defaults 1 2 none /proc proc defaults 0 0 none /sys sysfs defaults 0 0 fdisk -l /hda /dev/hda3 swap swap defaults 0 0 Device Boot Start End Blocks Id System /dev/hda1 * 1 1275 10241406 c W95 FAT32 (LBA) /dev/hda2 1276 2581 10490445 83 Linux /dev/hda3 2582 2712 1052257+ 82 Linux swap / Solaris /dev/hda4 2713 14592 95426100 f W95 Ext'd (LBA) /dev/hda5 4019 9000 40017883+ 83 Linux /dev/hda6 9001 14592 44917708+ 83 Linux /dev/hda7 2713 2725 104359+ 83 Linux (This is CentOS boot) /dev/hda8 2726 4018 10385991 8e Linux LVM ls -lR /dev/VolGroup00/ /dev/VolGroup00/: total 0 lrwxrwxrwx 1 root root 31 2006-11-28 09:17 LogVol00 -> /dev/mapper/VolGroup00-LogVol00 (This is my CentOS root) lrwxrwxrwx 1 root root 31 2006-11-28 09:17 LogVol01 -> /dev/mapper/VolGroup00-LogVol01 (CentOS swap) lrwxrwxrwx 1 root root 31 2006-11-28 09:17 LogVol02 -> /dev/mapper/VolGroup00-LogVol02 (Centos home) Here is my myxm config file. # Kernel image file and (optional) ramdisk (initrd). kernel = "/boot/vmlinuz-2.6.16.29-xenU" ramdisk = "/boot/initrd-2.6.9-34.ELsmp.img" memory = 64 name = "ExampleDomain" vif = [ '' ] disk = [ 'phy:VolGroup00-LogVol00,hda1,w' ] disk = [ 'phy:VolGroup00-LogVol02,hda2,w' ] disk = [ 'phy:hda7,hda7,w' ] disk = [ 'phy:VolGroup00-LogVol01,hda3,w' ] dhcp="dhcp" root = "/dev/hda1 ro" extra = "4" xm create -c myxen vmid=1 Using config file "myxen". Error: Kernel image does not exist: /boot/vmlinuz-2.6.16.29-xenU _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |