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

xen-devel

Re: [Xen-devel] PV Grub Questions

To: Todd Deshane <deshantm@xxxxxxxxx>
Subject: Re: [Xen-devel] PV Grub Questions
From: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>
Date: Wed, 27 Aug 2008 10:02:30 +0100
Cc: xen-devel mailing list <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 27 Aug 2008 02:02:55 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1e16a9ed0808261932yb522922xbf51b2d41f0e34ec@xxxxxxxxxxxxxx>
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>
Mail-followup-to: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>, Todd Deshane <deshantm@xxxxxxxxx>, xen-devel mailing list <xen-devel@xxxxxxxxxxxxxxxxxxx>
References: <1e16a9ed0808261257p763cb14uc6a3b28513cf94d2@xxxxxxxxxxxxxx> <20080826234505.GF4569@implementation> <1e16a9ed0808261932yb522922xbf51b2d41f0e34ec@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.12-2006-07-14
Todd Deshane, le Tue 26 Aug 2008 22:32:52 -0400, a écrit :
> > Yes.  The MBR of a partition is supposed to contain a real bootloader,
> > not a PV bootloader, thus the setup command doesn't hold.  quit only
> > makes sense when running from a Unix shell, so doesn't make sense here,
> > reboot or halt can be used instead.
> 
> So do you mean that this is fundamental to a PV guest or just under these
> circumstances?

As Gerd explained, that's fundamental to a PV guest.  I really don't
want to implement stage1/1.5/2 while the domain builder can just boot
PV-GRUB directly :)

> grub> root (hd0,1)
> root (hd0,1)
> grub> setup (hd0)
> setup (hd0)
>  Checking if "/boot/grub/stage1" exists... yes
>  Checking if "/boot/grub/stage2" exists... yes
>  Checking if "/boot/grub/e2fs_stage1_5" exists... yes
>  Running "embed /boot/grub/e2fs_stage1_5 (hd0)"...  16 sectors are embedded.
> succeeded
>  Running "install /boot/grub/stage1 (hd0) (hd0)1+16 p
> (hd0,1)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded
> Done.
> grub> quit
> quit

Yes, but that installed the real grub, one that is loaded by a real BIOS
with real IDE disks etc, not PV-GRUB.

> Started domain guest1
>                      Xen Minimal OS!
>... etc

Yes, that is Mini-OS boot messages, not useful here actually.

Samuel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel