Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1EeljS-0005lA-Jx for mharc-grub-devel@gnu.org; Tue, 22 Nov 2005 22:55:42 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EeljR-0005l4-J9 for grub-devel@gnu.org; Tue, 22 Nov 2005 22:55:41 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EeljQ-0005kZ-1A for grub-devel@gnu.org; Tue, 22 Nov 2005 22:55:41 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EeljP-0005kQ-Uh for grub-devel@gnu.org; Tue, 22 Nov 2005 22:55:39 -0500 Received: from [209.86.89.61] (helo=smtpauth01.mail.atl.earthlink.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EeljQ-0005q1-6g for grub-devel@gnu.org; Tue, 22 Nov 2005 22:55:40 -0500 Received: from [63.246.184.80] (helo=[192.168.0.101]) by smtpauth01.mail.atl.earthlink.net with asmtp (Exim 4.34) id 1EeljP-0004F9-5u for grub-devel@gnu.org; Tue, 22 Nov 2005 22:55:39 -0500 Mime-Version: 1.0 (Apple Message framework v623) In-Reply-To: <20051117041735.GD3883@panix.com> References: <20051117041735.GD3883@panix.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Hollis Blanchard Date: Tue, 22 Nov 2005 21:55:37 -0600 To: The development of GRUB 2 X-Mailer: Apple Mail (2.623) X-ELNK-Trace: 77a46389d001b1f223bcf3e39c2f8b5f1aa676d7e74259b7b3291a7d08dfec79bddba848603f5ea3b6b1bc6fc9bfa93e350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 63.246.184.80 Subject: Re: grub-install --root-directory 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: Wed, 23 Nov 2005 03:55:41 -0000 On Nov 16, 2005, at 10:17 PM, Mike Small wrote: > > 2. The script seems to assume that /boot/grub/ will be where my boot > partition is mounted. This was mentioned in the original mail, and I > could set things up this way, but in my opinion it would be more > natural to be able to specify the install directory exactly without > mandating any particular directory structure. eg if I enter > $ grub-install --root-directory=/mnt > ...(which is how I ran it, forgetting that part of the email) then > grub and its modules would go directly into /mnt and not into a > /mnt/boot/grub. Upon further inspection, this part of grub-install is identical to the x86 grub-install behavior. On both architectures, grub-install --root-directory /foo will install *.mod, *.lst, and the output of grub-mkimage into /foo/boot/grub. I'm open to allowing an override for this, but that's not a PPC-only question. I guess a user uses --root-directory when they have booted from a CD/floppy and wish to install GRUB onto their hard disk. In that case, even if the hard disk's root partition has been manually mounted on /mnt, there is no guarantee that the firmware-accessible filesystem has also been mounted on /mnt/boot/grub. Given that, Okuji, what do you think about a --grub-directory switch instead of (or in addition to) --root-directory? -Hollis