Hi,
As part of troubleshooting practice I have installed centos 4.8 without the bootloader. After that I installed the boot loader by using rescue mode in the following manner:
chroot /mnt/sysimage
# grub-install (hd0,0) root=/boot /dev/sda
Now I can get the grub prompt when i reboot the machine.
grub>
and then tried couple of more commands to boot the system but everytime I am getting the kernal panic error. I run the following command on grub prompt:
grub> root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
grub> kernel /vmlinux-2.6.9-89.EL root=/dev/sda
grub> boot
after running these command I am getting kernal panic errors and not able to load the OS.
Can anyone help me out here !
Thank you !
[SOLVED] Grub Boot Loader installation
Re: Grub Boot Loader installation
I have figured it out !!
Actually the configuration file was missing. So after installing grub I had to create the grub configuration file manualy.
:-)
Actually the configuration file was missing. So after installing grub I had to create the grub configuration file manualy.
:-)
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
[SOLVED] Grub Boot Loader installation
Welcome to the CentOS fora. The following reading is recommended for new users:
[url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=14274&forum=47]Readme First[/url]
[url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=14408&forum=47]Installing Software[/url]
[url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=14273&forum=47]Where to Find Answers[/url]
[url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=25128&forum=47]How to provide information about your system[/url]
Thanks for posting your own solution. Marking the topic [SOLVED] for posterity.
[url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=14274&forum=47]Readme First[/url]
[url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=14408&forum=47]Installing Software[/url]
[url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=14273&forum=47]Where to Find Answers[/url]
[url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=25128&forum=47]How to provide information about your system[/url]
Thanks for posting your own solution. Marking the topic [SOLVED] for posterity.