Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JTbfP-000129-Id for mharc-grub-devel@gnu.org; Mon, 25 Feb 2008 06:38:43 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JTbfM-00011C-Ls for grub-devel@gnu.org; Mon, 25 Feb 2008 06:38:40 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JTbfL-00010J-A9 for grub-devel@gnu.org; Mon, 25 Feb 2008 06:38:40 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JTbfL-00010D-0S for grub-devel@gnu.org; Mon, 25 Feb 2008 06:38:39 -0500 Received: from ti-out-0910.google.com ([209.85.142.186]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JTbfK-000131-MR for grub-devel@gnu.org; Mon, 25 Feb 2008 06:38:39 -0500 Received: by ti-out-0910.google.com with SMTP id a20so883920tia.10 for ; Mon, 25 Feb 2008 03:38:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=xLcJPWZMyZA3gaHMTkNc3YjkVkScQqr6EtoGCPJJN4E=; b=EvTwBx1RLOkIi6xtXRgyZ6uT3APwKzvdy0w+g8oq8Af2bX5FHaxVPX9txYrJ1ks5dXE3cH/JRiPP6xBoqWKmfVgWVFpLUvUgnX/ebkKUiynZvniwez10U9tLG0mqR6gS00XU9yLkH+bCgDgM5WoYFZJH/BAUysba0/kmHFhXHz0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=YwnLHS/SkkyrJv7cSIb6cF3FIoowVdQAksYyCUwlu6KedoiCzhkkfoPjDzDWwAPzL9oqpRfy4TmwcXT63JHLoBg3oKFUZcHANe0o8w4sIt6+34TuNROJM4rnWB+gCy/lyVFG4/+EOWmDsPqFF2+l0Z06JVTPNGlzn7nbiN8WZjc= Received: by 10.110.62.14 with SMTP id k14mr1801085tia.5.1203939515761; Mon, 25 Feb 2008 03:38:35 -0800 (PST) Received: by 10.110.20.10 with HTTP; Mon, 25 Feb 2008 03:38:35 -0800 (PST) Message-ID: Date: Mon, 25 Feb 2008 19:38:35 +0800 From: Bean To: "The development of GRUB 2" In-Reply-To: <47C28F57.9080101@centrum.sk> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <47B9545C.1010009@centrum.sk> <1203339130.11754.3.camel@dv> <47C28F57.9080101@centrum.sk> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: Re: grub 2 and booting xen dom0 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Feb 2008 11:38:41 -0000 On Mon, Feb 25, 2008 at 5:50 PM, Matthew 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