LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-15-2019, 03:31 AM   #1
cringegod
LQ Newbie
 
Registered: Dec 2019
Posts: 2

Rep: Reputation: Disabled
Read error after wrong 'set root' in grub rescue


I have a dual boot with Ubuntu and Windows and somehow I wasn't able to enter Windows and grub rescue appeared.

I entered 'set root=(hd0,msdos4)/@' and 'set prefix=(hd0,msdos4)/@/boot/grub' as I found on q&a board. After I entered 'insmod normal' but there was an error. I rebooted and could enter Windows at this point. I then tried to enter Ubuntu but it was some error telling "can't read outside hd0" iirc. I read that I also need to update grub, that's why I was trying to get in on Ubuntu.

I figured I set it too narrow for multiple systems so I went and entered in grub rescue 'set root=(hd0)', 'set prefix=(hd0)/boot/grub', and then 'insmod normal', 'normal' without any errors this time. After this I did a reboot and now facing 'Read error' not being able to enter grub rescue again. I'm trying to recover it in terminal from USB now but I believe I can only see my USB drive from there. Here is the boot info I got: https://paste.ubuntu.com/p/9fY5w3gnXT/ with flash drive in. My HDD is 500GB which is not displayed. It displays in BIOS though.

What should I do?
 
Old 12-15-2019, 09:01 AM   #2
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,345

Rep: Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588
Your post is unclear, are you able to boot into windows? The bootinfo script doesn't see your harddrive. A setting in your bios may have changed, a loose hard drive connection, or your drive may have died.
 
Old 12-15-2019, 09:05 AM   #3
cringegod
LQ Newbie
 
Registered: Dec 2019
Posts: 2

Original Poster
Rep: Reputation: Disabled
Resolved by hard changing sata port.
 
  


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
grub 2 - when / why I need both in grub.cfg ; set root= and search ... --set=root ... masuch Linux - Newbie 5 07-19-2012 03:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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