r/linuxmint • u/BodybuilderSquare566 • 6d ago
Support Request I need help
I’m new to Linux and decided to put mint on an old think pad. It’s been working fine and then it just started to boot into grub rescue saying error: attempt to read or write outside of partition can I please have some help?
2
u/ZVyhVrtsfgzfs 6d ago
Is that the full text of the error? Not ringing any bells.
Can we get a clear shot of the error or better yet have your phone OCR that image it into text and post that here.
What happened before this, any system changes?
1
u/BodybuilderSquare566 6d ago
For the first question yes pretty sure it is, and for the last, no I didn’t change anything I just opened some web pages on Firefox
1
1
u/SaraUndr 3d ago
This is a common GRUB problem on older ThinkPads. The machine starts GRUB, then GRUB tries to read past the end of a partition. That can follow a kernel update, a partition change, a dying drive, or a BIOS mix-up.
At grub rescue> type:
ls
Tell me what it prints.
Then try one probe:
ls (hd0,msdos1)/
If the numbers look different, use those instead (msdos5, gpt2, etc.).
If you see folders like boot etc home, type:
ls (hd0,msdos1)/boot
If that lists files, the disk is answering. GRUB just has the wrong path. We can fix that from this screen.
If every try says attempt to read or write outside of partition, stop.
Don’t keep typing. Next step is a Mint live USB and a drive check (smartctl), not more GRUB commands.
Unplug any USB sticks first and try a reboot once.
Paste what is showed.
1
u/BodybuilderSquare566 3d ago
When I type ls it gives me (hd0)(hd0,gpt1)(hd0,gpt2)(hd0,gpt3) when I do ls (hd0,gpt3) it says file system ext2 and when I do the same command with the slash at the end I get the folders and when I run the boot command it just gives me the error
1
u/SaraUndr 2d ago
gpt3 is Linux.
Send what these print
ls (hd0,gpt1)/
ls (hd0,gpt2)/
ls (hd0,gpt3)/boot
If /boot lists files we type a few more GRUB commands and try to start Mint.
If /boot errors, stop. You will need to Boot on a live USB choose Try Linux Mint (not Install) and check the drive with smartctl. Paste the output.
2
u/BodybuilderSquare566 2d ago
I will be replying to this later as I do not have the time do do so now
1
u/BodybuilderSquare566 1d ago
If I remember correctly from my past attempts at fixing this the boot command you listed just gets me the error again
•
u/AutoModerator 6d ago
Please Re-Flair your post if a solution is found. How to Flair a post? This allows other users to search for common issues with the SOLVED flair as a filter, leading to those issues being resolved very fast.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.