Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1DIxL5-0005Z5-3I for mharc-grub-devel@gnu.org; Tue, 05 Apr 2005 19:20:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DIxKu-0005UO-00 for grub-devel@gnu.org; Tue, 05 Apr 2005 19:19:56 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DIxKs-0005S8-LY for grub-devel@gnu.org; Tue, 05 Apr 2005 19:19:54 -0400 Received: from [199.232.41.67] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_ARCFOUR_SHA:16) (Exim 4.34) id 1DIxo2-0003KR-B3 for grub-devel@gnu.org; Tue, 05 Apr 2005 19:50:02 -0400 Received: from [209.86.89.61] (helo=smtpauth01.mail.atl.earthlink.net) by mx20.gnu.org with esmtp (Exim 4.34) id 1DIxjq-0000Oa-Ge for grub-devel@gnu.org; Tue, 05 Apr 2005 19:45:42 -0400 Received: from [63.246.184.80] (helo=[192.168.0.101]) by smtpauth01.mail.atl.earthlink.net with asmtp (Exim 4.34) id 1DIxje-00083d-54 for grub-devel@gnu.org; Tue, 05 Apr 2005 19:45:30 -0400 Mime-Version: 1.0 (Apple Message framework v619.2) In-Reply-To: <87oectxjd3.fsf@student.han.nl> References: <78d5a6962754dbc4b0f64fb15ffd7b79@penguinppc.org> <200504050741.17929.okuji@enbug.org> <586cd7c33d0accab0a0305828b8a41fb@penguinppc.org> <87oectxjd3.fsf@student.han.nl> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <91c22e6070f38158827c1d28b16e13d9@penguinppc.org> Content-Transfer-Encoding: 7bit From: Hollis Blanchard Date: Tue, 5 Apr 2005 17:53:55 -0500 To: The development of GRUB 2 X-Mailer: Apple Mail (2.619.2) X-ELNK-Trace: 77a46389d001b1f223bcf3e39c2f8b5f1aa676d7e74259b7b3291a7d08dfec79a3f27bf7c8d88ff0b7001a959c4456bb350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 63.246.184.80 Subject: Re: partition layouts - "root" 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, 05 Apr 2005 23:19:57 -0000 On Apr 5, 2005, at 11:45 AM, Marco Gerards wrote: > Hollis Blanchard writes: > >>> root is not a command but a variable in GRUB 2. >> >> Actually, I see now that it is a command: grub_rescue_cmd_root() in >> kern/rescue.c. Is that only a rescue mode thing? That seems to be >> exactly what I need... aside from the very confusing use of "root" >> meaning where GRUB finds the kernel and "root" meaning where Linux >> finds /sbin/init. > > Personally I do not care about if GRUB is confusing for linux users. > As I see it, GRUB is not only a linux loader. I see that Mach also uses "root" as a kernel argument. I certainly agree that GRUB is not only a Linux loader. However I strongly disagree that we should intentionally confuse Linux users. Perhaps using "grubroot", "grubprefix", "grubbase", or similar will be acceptable? >> I cannot find any grub_env_get("root") callers. > > I thought I have changed the command to the variable. But perhaps > this was only done for prefix (although that would be weird...). In > that case we need a `root' variable. It is high on my todo list now, > but don't rely too much on me and my todo list and please write it if > you need it. It is the right thing to do it this way. So each menu entry should look something like this? title foo set root=bar multiboot /kernel -Hollis