Hello ,
After i recompiled the kernel version today and rebooted the server, it did not reboot and then i tried with linux rescue mode. i executed this command /mnt/sysimage/sbin/grub-install /dev/hd0
grub not found
i get the above error. Please let me know how to fix this issue.
grub issue
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re: grub issue
Dear ghulam yaseen,
Salam,
$ chroot /mnt/sysimage
$ /sbin/grub-install /dev/hd0
Best Regards.
Salam,
You need to chroot into your /mnt/sysimage before running /sbin/grub-install /dev/hd0ghulam yaseen wrote:After i recompiled the kernel version today and rebooted the server, it did not reboot and then i tried with linux rescue mode. i executed this command /mnt/sysimage/sbin/grub-install /dev/hd0
grub not found
i get the above error. Please let me know how to fix this issue.
$ chroot /mnt/sysimage
$ /sbin/grub-install /dev/hd0
Best Regards.
Farrukh Ahmed
-
- Battalion Havaldaar Major
- Posts: 273
- Joined: Sat Jan 27, 2007 11:07 pm
- Location: Dera Ismail Khan, Pakistan
- Contact:
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re:
Dear Muhammad Saad,
Salam,
Best Regards.
Salam,
indeed.Muhammad Saad wrote:I think it should be either hd0 or /dev/hda because I have never seen /dev/hd0 anywhere.
Best Regards.
Farrukh Ahmed