Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1DVZ9Y-0003qp-Jf for mharc-grub-devel@gnu.org; Tue, 10 May 2005 14:08:21 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DVZ9P-0003oj-GW for grub-devel@gnu.org; Tue, 10 May 2005 14:08:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DVZ9K-0003jo-Ke for grub-devel@gnu.org; Tue, 10 May 2005 14:08:06 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DVZ9J-0003iw-FP for grub-devel@gnu.org; Tue, 10 May 2005 14:08:05 -0400 Received: from [66.187.233.31] (helo=mx1.redhat.com) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DVZDI-0003kY-An for grub-devel@gnu.org; Tue, 10 May 2005 14:12:12 -0400 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j4AI5d1W016605 for ; Tue, 10 May 2005 14:05:39 -0400 Received: from mail.boston.redhat.com (mail.boston.redhat.com [172.16.76.12]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j4AI5dO07384 for ; Tue, 10 May 2005 14:05:39 -0400 Received: from dhcp83-64.boston.redhat.com (dhcp83-64.boston.redhat.com [172.16.83.64]) by mail.boston.redhat.com (8.12.8/8.12.8) with ESMTP id j4AI5cBA004125 for ; Tue, 10 May 2005 14:05:38 -0400 From: Paul Nasrat To: The development of GRUB 2 In-Reply-To: <20050509050526.GA18510@miracle> References: <20050509050526.GA18510@miracle> Content-Type: text/plain Organization: Red Hat, Inc. Date: Tue, 10 May 2005 14:05:44 -0400 Message-Id: <1115748344.3528.22.camel@enki.eridu> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 (2.2.2-3) Content-Transfer-Encoding: 7bit Subject: non boot-device was Re: [ppc] [patch] set environment from commandline 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: Tue, 10 May 2005 18:08:13 -0000 On Mon, 2005-05-09 at 00:05 -0500, Hollis Blanchard wrote: > We're doing a lot of useless work in cmain(). > > Also, this patch allows you to boot from the OF commandline, overriding > the defaults. Example: > boot enet:,grubof prefix=foo; debug=bar I thought this might work if I'm using grub with a different boot-device set. Built with cvs and this patch. Setting boot-device and then running boot works Brought to you by " enet:telnet,10.13.0.202" io I love OF packages :) Connected to blueimac.install.boston.redhat.com (10.13.0.202). Escape character is '^]'. ok 0 > printenv boot-device -------------- Partition: common -------- Signature: 0x70 --------------- boot-device /pci@f2000000/mac-io@17/ata-4@1f000/disk@0:2,\ \:tbxi hd:,\\:tbxi ok 0 > dir hd:2,\ bootstrap 115 4/23/57 8:10:55 grub.cfg 188960 5/11/ 5 4:52: 4 grubof.modules 3191 5/11/ 5 2:23:43 ofboot.b 141492 5/11/ 5 2:23:43 yaboot 638 5/11/ 5 2:23:43 yaboot.conf ok 0 > boot hd:2,\grubof.modules load-size=2e220 adler32=e04b6e6d Loading ELF method not found; ihandle=ffbc6f80 phandle=ff848300 method not found; ihandle=ffbc6f80 phandle=ff848300 method not found; ihandle=ffbc6f80 phandle=ff848300 method not found; ihandle=ffbc6f80 phandle=ff848300 method not found; ihandle=ffbc6f80 phandle=ff848300 method not found; ihandle=ffbc6f80 phandle=ff848300 method not found; ihandle=ffbc6f80 phandle=ff848300 Welcome to GRUB! DEFAULT CATCH!, code=300 at %SRR0: 001f9dac %SRR1: 00003030 ok 0 > .registers Client's Fix Pt Regs: 00 7c7d1b78 0032af30 00000000 fffffff2 001f2340 ffffffff 001f21f0 2d3c2808 08 00000002 7c7d1b78 001fefc0 001f21f5 00000000 00000000 00000000 00000000 10 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 18 00000000 001f2358 001f2348 00000003 001f2790 001f2340 001f396c 001f2210 Special Regs: %IV: 00000300 %SRR0: 001f9dac %SRR1: 00003030 %CR: 42000082 %LR: 001f9db4 %CTR: 00208644 %XER: 00000000 %DAR: 7c7d1b78 %DSISR: 40000000 %SDR1: 07fe0000 ok 0 >