Skip to contentSkip to conversation

grub fails boot after update

DISCUSSION Martin Steigerwald 1 participant 1 message Jul 5, 2008

lore
Share & tools
lore
#0 lore raw

Hi!

Am Donnerstag 03 Juli 2008 schrieb Jason White:

Quoted 11 lines · Eric Sandeen
Quoted 9 lines

This really is grub that is busted, but I'd still just suggest using ext3 to (mostly) work around the breakage for the foreseeable future.

The other option is to teach grub to always do its io via the filesystem not the block device while the fs is mounted (IIRC there are various & sundry non-intuitive commands which actually nudge grub towards or away from this desired behavior... --with-stage2=/path is one I think, skipping the "verification" phase (i.e. trying to read the block dev while mounted) is another)

Quoted 8 lines

Does grub 2 (still in development when last I checked) improve on this situation?

I managed to get Grub 1 installed on machines with XFS root file systems by running the install from within the grub "shell" environment rather than using grub-install. Maybe this skips the checks that attempt to read the block device directly. I also recall that grub-install failed.

I use GRUB 1 on XFS ever since. But I also used the GRUB shell directly to write it. grub-install doesn't work reliable.

I even use the functionality to save the last booted menu entry into /boot/grub/default without a problem.

I agree, reading or writing a mounted filesystem directly is not a good idea.

Ciao,

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