bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

If I add or delete a comment line in grub.conf, my system hangs with GRU


From: Lars Øhlenschlæger
Subject: If I add or delete a comment line in grub.conf, my system hangs with GRUB after reboot???
Date: Fri, 11 Mar 2005 21:12:52 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041217

Hi,
I have a strange problem with grub.conf:
If I modify grub conf in any way, my system hangs with GRUB after reboot.
If I add an empty line just containing an '#' anywhere in the grub.conf,
it happens.
Even when I delete the line again, my system still hangs witg GRUB after
reboot.

The only way, I can make my system running is by restoring /hdb1 (the
/boot filesystem)

grub --version shows:
$ /sbin/grub --version
grub (GNU GRUB 0.95)

my grub.conf looks like:


#boot=/dev/hda
default=4
timeout=5
splashimage=(hd1,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.10-1.766_FC3)
        root (hd1,0)
        kernel /vmlinuz-2.6.10-1.766_FC3 ro
root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.10-1.766_FC3.img
title Fedora Core (2.6.10-1.760_FC3)
        root (hd1,0)
        kernel /vmlinuz-2.6.10-1.760_FC3 ro
root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.10-1.760_FC3.img
title Fedora Core (2.6.10-1.741_FC3)
        root (hd1,0)
        kernel /vmlinuz-2.6.10-1.741_FC3 ro
root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.10-1.741_FC3.img
title Fedora Core (2.6.9-1.667)
        root (hd1,0)
        kernel /vmlinuz-2.6.9-1.667 ro root=/dev/VolGroup00/LogVol00
rhgb quiet
        initrd /initrd-2.6.9-1.667.img
title Windows XP professional SP2 (Danish)
        rootnoverify (hd0,0)
        chainloader +1



I have no problems booting any of the entries, but I cannot modify the
file at all:-(

Any hints?

/Lars





reply via email to

[Prev in Thread] Current Thread [Next in Thread]