On 07/04/2005 01:22 PM, Ethan Benson wrote:
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:
>Basically grub pukes all over itself when trying to interact with XFS
>filesystems, resulting in an unbootable, or barely bootable FC4
>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
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:
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
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.
Actually, the command you noted above is what the FC4 installer was
trying to do when grub went south.
I did finally manage to fix this mess by booting with knoppix, purging
everything in /boot/grub, repopulating with the templates that ship with
grub, and running 'setup (hd0)' again. I have no clue why all of that
L. Friedman netllama@xxxxxxxxxxxxx
13:30:01 up 83 days, 23:49, 1 user, load average: 0.35, 0.33, 0.19