LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-12-2016, 03:23 AM   #1
srinivas reddy ramana
LQ Newbie
 
Registered: Mar 2016
Posts: 2

Rep: Reputation: Disabled
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

Last edited by srinivas reddy ramana; 03-12-2016 at 03:37 AM.
 
Old 03-12-2016, 03:26 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,789

Rep: Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304
I have no idea what does "unorganized command" mean. Can you please specify better what's happened? (probably take a picture about that)
 
1 members found this post helpful.
Old 03-12-2016, 03:32 AM   #3
srinivas reddy ramana
LQ Newbie
 
Registered: Mar 2016
Posts: 2

Original Poster
Rep: Reputation: Disabled
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

Last edited by srinivas reddy ramana; 03-12-2016 at 03:36 AM.
 
Old 03-12-2016, 04:29 AM   #4
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
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.
 
Old 03-12-2016, 07:25 AM   #5
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
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

Last edited by BW-userx; 03-12-2016 at 07:27 AM.
 
Old 03-12-2016, 07:39 AM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,487

Rep: Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488
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
 
Old 03-13-2016, 10:09 AM   #7
offgridguy
Senior Member
 
Registered: Nov 2015
Location: Alberta Canada
Distribution: Windows10, Debian
Posts: 1,109

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Repair Corrupted microSD Card hkothari Linux - Hardware 5 06-14-2010 12:18 PM
Ubuntu 9.x install corrupted NTFS partition; repair corrupted TrueCrypt partition halfer Linux - General 1 06-30-2009 02:59 PM
repair corrupted ext3 filesystem rvijay17 Linux - General 3 06-20-2009 11:35 AM
Corrupted bootloader - can't repair it. Adrian Baker Linux - General 8 04-26-2006 01:00 AM
corrupted reiserfs, can't repair antipop Linux - Newbie 8 05-04-2004 09:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration