WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-users

[Top] [All Lists]

Re: [Xen-users] grub.conf//menu.lst

To: Mehmet Can ÖNAL <mconal@xxxxxxxxxxxxx>
Subject: Re: [Xen-users] grub.conf//menu.lst
From: Bas Mevissen <abuse@xxxxxxxxxxxxxx>
Date: 2008年4月22日 16:07:11 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2008年4月22日 07:08:44 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <14047EC7C2A0254F8F9AB75EAFFDB5B6047A7954@xxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <14047EC7C2A0254F8F9AB75EAFFDB5B6047A78D9@xxxxxxxxxxxxxxxxxxxxxxx> <480DE545.5090103@xxxxxxxxxx> <14047EC7C2A0254F8F9AB75EAFFDB5B6047A7954@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.12 (Windows/20080213)
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
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: RE: [Xen-users] error when creating hvm guest with virt-manager , Ross S. W. Walker
Next by Date: Re: [Xen-users] RE: adding a second NIC , Rainer Sokoll
Previous by Thread: RE: [Xen-users] grub.conf//menu.lst , Mehmet Can ÖNAL
Next by Thread: RE: [Xen-users] grub.conf//menu.lst , Mehmet Can ÖNAL
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /