[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] PV Grub Questions

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.


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.