LinuxQuestions.org
Help answer threads with 0 replies.
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 05-06-2021, 02:23 PM   #1
AdrianMorales
LQ Newbie
 
Registered: May 2021
Location: Spain
Distribution: ArchLinux
Posts: 20

Rep: Reputation: Disabled
grub rescue error: failure reading sector 0x2a00802 from hd0


Hello community,

The other day I was programming in IntelliJ on my ArchLinux and I press the key combination Ctrl+Shift+F10 (or maybe Ctrl+Atl+F10 idk). Then a black screen with an horizontal prompt appears. The system was running cause I heard my spotify songs, but the screen was black. I decide to poweroff the machine by holding the power button. The next time I reboot the laptop, the grub rescue prompt appears.
I try some solutions but nothings seems to work.

First try.- Try to repair grub from the rescue mode

In the grub rescue I type:
Code:
ls
>>>(hd0) (hd0,gpt4) (hd0,gpt3) (hd0,gpt2) (hd0,gpt1)
ls (hd0,gpt4)
>>>Filesystem is ext2
ls (hd0,gpt3)
>>>(hd0,gpt3): Filesystem is unknown
>>>error: failure reading sector 0x2a00802 from hd0
set
>>>cmdpath=(hd0,gpt1)/EFI/BOOT
>>>prefix=(hd0,gpt3)/boot/grub
>>>root=hd0,gpt3
insmod normal 
>>>error: failure reading sector 0x2a00802 from hd0
normal
>>>Unknow command normal
Second try.- Boot-repair-disk

I try to repair the disk with the boot-repair-disk utility but it doesn't show me the option
of recommended repair (I see some solutions take this option)
Then I create a BootInfo summary, here the paste: http://paste.ubuntu.com/p/zhBxWCC7jg/

Thank u for the help!

Last edited by AdrianMorales; 05-07-2021 at 06:31 AM.
 
Old 05-11-2021, 05:18 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 24,189

Rep: Reputation: 7941Reputation: 7941Reputation: 7941Reputation: 7941Reputation: 7941Reputation: 7941Reputation: 7941Reputation: 7941Reputation: 7941Reputation: 7941Reputation: 7941
I would try to boot from an usb stick and check that disk.
 
Old 05-11-2021, 06:16 AM   #3
AdrianMorales
LQ Newbie
 
Registered: May 2021
Location: Spain
Distribution: ArchLinux
Posts: 20

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
I would try to boot from an usb stick and check that disk.
When I run fdisk -l in a live usb (arch) seems like not detecting my ssd:
Code:
fdisk -l : ___________________________________________________________

Disk nvme0n1: 477 GiB, 512110190592 bytes, 1000215216 sectors
Disk identifier: BFA69E4F-6B49-41DF-A961-FDE4B64FC7FA
              Start        End   Sectors   Size Type
nvme0n1p1      2048     206847    204800   100M EFI System
nvme0n1p2    206848     239615     32768    16M Microsoft reserved
nvme0n1p3    239616  990761253 990521638 472.3G Microsoft basic data
nvme0n1p4 990763008  991823871   1060864   518M Windows recovery environment
nvme0n1p5 991825920 1000214527   8388608     4G Microsoft basic data
Disk nvme1n1: 27.3 GiB, 29260513280 bytes, 57149440 sectors
Disk identifier: 9514720E-07BC-40C4-84BA-8593636BD65F
          Start     End Sectors  Size Type
nvme1n1p1  2048 1050623 1048576  512M EFI System
The first disk is my Windows10 and the second one is an old debian installation.
 
Old 05-11-2021, 08:25 AM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,385

Rep: Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710
Quote:
I try some solutions but nothings seems to work.
Not helpful or a good idea so now members here have no idea what those 'solutions' were and what possible further damage may have been done. Interesting that ls run from grub only shows one drive while boot repair shows five.

The first line in boot repair shows the following:

Quote:
Windows 7/8/2012 is installed in the MBR of /dev/nvme0n1.
That's the drive with Arch Linux on it. Note that it has an EFI partition with nothing in it, Lines 13-17. So you have windows boot code in the MBR of this drive and an empty EFI partition so no way to boot unless you have an EFI install and put the Arch boot code in the EFI partition of the windows drive which does not appear to be the case (lines 39-47). The output from efibootmgr doesn't show an entry for Arch unless it is the one on line 133 which shows UEFI OS and is the drive on which you had Arch installed.

In your last post you have the output from fdisk showing windows on nvme0n1 while boot repair shows that drive as a Linux install?

Not knowing what other 'solutions' you tried will make it difficult for anyone to help. You may need to reinstall Grub or the Arch OS. Make sure you do an EFI install. Arch generally has good documentation so I would try their site first. The link below is to the ARch wiki and I would suggest reading through it carefully before beginning.

https://wiki.archlinux.org/title/GRUB#Installation_2
 
Old 05-11-2021, 09:21 AM   #5
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,842

Rep: Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682
here is the blkid ouput of nvme0n1p3 that / is suppose to be on
Quote:
nvme0n1
├─nvme0n1p1 vfat DCB8-D238 fa56648b-c1f6-8541-a1aa-c3510c9e12cd
├─nvme0n1p2 swap a18b8a84-4ea2-448b-b519-394d45cd2f6e d00fa066-b13d-2e4a-993a-49d003630e64
├─nvme0n1p3
└─nvme0n1p4 ext4 9b342231-828c-4896-bccf-b2d05c121941 ad9eacba-201b-394f-ab52-1e39ed3e2dba
Now the drive isn't showing up.
drive/filesystem corruption, loose connection, or drive broken is my guess.

Last edited by colorpurple21859; 05-11-2021 at 09:24 AM.
 
Old 05-12-2021, 04:39 AM   #6
AdrianMorales
LQ Newbie
 
Registered: May 2021
Location: Spain
Distribution: ArchLinux
Posts: 20

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
here is the blkid ouput of nvme0n1p3 that / is suppose to be on

Now the drive isn't showing up.
drive/filesystem corruption, loose connection, or drive broken is my guess.
Finally I determined that the disk is corrupted and I reinstall the entire OS.
 
  


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
Failure reading sector 0x...... from hd0 giancarlo64 Linux - Newbie 11 05-28-2019 04:46 AM
[SOLVED] error: attempt to read or write outside of disk 'hd0' -- entering rescue mode vienswuer Linux - Distributions 4 09-16-2014 11:00 PM
Error: attempt to read or write outside of disk 'hd0' Entering rescue mode . . . grub lynyl Ubuntu 3 08-05-2014 11:11 PM
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
[SOLVED] grub hd0,0 hd0,1 clarification for using single /boot partition zeebra Linux - General 2 02-28-2012 03:07 PM

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

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