Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1DIqId-000431-Ia for mharc-grub-devel@gnu.org; Tue, 05 Apr 2005 11:49:07 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DIqIb-00042G-QQ for grub-devel@gnu.org; Tue, 05 Apr 2005 11:49:05 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DIqIN-0003wt-IE for grub-devel@gnu.org; Tue, 05 Apr 2005 11:49:05 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DIqH2-0003e2-VH for grub-devel@gnu.org; Tue, 05 Apr 2005 11:47:29 -0400 Received: from [32.97.110.130] (helo=e32.co.us.ibm.com) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DIqHX-0002gJ-5w for grub-devel@gnu.org; Tue, 05 Apr 2005 11:47:59 -0400 Received: from westrelay03.boulder.ibm.com (westrelay03.boulder.ibm.com [9.17.195.12]) by e32.co.us.ibm.com (8.12.10/8.12.9) with ESMTP id j35Flg5j382020 for ; Tue, 5 Apr 2005 11:47:43 -0400 Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com [9.17.195.167]) by westrelay03.boulder.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id j35FlgCK215244 for ; Tue, 5 Apr 2005 09:47:42 -0600 Received: from d03av01.boulder.ibm.com (loopback [127.0.0.1]) by d03av01.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id j35Flg1w001831 for ; Tue, 5 Apr 2005 09:47:42 -0600 Received: from [192.168.0.101] (sig-9-65-60-217.mts.ibm.com [9.65.60.217]) by d03av01.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id j35FlgfC001806 for ; Tue, 5 Apr 2005 09:47:42 -0600 Mime-Version: 1.0 (Apple Message framework v619.2) In-Reply-To: <42521A4A.6040409@mauery.com> References: <78d5a6962754dbc4b0f64fb15ffd7b79@penguinppc.org> <42521A4A.6040409@mauery.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Hollis Blanchard Date: Tue, 5 Apr 2005 10:47:41 -0500 To: The development of GRUB 2 X-Mailer: Apple Mail (2.619.2) Subject: Re: partition layouts - separate /boot 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 15:49:06 -0000 On Apr 4, 2005, at 11:55 PM, Vernon Mauery wrote: > Hollis Blanchard wrote: >> I've been thinking about how to install grub2 on an Open Firmware >> system. Here's one possibility: >> /boot -- Linux-native filesystem (e.g. ext3) >> holds kernels, initrd, etc >> /boot/grub -- firmware-native filesystem (on Mac HFS+, on others >> FAT, etc) >> holds grub executable, grub.cfg, modules >> >> The grub ELF file must live on a firmware-native filesystem. When run, >> it can find out what partition it was booted from, so that is a >> natural >> place to load grub.cfg from as well (and why not modules while we're >> at >> it?). Thus this is the value of the "prefix" GRUB environment >> variable. > > Putting a restraint that says /boot/grub must be a separate partition > doesn't sound like a good idea. It just clutters the partition table > with another small partition. > > If all it gains us is that we know where we booted from, we still need > to know where /boot is. I don't see what this gains us -- the root > command or prefix variable is still required. It sounds to me that if > you want to have a firmware native partition type, having all of /boot > be that type would be preferred. I know there is at least one version of IBM Open Firmware which has a 4GB limit on disk reads. Creating a separate partition is the only way I know of to keep a filesystem from locating blocks above that 4GB limit. You're correct: if we have /boot and /boot/grub partitions, we still need to know where /boot is. That's the heart of my question. Haven't my arguments about trying to use FAT for /boot convinced you that using a firmware-native filesystem may not always be a good idea? To summarize, firmware-native filesystems: - may not be well-tested (HFS) - may not support expected features like symlinks or file permissions (FAT) - may be less reliable, e.g. no journalling (FAT) - may not support fsck, and wouldn't you like to fix filesystem corruption on /boot? -Hollis