question with GRUB bootloader in Fedora-16 alpha
Asked by: David Bernier 1616 views Fedora
Today I installed Fedora-16 alpha for the x86_64
architecture. The install went fine. I added the Livna.org
software repository in /etc/yum.repos.d/ as “livna.repo”.
After rebooting, grub falls in rescue mode. After
using the Live CD to re-install, as root I tried to run
‘system-config-boot’ and I get this error message:
“Error reading /boot/grub/grub.conf. “
So for now, as I haven’t solved this problem, I’ll reboot
only occasionally to avoid reinstalling from the Live CD.
The question is how to configure grub. conf ?
My Answer: (what worked for me)
As root:
# yum install grub2
#yum update grub2
[Comment: that way, I have latest, now stable, grub2 pack.]
Then we need to configure …
# cd /boot/grub2/
# mv grub.cfg arxived_grub.cfg
[Comment: backup & move old grub.cfg ]
# grub2-mkconfig > my_test_config
[Comment: run command for the New grub.cfg ...]
If all Ok in the file my_test_config, then:
# cp my_test_config grub.cfg
[ Comment: if grub.cfg in /boot/grub2/ and
arxived_grub.cfg also in /boot/grub2/ look quite similar
and grub.cfg looks 'clean' [no junk text], the maybe all Ok. ]
———-
# ls -l /etc/grub2.cfg gives the output:
lrwxrwxrwx. 1 root root 22 Aug 16 18:42 /etc/grub2.cfg -> ../boot/grub2/grub.cfg
[ Comment: info. message ].
So, that worked for me and after reboot, had the grub menu
to choose what to load.
David Bernier