LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to repair corrupted grub (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-repair-corrupted-grub-4175574662/)

srinivas reddy ramana 03-12-2016 03:23 AM

how to repair corrupted grub
 
how to solve my grub it is corrupted and it shows grub prompt I am trying to solve by typing grub-install command or any command I type it shows only UNrecognised command.

It shows grub>

when I am trying commands: grub-install, path:$path /home/bin/bash, or

any commands by typing it shows only unrecognised command

Plz help me in locating what i want do

pan64 03-12-2016 03:26 AM

I have no idea what does "unorganized command" mean. Can you please specify better what's happened? (probably take a picture about that)

srinivas reddy ramana 03-12-2016 03:32 AM

how to solve my grub it is corrupted and it shows grub prompt

I am trying to solve by typing grub-install command or any command I type it shows only UNrecognised command.

It shows grub>

when I am trying commands: grub-install, path:$path /home/bin/bash, or

any commands by typing it shows only unrecognised command

Plz help me in locating what i want do

hydrurga 03-12-2016 04:29 AM

For repairing grub problems, Boot Repair Disk is an invaluable tool.

https://sourceforge.net/projects/boot-repair-cd/

Download it and burn it to a CD/DVD/USB stick (the latter using something like unetbootin or Rufus). Then boot off the device.

BW-userx 03-12-2016 07:25 AM

As you are already in grub> you cannot install it. what you need to do is learn how to boot off of your
Code:

grub>
rescue prompt.

then whence you're back inside of your OS then you can repair grub.



Super Grub2 Disk

that is one handy tool

yancek 03-12-2016 07:39 AM

There are over 500 different distributions of Linux so start by telling us which one you are using and which release. Is this a new install? Have you had this installation working for a period of time and now got a problem with Grub. If the latter case, what changes if any were made just prior to the problem. From the information you posted, you have only one unidentified version of Linux installed, correct?

The commands you indicate you tried need to be run from inside a Linux system and not from a Grub prompt as pointed out above. Section 14 of the Grub Manual at the link below shows all the Grub commands. If you can download and burn and run the boot repair tool on your computer, selecting the option to Create BootInfo Summary, you could post the link to the output here as it will give a lot of information.

http://www.gnu.org/software/grub/manual/grub.html

offgridguy 03-13-2016 10:09 AM

There have been some great resources linked in these replys, I bookmarked them all. Thanks.


All times are GMT -5. The time now is 06:13 AM.