[Top] [All Lists]

Re: Installing grub onto a system with XFS root fs

To: linux-xfs@xxxxxxxxxxx
Subject: Re: Installing grub onto a system with XFS root fs
From: Martin Steigerwald <Martin@xxxxxxxxxxxx>
Date: Tue, 18 Dec 2007 23:03:04 +0100
In-reply-to: <20071218003536.GD4396912@xxxxxxx>
References: <20071217004945.GA13335@xxxxxxxxxxxxxxxx> <20071217230437.GA7169@xxxxxxxxxxxxxxxx> <20071218003536.GD4396912@xxxxxxx> (sfid-20071218_094441_108310_A0063363)
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: KMail/1.9.7
Am Dienstag 18 Dezember 2007 schrieb David Chinner:
> On Tue, Dec 18, 2007 at 10:04:37AM +1100, Jason White wrote:
> > On Mon, Dec 17, 2007 at 02:28:51PM +0100, Martin Steigerwald wrote:


> > Apparently there is XFS support in Grub 2 as well, which is where all
> > development is now taking place. I hope it receives adequate testing
> > and attention before distributions start using Grub 2.
> I just looked at the XFS code in ithe grub 2 CVS repository and had a
> read of the wiki (http://grub.enbug.org/).
> From the code and the wiki, I note that there is no indication of grub
> 2 fixing the worst design mistakes in grub and is persisting with
> stuffing around with filesystem internals to find files and get block
> mappings for file data. Hence grub 2 will break just like grub if we
> ever change things on disk like the inode, directory or extent format.
> Lucky it doesn't support btree formats yet, so that won't break if we
> change them....
> And there's plans on doing *journal replay* for filesystems!
> (#1 item on the todo list here: http://grub.enbug.org/TodoList). That's
> an insane layering violation and completely unsupportable by anyone. I
> certainly hope this part of the plan for grub 2 never gets implemented.

Hi David!

I think it may be a good idea to contact the GRUB development team about 
your concerns. I bet they won't read this mailing list.

But how do you think GRUB is supposed the kernel and initrd without 
knowing at least enough details of the filesystem in order to load the 
file. The only other alternative I see is LILO which uses map of the 
blocks to load and thus has to be rewritten on any change.

It might be just me, but I cannot recall having trouble with GRUB and XFS 
beside that grub-install didn't work. Well grub shell always worked for 
me so I didn't bother that much.

Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7

<Prev in Thread] Current Thread [Next in Thread>