[SATLUG] Grub hell

Bruce Dubbs bruce.dubbs at gmail.com
Mon Nov 23 11:30:54 CST 2015

I don't understand it, but at least I can make it work reproducibly this

> I am glad I played around with it enough to come across this solution by
> random
> trial and error. Very frustrating, and not documented anywhere I could
> find.
> Moreover, the CentOS installation process configured it incorrectly by
> default.
> Here is my fixed grub.conf:
> # grub.conf generated by anaconda
> #
> # Note that you do not have to rerun grub after making changes to this file
> # NOTICE:  You have a /boot partition.  This means that
> #          all kernel and initrd paths are relative to /boot/, eg.
> #          root (hd1,0)
> #          kernel /vmlinuz-version ro root=/dev/sdb2
> #          initrd /initrd-[generic-]version.img
> #boot=/dev/sdb1
> default=0
> timeout=5
> splashimage=(hd0,0)/grub/splash.xpm.gz <--- was written as (hd1,0) by
> CentOS installer
> hiddenmenu
> title CentOS 6 (2.6.32-573.el6.x86_64)
>         root (hd0,0) <---was written as (hd1,0) by CentOS installer
>         kernel /vmlinuz-2.6.32-573.el6.x86_64 ro root=/dev/sdb2 rd_NO_LUKS
> rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16
> crashkernel=auto  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
>         initrd /initramfs-2.6.32-573.el6.x86_64.img
> Go figure!
> ​Your system is using GRUB Legacy, not GRUB2.  There is no such thing as
(hd0,0) in GRUB2.  You are at least 5 years out of date.

  -- Bruce​

More information about the SATLUG mailing list