From: Matthew <Matthew@centrum.sk>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: grub 2 and booting xen dom0
Date: Mon, 25 Feb 2008 10:50:15 +0100 [thread overview]
Message-ID: <47C28F57.9080101@centrum.sk> (raw)
In-Reply-To: <1203339130.11754.3.camel@dv>
Pavel Roskin wrote:
> "kernel" is "multiboot" in GRUB 2, not "linux", but "module" is still
> "module". Also, you may want to try uncompressed images and modules.
>
The multiboot hint was very usefull, thanks...
But strange undeterministic things happen now... :(
snippet from my grub.cfg:
menuentry "xen" {
multiboot /boot/xen-3.0.gz dom0_mem=512M
module /boot/vmlinuz-2.6.22-14-xen root=/dev/mapper/mainVG-rootLV ro
module /boot/initrd.img-2.6.22-14-xen
}
when I try to boot this directly, it says:
"error: you need to load multiboot kernel first"
When I type manually (go to the grub command line after bios boot)
multiboot /boot/xen-3.0.gz dom0_mem=512M
it loads the xen and complains about not having any xenlinux
kernel specified
When I type:
multiboot /boot/xen-3.0.gz dom0_mem=512M
module /boot/vmlinuz-2.6.22-14-xen
It starts booting, but complains about the root device (which is
obvious)
But when I type:
multiboot /boot/xen-3.0.gz dom0_mem=512M
module /boot/vmlinuz-2.6.22-14-xen root=/dev/mapper/mainVG-rootLV ro
It starts booting but sometimes the error message is same as
previous one (like there is no root option), sometimes there is wierd
characters in root=....
It looks like grub is not passing the arguments after file in
module command correctly to the kernel. (But take it just as my guess)
Has anybody some hints what to do/try next?
Martin
next prev parent reply other threads:[~2008-02-25 9:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-18 9:48 grub 2 and booting xen dom0 Matthew
2008-02-18 12:52 ` Pavel Roskin
2008-02-18 14:52 ` Robert Millan
2008-02-25 9:50 ` Matthew [this message]
2008-02-25 11:38 ` Bean
2008-02-28 10:19 ` Robert Millan
2008-02-28 11:38 ` Bean
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=47C28F57.9080101@centrum.sk \
--to=matthew@centrum.sk \
--cc=grub-devel@gnu.org \
/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.