Linux does't boot

when we reboot linux box it comes to grub prompt. How to make it boot normally
Who is Participating?
Deepak KosarajuConnect With a Mentor DevOps EngineerCommented:
I think you grub boot loader is corrupted Follow the procedure to reinstall only bootloader

Reinstalling the Boot Loader
In many cases, the GRUB boot loader can mistakenly be deleted, corrupted, or replaced by other operating systems.

The following steps detail the process on how GRUB is reinstalled on the master boot record:

Boot the system from an installation boot medium.

Type linux rescue at the installation boot prompt to enter the rescue environment.

Type chroot /mnt/sysimage to mount the root partition.

Type /sbin/grub-install /dev/hda to reinstall the GRUB boot loader, where /dev/hda is the boot partition.

Review the /boot/grub/grub.conf file, as additional entries may be needed for GRUB to control additional operating systems.

Reboot the system.
it should time out in say 30 sec and then boot
ratnaprasad123Author Commented:
no it doest it come to grub prompt and waits there no thing happens further ...
ratnaprasad123Author Commented:
All Courses

From novice to tech pro — start learning today.