LinuxQuestions.org
Visit Jeremy's Blog.
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 04-23-2022, 12:15 PM   #1
TDB1012
LQ Newbie
 
Registered: Apr 2022
Posts: 3

Rep: Reputation: 0
Grub Rescue


Getting this error when I try to boot system up:

error: no such device: c746ecb7-d190-48ed-b6e1-ae6366ad44ec.
Entering rescue mode...
grub rescue>

Did some research on Google and the only command I can get to work is "set" which shows this info:

cmdpath=(hd0)
prefix=(hd0)/boot/grub
root=hd0

Any help would be appreciated. I have been using Linux Mint 18.3 Sonya for over a year, so I am still new to this. I have never seen this error before. I am going to do a complete new fresh install of Linux Mint 20.3 Cinnamon in a few weeks.

Please be specific in your directions as I am a newbie to this and I am at a loss...

Thank you in advance for any and all help!!
 
Old 04-23-2022, 06:13 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,346

Rep: Reputation: 552Reputation: 552Reputation: 552Reputation: 552Reputation: 552Reputation: 552
Quote:
Originally Posted by TDB1012 View Post
Getting this error when I try to boot system up:

error: no such device: c746ecb7-d190-48ed-b6e1-ae6366ad44ec.
When you format a partition the formatting program gives that partition a new UUID. When you installed grub it was set up to boot a partition with UUID = c746ecb7-d190-48ed-b6e1-ae6366ad44ec. Now grub cannot find that partition. Did you format the partition? Did you delete the partition? Do you know the addreess or UUID of the partition that you currently want to boot?

Quote:
Originally Posted by TDB1012 View Post

cmdpath=(hd0)
prefix=(hd0)/boot/grub
root=hd0
What these commands mean is that you are telling grub where the boot partition is. Richard Stallman uses a different naming system for hard drives than everybody else. So:

sda1 = (hd0,0)
sda2 = (hd0,1)
sdb1 = (hd1,0)
sdb2 = (hd1,1)
etc.

So if you know what partition /boot is in (for example sdb1) then you would enter:
cmdpath=(hd1,0)
prefix=(hd1,0)/boot/grub
root=(hd1,0)

Whether or not the commands that you found will work depends on what is the state of the partition with UUID = c746ecb7-d190-48ed-b6e1-ae6366ad44ec

Last edited by jailbait; 04-23-2022 at 08:28 PM.
 
Old 04-23-2022, 06:52 PM   #3
TDB1012
LQ Newbie
 
Registered: Apr 2022
Posts: 3

Original Poster
Rep: Reputation: 0
Thank you for your reply Jailbait.

Quote:
Did you format the partition?
No, I did not.

Quote:
Did you delete the partition?
No, I did not.

Quote:
Do you know the addreess or UUID of the partition that you currently want to boot?
No I do not.

I am running an internal diagnostic program as we speak. So far all has checked out ok. When it is complete, I will let you know the results.

Thanks again for your help!!
 
Old 04-23-2022, 07:05 PM   #4
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,407

Rep: Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597
A few links on how to recover from grub rescue
https://aty.sdsu.edu/bibliog/latex/d...ub2rescue.html
https://help.ubuntu.com/community/Grub2/Troubleshooting
https://christitus.com/grub-rescue/

There is also the boot repair iso
https://sourceforge.net/projects/boot-repair-cd/files/
 
Old 04-23-2022, 07:10 PM   #5
TDB1012
LQ Newbie
 
Registered: Apr 2022
Posts: 3

Original Poster
Rep: Reputation: 0
Colorpurple21859 - thanks for the info, I will check it out!
 
Old 04-24-2022, 02:27 AM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,158

Rep: Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125
IMHO, grub is probably not the problem - grub is merely the messenger. I would be guessing that the filesystem of the linux root is corrupt - this really needs to be fixed from a liveUSB (your install USB say) rather than from the grub shell.

Mint 18 probably doesn't have timeshift by default - what is your backup regime ?.
 
Old 04-24-2022, 04:43 AM   #7
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,590

Rep: Reputation: 2502Reputation: 2502Reputation: 2502Reputation: 2502Reputation: 2502Reputation: 2502Reputation: 2502Reputation: 2502Reputation: 2502Reputation: 2502Reputation: 2502
It isn't clear to me whether you can eventually boot Mint. If you can, do that otherwise you any Linux live CD/USB and from a terminal, run the command: sudo blkid and compare the output to the output of the UUID you posted above for the partition on which your boot files reside. They need to be the same in Grub files and /etc/fstab so check the fstab and grub.cfg files.

You haven't indicatd whether this is a single boot system with Mint or some other method so we proceed on the information we have which is a single install of Mint.

Post 2 Grub info is correct with regard to drive/partition naming for Grub Legacy which counted both drives and partitions from zero while the newer Grub2 coounts drives from zero and partitions from one.
 
1 members found this post helpful.
Old 04-24-2022, 08:26 AM   #8
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,407

Rep: Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597
If the grub-recue commands don't work and you go with the boot-repair iso, it would be best to post the results before making any changes.

You can also run boot-repair from the mint iso
https://help.ubuntu.com/community/Boot-Repair

Last edited by colorpurple21859; 04-24-2022 at 08:32 AM.
 
  


Reply



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
[SOLVED] Rescue mode and grub rescue beyond my understanding A Novice Linux Mint 9 06-15-2019 11:10 AM
Centos 7 grub rescue issue by mondo rescue hassanbsee2071 Linux - Software 8 12-17-2018 02:42 AM
error: unknown filesystem. entering rescue mode. ..grub rescue> Celsiusrising Linux - Newbie 7 06-29-2018 11:51 AM
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 12:55 PM

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

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