[CentOS] GRUB, and how do I loathe thee

Bowie Bailey Bowie_Bailey at BUC.com
Fri Jun 4 20:47:23 UTC 2010


m.roth at 5-cent.us wrote:
> I did the linux rescue, chroot (whoops, not chcon) to /mnt/sysimage, and
> did grub-install --no-floppy /dev/sda
> Now, when I reboot, it goes into the grub shell. Googling, and using the
> hostile find, I set root (hd0,0), and then setup (hd0). It claims
> everything is wonderful... but when I reboot, I go back to the grub shell.
>
> >From the grub shell, I've also tried telling it kernel
> /vmlinuz-2.6.18-194.3.1.el5, and it claims it can't find that; neither can
> find.
>
> This is *so* much more sophisticated than changing lilo.conf, and running
> lilo to update the MBR.... And no, I have no choice, this is work, so I
> have to use the mandated grub.
>   

I just went through that last week.  The problem is that grub is
installed, but there is no config file.  What I had to do was boot into
rescue mode and create the /boot/grub/grub.conf by hand.  I used one of
my operational machines as a template.

-- 
Bowie



More information about the CentOS mailing list