All of lore.kernel.org
 help / color / mirror / Atom feed
* Installing Xen on FC3
@ 2005-04-04 12:42 ` David Rhodus
  2005-04-05  7:48   ` Steven Hand
  0 siblings, 1 reply; 2+ messages in thread
From: David Rhodus @ 2005-04-04 12:42 UTC (permalink / raw)
  To: xen-devel

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.

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 current file doesn't return an error but the machine very
quickly resets.

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


title Fedora Core (2.6.9-1.667)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-1.667 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.9-1.667.img

[root@localhost grub]#

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Installing Xen on FC3
  2005-04-04 12:42 ` Installing Xen on FC3 David Rhodus
@ 2005-04-05  7:48   ` Steven Hand
  0 siblings, 0 replies; 2+ messages in thread
From: Steven Hand @ 2005-04-05  7:48 UTC (permalink / raw)
  To: drhodus; +Cc: xen-devel, Steven.Hand


>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 xen-devel@lists.xensource.com (for development  
questions) and xen-users@lists.xensource.com (for more general user
questions). You can sign up at http://lists.xensource.com.  

>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. 

>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.



>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
>
>
>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
>        initrd /initrd-2.6.9-1.667.img
>
>[root@localhost grub]#
>
>
>_______________________________________________
>Xen-devel mailing list
>Xen-devel@lists.xensource.com
>http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-04-05  7:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <sdrhodus@gmail.com>
2005-04-04 12:42 ` Installing Xen on FC3 David Rhodus
2005-04-05  7:48   ` Steven Hand

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.