What to do when I get an "attempt to read or write outside of disk 'hd0'" error and Boot Repair does not solve the problem?

Martin Drozdik

I tried to install Xubuntu 13.10 on an older computer. I noticed some difficulties during installation that may be relevant to my problems. Notably:

  1. The screen resolution was extremely low. The windows were much larger than the screen and I had to move them around to get to the "Next" button.

  2. The mouse cursor was a blur of colours that was flashing all the time.

The installation finished and I tried to reboot the computer. Immediately I got:

error: attempt to read or write outside of disk 'hd0'. 
Entering rescue mode... 
grub rescue>

I made a Boot Repair USB disk, booted it and chose the default repair. The application told me that the problem is repaired and that If this does not solve my problem I should show this link to someone who can help me.

What should I do next? I already tried to install Ubuntu and Xubuntu, both with no success.

EDIT:

I found a workaround.

  1. Insert the Xubuntu live USB
  2. Select "try Xubuntu"
  3. In the settings menu select "install Xubuntu"

This fixed the problem for me. Since it is solved I cannot test the answer.

user223882

Locate the partition in which linux is present with the help of following technique

grub rescue > ls
(hd0) (hd0, msdos9)
grub rescue > ls (hd0,msdos9)/
grub rescue > ls (hd0,msdos8)/
grub rescue > ls (hd0,msdos5)/ # suppose this is root and bootloader of linux
grub rescue > ls (hd0,msdos5)/
grub rescue > set root=(hd0,msdos5)
grub rescue > set prefix=(hd0,msdos5)/boot/grub
grub rescue > insmod normal
grub rescue > normal

Now, system's boot menu appears. Boot into linux.

sudo update-grub
sudo grub-install  /dev/sda # If the drive is hd0 the equivalent is sda, if it's hd1 then use sdb

This fixes boot loader.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Boot: error: attempt to read or write outside of disk 'hd0' after update

error: attempt to read or write outside of disk 'hd0'

grub error: attempt to read or write outside of disk 'hd0'

Attempt to read or write outside of disk 'hd0' - dual boot Windows 10 & Ubuntu 16.04

Grub: attempt to read or write outside of disk 'hd0'

attempt to read or write outside of disk hd0 ubuntu

What to do when the SQL index does not solve the problem of performance?

Boot repair asking for 64 bit iso - what do I do with it?

How do I solve this problem where I get 'unable to locate the element' error when trying to click on a button that expands on click

Why do I get this error? What does this error mean?

How do I solve this problem to use psql? | psql: error: FATAL: role "postgres" does not exist

What should I do when I get 'There are stopped jobs' error?

What does this error mean that I get when trying to start an emulator?

How do I solve the issue when I get "pip isn't recognized" error in Django virtualenv?

How do I use Boot Repair Disk?

Why do I get this error when working with selenium ?? And what is the solution?

what does this "snap-repair" error mean?

What to do when boot-repair warns to change pc from legacy to efi mode?

What does the Repair tool do in Programs and Features?

How do I solve this problem when rendering a list with Vue and Axios?

What do I have to do to solve a "use of moved value" error?

What can I do to improve my code and how to solve this error? Hydration failed because the initial UI does not match what was rendered on the server

Can I trust Boot Repair when it says "There was an error. You can now reboot"?

What does 'error while retrieving information from server [DF - AA - 33] mean and how do I solve this error? Google play store?

What do I do when launching an application triggers repeating, endless Windows Installer self-repair?

Try to merge git branch and get <<<<<<< HEAD in some files. What does it mean and how can I repair this?

Why do I get a Boot timeout error (Error R10) when running my app on Heroku?

What should I do to solve this cv2 error?

What can I do to solve this NullPointerException error in Java?