Solved

Linux does't boot

Posted on 2008-06-13
4
350 Views
Last Modified: 2013-12-16
when we reboot linux box it comes to grub prompt. How to make it boot normally
0
Comment
Question by:ratnaprasad123
  • 2
4 Comments
 
LVL 40

Expert Comment

by:omarfarid
ID: 21781561
it should time out in say 30 sec and then boot
0
 

Author Comment

by:ratnaprasad123
ID: 21781649
no it doest it come to grub prompt and waits there no thing happens further ...
0
 
LVL 14

Accepted Solution

by:
Deepak Kosaraju earned 500 total points
ID: 21781953
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
 

Author Closing Comment

by:ratnaprasad123
ID: 31467027
Thanks
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
000webhost.com default error log 1 40
AWS EC2 HTTP & HTTPS 2 44
linux SFTP 8 60
Setup Ubuntu 16.04 to use LDAP for user login and authentication 2 74
How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question