[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Experiencing boot problems with xen3




On 31 Aug 2006, at 7:53 PM, Eric Benton wrote:

iambrockz@xxxxxxxxx wrote:
iambrockz@xxxxxxxxx wrote:
Eric Benton wrote:
Hi,

I'm trying to install xen3 over a FC5 linux system.
I had downloaded xen3 sources and built them with the following commands:
make world
make install

Then, I added the following lines to grub.conf -

title Xen 3.0
      root (hd0,3)
      kernel /boot/xen-3.0.gz dom0_mem=262144
      module /boot/vmlinuz-2.6-xen0 root=/dev/sda4 ro console=tty0

But I'm getting Error 15: file not found when trying to boot.
I saw that other people got this error as well but I couldn't resolved it...

Please advise me on how to solve this problem.

Thanks in advanced,
Eric.

------------------------------------------------------------------- -----

total 16252
drwxr-xr-x  3 root root    4096 Aug 31 10:18 .
drwxr-xr-x 23 root root    4096 Aug 31 12:30 ..
-rw-r--r-- 1 root root 63847 Mar 14 23:19 config-2.6.15-1.2054_FC5smp
-rw-rw-r--  1 root root   60474 Aug 31 10:18 config-2.6.16.13-xen
-rw-r--r-- 1 root root 66118 Aug 8 23:27 config-2.6.17-1.2174_FC5smp
drwxr-xr-x  2 root root    4096 Aug 31 12:12 grub
-rw-r--r-- 1 root root 1022815 Aug 30 02:50 initrd-2.6.15-1.2054_FC5smp.img -rw-r--r-- 1 root root 1044087 Aug 31 02:39 initrd-2.6.17-1.2174_FC5smp.img -rw-r--r-- 1 root root 831559 Mar 14 23:19 System.map-2.6.15-1.2054_FC5smp -rw-rw-r-- 1 root root 726886 Aug 31 10:18 System.map-2.6.16.13-xen -rw-r--r-- 1 root root 852903 Aug 8 23:27 System.map-2.6.17-1.2174_FC5smp -rw-r--r-- 1 root root 4131330 Aug 31 10:18 vmlinux- syms-2.6.16.13-xen -rw-r--r-- 1 root root 1564844 Mar 14 23:19 vmlinuz-2.6.15-1.2054_FC5smp
-rw-r--r--  1 root root 1534498 Aug 31 10:18 vmlinuz-2.6.16.13-xen
lrwxrwxrwx 1 root root 21 Aug 31 10:18 vmlinuz-2.6.16-xen - > vmlinuz-2.6.16.13-xen -rw-r--r-- 1 root root 1803745 Aug 8 23:27 vmlinuz-2.6.17-1.2174_FC5smp lrwxrwxrwx 1 root root 21 Aug 31 10:18 vmlinuz-2.6-xen -> vmlinuz-2.6.16.13-xen
-rw-r--r--  1 root root  223175 Aug 31 10:13 xen-3.0.2-3.gz
lrwxrwxrwx 1 root root 14 Aug 31 10:13 xen-3.0.gz -> xen-3.0.2-3.gz lrwxrwxrwx 1 root root 14 Aug 31 10:13 xen-3.gz -> xen-3.0.2-3.gz lrwxrwxrwx 1 root root 14 Aug 31 10:13 xen.gz -> xen-3.0.2-3.gz
-rw-r--r--  1 root root 2586399 Aug 31 10:13 xen-syms-3.0.2-3

------------------------------------------------------------------- -----

/dev/sda4 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sda6 on /mnt/win-e type ntfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
automount(pid2157) on /net type autofs (rw,fd=4,pgrp=2157,minproto=2,maxproto=4)

------------------------------------------------------------------- -----

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You do not have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /, eg.
#          root (hd0,3)
#          kernel /boot/vmlinuz-version ro root=/dev/sda4
#          initrd /boot/initrd-version.img
#boot=/dev/sda
default=2
timeout=10
splashimage=(hd0,3)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.17-1.2174_FC5smp)
    root (hd0,3)
kernel /boot/vmlinuz-2.6.17-1.2174_FC5smp ro root=LABEL=/ rhgb quiet
    initrd /boot/initrd-2.6.17-1.2174_FC5smp.img
title Xen 3.0 / XenLinux 2.6
    root (hd0,3)
       kernel /boot/xen-3.0.gz dom0_mem=262144
    module /boot/vmlinuz-2.6-xen0 root=LABEL=/ ro console=tty0
#title Fedora Core (2.6.15-1.2054_FC5smp)
#    root (hd0,3)
# kernel /boot/vmlinuz-2.6.15-1.2054_FC5smp ro root=LABEL=/ rhgb quiet
#    initrd /boot/initrd-2.6.15-1.2054_FC5smp.img
title Windows XP
    rootnoverify (hd0,0)
    chainloader +1


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

*snaPP*

module /boot/vmlinuz-2.6-xen0 root=/dev/sda4 ro console=tty0

vs.

lrwxrwxrwx 1 root root 21 Aug 31 10:18 vmlinuz-2.6-xen -> vmlinuz-2.6.16.13-xen

change it ...


or

ln -s /boot/vmlinuz-2.6-xen  /boot/vmlinuz-2.6-xen0


Stefan





_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

ln -s /boot/vmlinuz-2.6.16.13-xen   /boot/vmlinuz-2.6-xen0

sounds better ;-)

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

Thanks!
Didn't notice that :)

Anyway, I just compiled the sources and follow the directions from the README file, so I guess it needs a little fix.

A little hard to find but take a look at http://wiki.xensource.com/ xenwiki/ InstallationNotes#head-64f7b0db4fee44809a97a827e92fa9ed27a732a8 (Miscellaneous Installation Notes) which discusses the -xen versus - xen0/xenU kernel. So I would caution against linking a -xen0 as it may cause you headaches in the future.

James


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.