Skip to contentSkip to conversation

Installing Xen on FC3

DISCUSSION Steven Hand 1 participant 1 message Apr 5, 2005 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 4 lines

Please forgive if this is not the right list to post this question on but I have tried several combinations and have become frustrated enough to ask for some assistance on trying to get Xen going.

The right lists are [email protected] (for development questions) and [email protected] (for more general user questions). You can sign up at http://lists.xensource.com.

Quoted 9 lines

I downloaded xen-2.0.5-install.tgz and found the few dependency's it needed and was able to successfully run the install.sh script and install everything.

Here is what I currently have in my menu.lst/grub.conf file. I have tried *several* combinations of things but nothing has worked so far. The example listed in the README text file that comes with Xen said to use /boot/xen.tgz etc... but that always returned Error 15: File no Found.

The README assumes that you have no special /boot partition (i.e. that the contents of /boot are on the / filesystem). As noted in the comments at the top of your grub config, your system does have a special /boot partition, and hence paths are relative to that.

Quoted 1 line

The current file doesn't return an error but the machine very quickly resets.

The "path problem" looks ok with the below config (assuming that you have files xen.gz and vmlinuz-2.6.10-xen0 under /boot). There are a few other errors though:

(1) "kernel /xen.gz dom0_mem=131072 ro console=vga" ; xen doesn't take a 'ro' option, so just remove that

(2) "module /vmlinuz-2.6.10-xen0 ro root=/dev/hda0"; you have a bogus root partition (/dev/hda0) -- there's no such device. Not sure what this should be; your FC3 install is using a logical volume manager so you may be able to use this directly (with relevant support in the kernel and/or initrd), or you may wish to directly specify the 'real' partition if you're not using raid.

(3) "module /initrd-2.6.9-1.667.img"; this initrd looks like it belongs to the FC3 kernel and is unlikely to work with the xen0 kernel.

You say the machine restarts very quickly; perhaps you should remove the lines "splashimage" and "hiddenmenu" and see if you get any console output. You may wish to add the option "noreboot" to the "kernel /xen.gz ..." line if you find things rebooting too quickly.

HTH,

S.

Quoted 25 lines

Perhaps someone can share their menu.lst file from a FC3 machine or shed some insight into how to properly configure grub.

[root@localhost grub]# cat menu.lst

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
#          initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu

title Xen 2.0 / XenLinux 2.6.10
root (hd0,0)
kernel /xen.gz dom0_mem=131072 ro console=vga
module /vmlinuz-2.6.10-xen0 ro root=/dev/hda0
module /initrd-2.6.9-1.667.img

Quoted 3 lines

title Fedora Core (2.6.9-1.667)

       root (hd0,0)
       kernel /vmlinuz-2.6.9-1.667 ro root=/dev/VolGroup00/LogVol00 rhgb quie

t

Quoted 9 lines
       initrd /initrd-2.6.9-1.667.img

[root@localhost grub]#

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel