grub-devel
[Top][All Lists]
Advanced

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

Re: grub 2 and booting xen dom0


From: Bean
Subject: Re: grub 2 and booting xen dom0
Date: Mon, 25 Feb 2008 19:38:35 +0800

On Mon, Feb 25, 2008 at 5:50 PM, Matthew <address@hidden> wrote:
>
>  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?

The old multiboot loader doesn't set the boot device, perhaps you can
try my patch and see if it works:

-- 
Bean




reply via email to

[Prev in Thread] Current Thread [Next in Thread]