Use grub-install to fix:
If above steps fails try the following :
Launch a grub shell:
Create grub password :
# chroot /mnt/sysimageor
# /sbin/grub-install /dev/hda
# quit
# /sbin/grub-install --directory="mountpoint" /dev/hdawhere "mountpoint" is boot partition
If above steps fails try the following :
Launch a grub shell:
# /sbin/grub
grub>root (hd0,0)
grub>setup (hd0)
grub>quit
Create grub password :
# grub-md5-cryptCopy encryption password to /boot/grub/grub.conf under hiddenmenu
password : password
retype : password
# vi /boot/grub/grub.conf
----------
hiddenmenu
password --md5 ialknda$SDLKANDADikaldnald9addasdad
----------
0 comments:
Post a Comment