Hi, I have few problems installing xen2.0.7. I belive my problem is with setting grub entry for xen, since grub can not see xen.gz file. I made sure all xen files exist and i re-installed xen once from the binary and once from the source without any success. The error i always get is: - Filesystem type is ext2fs, partition type is 0x83 module /boot/vmlinuz-2.6-xen0 root=/dev/hda2 ro console=tty0 Error 15: File not found - The content of my /etc/fstab is: LABEL=/ / ext3 defaults 1 1 LABEL=/boot /boot ext3 defaults 1 2 none /dev/pts devpts gid=5,mode=620 0 0 LABEL=/export /export ext3 defaults 1 2 none /proc proc defaults 0 0 none /dev/shm tmpfs defaults 0 0 /dev/hda3 swap swap defaults 0 0 and my mount command output is /dev/hda2 on / type ext3 (rw) none on /proc type proc (rw) none on /dev/pts type devpts (rw,gid=5,mode=620) usbdevfs on /proc/bus/usb type usbdevfs (rw) /dev/hda1 on /boot type ext3 (rw) /dev/hda5 on /export type ext3 (rw) none on /dev/shm type tmpfs (rw) My grub file looks like this.... default=0 timeout=10 splashimage=(hd0,0)/grub/splash.xpm.gz title Fedora Core (2.4.22-1.2115.nptlsmp) root (hd0,0) kernel /vmlinuz-2.4.22-1.2115.nptlsmp ro root=LABEL=/ rhgb initrd /initrd-2.4.22-1.2115.nptlsmp.img title Xen-Domain0-Linux2.6.11 root (hd0,0) kernel /boot/xen-2.0.7.gz dom0_mem=150000 console=vga module /boot/vmlinuz-2.6-xen0 root=/dev/hda2 ro console=tty0 Can you advise me what is the source of my problem, and how to fix it? Thank you, Lamia Youseff _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I had the same problem and didn''t realize why at first, but if you look closely at your grub.conf file you''ll see that your other kernel doesn''t use /boot in it''s path. You should remove that from your xen kernel''s path as well and it should work. Also, you should look into using the fallback option in your grub.conf. Jon lyouseff@cs.ucsb.edu wrote:>Hi, >I have few problems installing xen2.0.7. I belive my problem is with >setting grub entry for xen, since grub can not see xen.gz file. >I made sure all xen files exist and i re-installed xen once from the binary >and once from the source without any success. The error i always get is: >- >Filesystem type is ext2fs, partition type is 0x83 >module /boot/vmlinuz-2.6-xen0 root=/dev/hda2 ro console=tty0 >Error 15: File not found >- >The content of my /etc/fstab is: >LABEL=/ / ext3 defaults 1 1 >LABEL=/boot /boot ext3 defaults 1 2 >none /dev/pts devpts gid=5,mode=620 0 0 >LABEL=/export /export ext3 defaults 1 2 >none /proc proc defaults 0 0 >none /dev/shm tmpfs defaults 0 0 >/dev/hda3 swap swap defaults 0 0 > >and my mount command output is >/dev/hda2 on / type ext3 (rw) >none on /proc type proc (rw) >none on /dev/pts type devpts (rw,gid=5,mode=620) >usbdevfs on /proc/bus/usb type usbdevfs (rw) >/dev/hda1 on /boot type ext3 (rw) >/dev/hda5 on /export type ext3 (rw) >none on /dev/shm type tmpfs (rw) > >My grub file looks like this.... >default=0 >timeout=10 >splashimage=(hd0,0)/grub/splash.xpm.gz >title Fedora Core (2.4.22-1.2115.nptlsmp) > root (hd0,0) > kernel /vmlinuz-2.4.22-1.2115.nptlsmp ro root=LABEL=/ rhgb > initrd /initrd-2.4.22-1.2115.nptlsmp.img >title Xen-Domain0-Linux2.6.11 > root (hd0,0) > kernel /boot/xen-2.0.7.gz dom0_mem=150000 console=vga > module /boot/vmlinuz-2.6-xen0 root=/dev/hda2 ro console=tty0 > > >Can you advise me what is the source of my problem, and how to fix it? > > >Thank you, >Lamia Youseff > > >_______________________________________________ >Xen-users mailing list >Xen-users@lists.xensource.com >http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> The content of my /etc/fstab is: > LABEL=/ / ext3 defaults 1 1 > LABEL=/boot /boot ext3 defaults 1 2> title Xen-Domain0-Linux2.6.11 > root (hd0,0) > kernel /boot/xen-2.0.7.gz dom0_mem=150000 console=vga > module /boot/vmlinuz-2.6-xen0 root=/dev/hda2 ro console=tty0If you have /boot on a separate partition, you need the ''root'' command in your grub config to point to that partition, and to take "/boot" off the front of the ''kernel'' and ''module'' paths. Mount doesn''t run until *after* the kernel boots, so how is grub supposed to know where to get files in /boot? So, for example, if your /boot is on /dev/hda1, your grub config should look like this: title Xen-Domain0-Linux2.6.11 root (hd0,0) kernel /xen-2.0.7.gz dom0_mem=150000 console=vga module /vmlinuz-2.6-xen0 root=/dev/hda2 ro console=tty0 I hope that solves your problem, Daniel -- Stop the infinite loop, I want to get off! http://surreal.istic.org/ Paraphernalia/Never hides your broken bones,/ And I don''t know why you''d want to try:/ It''s plain to see you''re on your own. -- Paul Simon The documentation that can be written is not the true documentation. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, I think you want to remove the " /boot" part in front. They''re in the root of (hd0,0) P lyouseff@cs.ucsb.edu wrote:>Hi, >I have few problems installing xen2.0.7. I belive my problem is with >setting grub entry for xen, since grub can not see xen.gz file. >I made sure all xen files exist and i re-installed xen once from the binary >and once from the source without any success. The error i always get is: >- >Filesystem type is ext2fs, partition type is 0x83 >module /boot/vmlinuz-2.6-xen0 root=/dev/hda2 ro console=tty0 >Error 15: File not found >- >The content of my /etc/fstab is: >LABEL=/ / ext3 defaults 1 1 >LABEL=/boot /boot ext3 defaults 1 2 >none /dev/pts devpts gid=5,mode=620 0 0 >LABEL=/export /export ext3 defaults 1 2 >none /proc proc defaults 0 0 >none /dev/shm tmpfs defaults 0 0 >/dev/hda3 swap swap defaults 0 0 > >and my mount command output is >/dev/hda2 on / type ext3 (rw) >none on /proc type proc (rw) >none on /dev/pts type devpts (rw,gid=5,mode=620) >usbdevfs on /proc/bus/usb type usbdevfs (rw) >/dev/hda1 on /boot type ext3 (rw) >/dev/hda5 on /export type ext3 (rw) >none on /dev/shm type tmpfs (rw) > >My grub file looks like this.... >default=0 >timeout=10 >splashimage=(hd0,0)/grub/splash.xpm.gz >title Fedora Core (2.4.22-1.2115.nptlsmp) > root (hd0,0) > kernel /vmlinuz-2.4.22-1.2115.nptlsmp ro root=LABEL=/ rhgb > initrd /initrd-2.4.22-1.2115.nptlsmp.img >title Xen-Domain0-Linux2.6.11 > root (hd0,0) > kernel /boot/xen-2.0.7.gz dom0_mem=150000 console=vga > module /boot/vmlinuz-2.6-xen0 root=/dev/hda2 ro console=tty0 > > >Can you advise me what is the source of my problem, and how to fix it? > > >Thank you, >Lamia Youseff > > >_______________________________________________ >Xen-users mailing list >Xen-users@lists.xensource.com >http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users