"A Disk Read Error" while starting Windows after Ubuntu upgrade + Boot Repair

16,229

Solution 1

I had the same problem and I fixed it by standing on the Windows 7 loader drive and press E to edit.

My insmod was set to ldm and the set root was set to /ldm/(lotofhexnumbers)/volume1.

So I edit these two lines and press Ctrl+X this will boot but will not save this is just for testing.

insmod part_msdos

set root='(hd0,msdos1)'

If it works for you, boot back in to Ubuntu sudo gedit /boot/grub/grub.cfg.

Look for menuentry the name of your boot profile, edit the lines below and save, reboot and selecting the Windows will boot normally.

insmod part_msdos

set root='(hd0,msdos1)'

Solution 2

Running the boot-repair tool does more than fix grub. It looks like it busted your windows boot config. If you run the "startup repair" program that is on your windows 7 install disk, that should fix your Windows boot, but will probably again overwrite grub.

To fix this, try following the following steps:

Boot from the live CD.

Open up a terminal and find out which partition has your Ubuntu installation:

sudo fdisk -l

Mount your partition:

sudo mount /dev/sdaX /mnt  # sdaX is the partition that has Ubuntu

Bind mount some other necessary stuff:

for i in /sys /proc /run /dev; do sudo mount --bind "$i" "/mnt$i"; done

chroot into your Ubuntu install:

sudo chroot /mnt

At this point, you're in your install, not the live CD, and running as root. Update grub:

update-grub
grub-install /dev/sda
update-grub

If everything worked without errors, then you're all set:

exit
sudo reboot

At this point, you should be able to choose which OS you want to boot into on startup.

Solution 3

  1. Fix Windows via a Windows disk: https://help.ubuntu.com/community/RestoreUbuntu/XP/Vista/7Bootloader , until you get direct access to Windows.
  2. then use Boot-Repair to recover the GRUB menu
Share:
16,229

Related videos on Youtube

Ravindra S
Author by

Ravindra S

Here to learn. Display name and picture inspired by Carl Sagan.

Updated on September 18, 2022

Comments

  • Ravindra S
    Ravindra S over 1 year

    I just upgraded to 12.10. After installing the files and rebooting I had come across following problem:

    error file not found
    grub rescue> _
    

    This problem was easily solved by repairing the boot using Boot Repair tool. This answer helped me.

    But after this, Windows won't start. It's giving following error:

    A disk read error has occurred
    Press Ctrl+Alt+Del to restart
    

    Screenshot showing message about disk read error.

    How do I fix this?

  • Ravindra S
    Ravindra S over 11 years
    I tried this. It restored the windows after first step. But after using Boot-repair, it reproduced the same problem :(
  • LovinBuntu
    LovinBuntu over 11 years
    Boot-Repair simply reinstalls GRUB, so I guess the problem is that GRUB damages the Windows bootloader. Please indicate the URL that appears after you run the Recommended Repair. This will give us clues about your problem.
  • Alex L.
    Alex L. over 11 years
    Hand modifying files in /boot is ALMOST NEVER the best option and it certainly is not here.
  • Amir Reza Adib
    Amir Reza Adib over 11 years
    if theres knowledge around customizing boot configuration then surely its last resort when other options doesn't work,In my experience this is what helped me many times.and i recommended to gather some info before doing that.( Clearly you loose nothing with this method which can't be returnable )
  • Eliah Kagan
    Eliah Kagan over 11 years
    Why run update-grub a second time right after grub-install? Doesn't grub-install do everything update-grub does (and more)?
  • krisanalfa
    krisanalfa almost 8 years
    YOU SAVED MY LIFE!