Currently in grub2 ( trying to solve a boot problem ) , coming from this post
grub error: you need to load kernel first
However whenever I am tying to set the Linux kernel using this command
linux (hd0,gpt1)/boot/vmlinuz-5.4.0.-37-generic
I am getting
error: failure reading sector 0x465aa00 from 'hd0'
It cannot be a hard drive problem because i can clearly use ls -la (hd0,gpt1)/
or any such ls
commands and can see the contents ( i wouldn't have known which vmlinuz to take without seeing the contents of boot )
So if anyone can help me on this it would be really appreciated .
cat /dev/sda > /dev/null
command may take up to 3 hours to complete. – Artem S. Tashkinov Jul 14 '20 at 05:52smartctl -t long /dev/sda
test takes as long ascat /dev/sda > /dev/null
to complete. ONLINE and OFFLINE indicate when these attributes get updated. Simply ignore this column. – Artem S. Tashkinov Jul 14 '20 at 07:05