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/
Home Products Support Community News


Re: [Xen-devel] PV Grub Questions

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] PV Grub Questions
From: Gerd Hoffmann <kraxel@xxxxxxxxxx>
Date: Wed, 27 Aug 2008 09:59:15 +0200
Cc: deshantm@xxxxxxxxx, xen-devel mailing list <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 27 Aug 2008 01:01:38 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C4DA27A5.1C836%keir.fraser@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C4DA27A5.1C836%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird (X11/20080723)
Keir Fraser wrote:
> On 26/8/08 20:57, "Todd Deshane" <deshantm@xxxxxxxxx> wrote:
>> root (hd0,1)
>> setup (hd0)
>> boot (or quit)
>> In this case however setup and quit are unknown commands.
>> Is that expected?
> Aren't setup and quit only available when running grub as a utility rather
> than in bootloader mode?

quit is utility only.  install/setup works in grub too, and in fact it
was the only way to install grub to disk in the very early grub days:
First "cat stage1 stage2 > /dev/fd0", then boot from the floppy, then
install grub on the hard disk.

For pvgrub install/setup that doesn't make sense at all because it isn't
BIOS-loaded from the guest hard disk in the first place.  You have to
pass in the path to the config file via
extra="(hd0,0)/boot/grub/menu.lst" to make it display a menu though.


Xen-devel mailing list