[Top] [All Lists]

Re: grub disaster with FC4 & XFS

To: linux-xfs@xxxxxxxxxxx
Subject: Re: grub disaster with FC4 & XFS
From: Ethan Benson <erbenson@xxxxxxxxxx>
Date: Mon, 4 Jul 2005 12:22:55 -0800
In-reply-to: <42C93190.8070804@moving-picture.com>
Mail-copies-to: nobody
Mail-followup-to: linux-xfs@xxxxxxxxxxx
References: <42C93190.8070804@moving-picture.com>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.3.28i
On Mon, Jul 04, 2005 at 01:54:40PM +0100, James Pearson wrote:
> >Not sure if anyone is aware of this mess of a bug:
> >https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=160444
> >
> >Basically grub pukes all over itself when trying to interact with XFS 
> >filesystems, resulting in an unbootable, or barely bootable FC4 
> >installation.
> >
> >Any gurus here know of a solution?
> >
> >Yes, i know, this is really a FC/grub issue, but since its specific to 
> >XFS, i thought someone might have run into it and found a workaround 
> >and/or fix.
> Not sure if this is connected, but the FC installer (anaconda) uses the 
> code in 'booty' to install the bootloader - this has a work around for 
> grub on XFS which uses xfs_freeze - see the thread that starts with:
> http://marc.theaimsgroup.com/?l=linux-xfs&m=108009684613605&w=2

which is a kludge, and an unecessary one at that.

if you install grub as followes it does not modify XFS filesystems via
raw devices, but instead through the standard unix interfaces:

embed /boot/grub/xfs_stage1_5 (hd0)

xx sectors embedded.

install --stage2=/boot/grub/stage2 /boot/grub/stage1 (hd0) (hd0)1+xx p 
(hd0,1)/boot/grub/stage2 /etc/grub.conf

note the xx in the first message is the value you need to use in the
(hd0)1+xx part above.  the last argument is the path to the config
file you can have that where you like.

what should be done is rewrite the setup command in grub to perform
the above, instead of the broken method it currently uses.

Ethan Benson

Attachment: pgpqMWU0wFrV1.pgp
Description: PGP signature

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