[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 369
  • Last Modified:

Linux does't boot

when we reboot linux box it comes to grub prompt. How to make it boot normally
0
ratnaprasad123
Asked:
ratnaprasad123
  • 2
1 Solution
 
omarfaridCommented:
it should time out in say 30 sec and then boot
0
 
ratnaprasad123Author Commented:
no it doest it come to grub prompt and waits there no thing happens further ...
0
 
Deepak KosarajuCommented:
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.
0
 
ratnaprasad123Author Commented:
Thanks
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now