|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] grub.conf//menu.lst
Mehmet Can ÖNAL wrote:
Can you please post the complete grub.conf and the partition layout?
P.S. Can you please cut down all that stuff below next time?
İ attached grub.conf and df,fdisk outputs. Sorry for the below part :)
OK, in grub terms, (hd0,0) is your /boot partition. That is the one you
feed to grub.conf to find your boot files.
From your grub.conf file (with small change):
title Red Hat Enterprise Linux AS-up (2.6.9-67.EL)
root (hd0,0)
kernel /vmlinuz-2.6.9-67.EL ro root=/dev/VolGroup00/LogVol00
> rhgb quiet
initrd /initrd-2.6.9-67.EL.img
title Xen 3.0 / XenLinux 2.6
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-xen root=/dev/VolGroup00/LogVol00 ro
> rhgb
Apparently, something is missing from this file. Here is an example from
my grub.conf file:
# Xen 3.2 experiment
title CentOS (2.6.18-53.1.14.el5xen) XEN 3.2 FROM XENSOURCE
root (hd0,0)
kernel /xen.gz-3.2 com2=19200,8n1 console=com2,vga
module /vmlinuz-2.6.18-53.1.14.el5xen ro root=LABEL=/1
> console=xvc xencons=xvc
module /initrd-2.6.18-53.1.14.el5xen.img
First, the /boot disk (/dev/sda1) is given as "root" for this grub
config file. So all files in that partition are now in "/" (as Phillip
already pointed out).
Second, you need to define the kernel to load, which is Xen. The console
is attached to /dev/ttyS1 on my server as it contains an IPMI card for
remote console. You won't need those com2= console= parameters.
Third, you need to define the Linux kernel and initrd images as modules.
In your case, without the console= and xencons= parameters.
Bas.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|