LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 05-04-2022, 11:00 PM   #1
kevinbenko
Member
 
Registered: Jun 2005
Location: Fargo, North Dakota
Distribution: Debian Stable {Probably forever}
Posts: 630

Rep: Reputation: 174Reputation: 174
Question For Informational Purposes Only: How Do I Deal when GRUB Fails?


*: I had a stroke in 2011, and am brain-damaged.

What if GRUB fails, and I get the basic GRUB menu, how do most effectively deal with this nightmare?

I guess it's called a rescue prompt... I guess.....

{{Yes, it happened a few years ago, I did a Netinstall and fixed the root directory, sort of, but I rebuilt the system/root directory/whatever}}

But I have always wondered on how to most effectively deal with this nightmare.

Thank for any answers, and have an excellent day!

Last edited by kevinbenko; 05-04-2022 at 11:03 PM.
 
Old 05-05-2022, 12:40 AM   #2
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,810
Blog Entries: 1

Rep: Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067
Much depends on what caused the failure, but typically: have rescue media available, such as the original installation media or a supergrub USB stick, boot it, chroot into the installed system, then reinstall grub and/or regenerate grub.cfg, which lives in /boot/grub/ or /boot/grub2/, depending on your distro's name for grub.
 
Old 05-05-2022, 01:49 AM   #3
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,850

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
(additionally) I use another boot device (live CD or similar) and you can access the system. A backup can be useful too.
 
Old 05-05-2022, 05:34 AM   #4
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,348

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
Are you booting more than one distro? Most grub-rescue prompts are a result of deleting/formatting the root/boot partition of the distro controlling grub when adding or removing a distro to a multi-boot system. The other possibility is a corrupt file system.
As has already been mentioned use a live iso to chroot into the system to fix

Last edited by colorpurple21859; 05-05-2022 at 05:36 AM.
 
  


Reply

Tags
information, just wondering.



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
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
[SOLVED] Informational artmessage cola Slackware 1 09-16-2009 08:18 AM
informational - artsmessage SolitudeSensus Linux - Newbie 2 07-10-2009 08:50 PM
i have been getting an error since last few startups like"Sound server informational amolgupta Linux - Software 2 04-24-2006 10:46 PM
Sound server informational message: Error while initializing the sound driver... LA004 Linux - Hardware 4 08-21-2005 08:25 PM

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

All times are GMT -5. The time now is 04:35 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