From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.4.3-2.9.2 i686)
Description of problem:
I accidentally wiped the brub boot loader off my system, and I think it is
possible, even probably that other users, even experianced Linux users
might do the same once RH7.2 ships.
Here is what happened, and my suggestion to help avoid similiar instances.
What I did (for the record)... I wanted to dual boot between beta 2, and an
older RHL7.1 installation. Seemed like a reasonable thing at the time. I
easily located teh grun conf file (by poking around under /boot hierarchy).
Looked pretty straight forward, so I added the stanza. Now the question
"how to ``re-lilo'' this sucka?" (You have to remember, I'm coming from a
lilo, many years bred, background). I man'ed grub, and tried "grub" then
"grub -f /boot/grub/grub.conf", and a few other things. Then I found about
grub-install, so I tried that as well. Nothing gave me the warm and fuzzy
lilo used to give me. finally I rebooted anyway, and grub was lost. some
in my exhuberance, I managed to install a clean empty grub boot sector.
In the end, after looking thru the mailing list, I found Bero's reference
the soft link between /boot/grub/menu.lst and /boot/grub/grub.conf (there
was NO menu.lst in my /boot/grub, dunno if there used to be or not).
Made the soft link, did a grub root/setup, and rebooted, and now I'm back.
Given the way that many of us have depended upon lilo, possibly exclusively
(I sure fall into that category), I think it is possible, maybe even
that others will fall into this same trap that I fell into (i.e. they might
accidentally wipe out their grub booter).
I note that there is a comment in the grub.conf. I think it would be a good
idea to add some comment about "no need to re-lilo / re-grub, after adding
stanzas", or "after adding a new stanza, grub will automatically find the
boot options at the next boot. No need to re-lilo / re-grub".
I know it sounds a bit silly, but I think it might save some problem
later on. (especially when the only Grub howto's are written in French).
Steps to Reproduce:
1.depends upon how creative a user gets when they try to "re-lilo" their
changes. I think it is important to get them the message that they do not
Actual Results: re-grubbing can cause loss of bootability
The documentation included with Red Hat Linux has been updated to contain this
information, a comment has been added to grub.conf, and we should have something
in the release notes about this.