All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Schwinge <tschwinge@gnu.org>
To: Andrew Yates <andrew@andrewyates.net>,
	Eldon Koyle <esk@cc.usu.edu>,
	"&#317;ubom??r Kundr??k" <lkundrak@skosi.org>,
	Ognyan Kulev <ogi@fmi.uni-sofia.bg>,
	Arun Prasannan <csuead@warwickcompsoc.co.uk>,
	bug-hurd@gnu.org
Cc: grub-devel@gnu.org
Subject: Xen vs. GRUB
Date: Wed, 3 Jan 2007 13:09:25 +0100	[thread overview]
Message-ID: <20070103120925.GJ25718@fencepost.gnu.org> (raw)
In-Reply-To: <20070102212114.GF4946@bouh.residence.ens-lyon.fr>

[-- Attachment #1: Type: text/plain, Size: 1542 bytes --]

[Cced to <grub-devel@gnu.org>.]

Hello!

This is about porting GRUB to Xen to allow booting a GNU/Hurd system as a
Xen domU.

GNU/Hurd systems use GNU Mach as a microkernel and have a GRUB
configuration like the following one, which is currently not translatable
to a Xen configuration:

#v+
title Debian GNU/Hurd
kernel (hd0,5)/boot/gnumach.gz \
  root=device:hd0s6
module (hd0,5)/hurd/ext2fs.static \
  --multiboot-command-line=${kernel-command-line} \
  --host-priv-port=${host-port} \
  --device-master-port=${device-port} \
  --exec-server-task=${exec-task} \
  -T typed ${root} $(task-create) $(task-resume)
module (hd0,5)/lib/ld.so.1 \
  /hurd/exec \
  $(exec-task=task-create)
#v-


On Tue, Jan 02, 2007 at 10:21:14PM +0100, Samuel Thibault wrote:
> Thomas Schwinge, le Tue 02 Jan 2007 12:10:49 +0100, a ?crit :
> > On Tue, Jan 02, 2007 at 01:11:05AM +0000, Samuel Thibault wrote:
> > > A crude first ugly patch.
> > 
> > I wondered how you got the thing to boot, wondered if you had also ported
> > GRUB to Xen along the way, but then I saw the patch for
> > `kern/bootstrap.c'.  :-)

[Samuel there hard-coded the above quoted ``module [...]'' lines.]

> ;)
> 
> Yes, the problem is that Xen is a bit Linux-oriented, and as such the
> parameter is called "ramdisk", can ship only one file, and doesn't have
> a command line separate from the kernel's...

Is there a consensus that GRUB (or rather GRUB2) should be ported to
allow them to run in a Xen environment?


Regards,
 Thomas

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 191 bytes --]

       reply	other threads:[~2007-01-03 12:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20060419-172735.sv33391.66041@savannah.gnu.org>
     [not found] ` <20070102-021104.sv13138.9176@savannah.gnu.org>
     [not found]   ` <20070102111049.GG25718@fencepost.gnu.org>
     [not found]     ` <20070102212114.GF4946@bouh.residence.ens-lyon.fr>
2007-01-03 12:09       ` Thomas Schwinge [this message]
2007-01-08 18:35         ` Xen vs. GRUB Samuel Thibault
2007-01-08 18:56           ` Ian C. Blenke
2007-01-09  2:07             ` Samuel Thibault
2007-01-26 18:46         ` Yoshinori K. Okuji
2007-02-04  6:34           ` Tristan Gingold

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070103120925.GJ25718@fencepost.gnu.org \
    --to=tschwinge@gnu.org \
    --cc=andrew@andrewyates.net \
    --cc=bug-hurd@gnu.org \
    --cc=csuead@warwickcompsoc.co.uk \
    --cc=esk@cc.usu.edu \
    --cc=grub-devel@gnu.org \
    --cc=lkundrak@skosi.org \
    --cc=ogi@fmi.uni-sofia.bg \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.