Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I installed Ubuntu 12.10 along side with windows. After restarting my laptop in grub it is showing 'windows 7(loader)' but an error is occurred while loading. My Ubuntu 12.10 is working great. Can any help me out with my problem.

share|improve this question
    
Does it prompt any errors, or does it simply fail to load? If so, what does it display until it stops? –  user98085 Oct 20 '12 at 12:34
    
It shows error "A Disk read error occurred,press alt+ctrl+del to restart". –  krishna kishore Oct 20 '12 at 12:39
    
try sudo update-grub from a terminal? –  hwjp Oct 20 '12 at 13:08

4 Answers 4

I had the same problem. It appears that either grub2, or the way Ubuntu implemented grub2, does not detect Windows partitions properly. I had a co-worker help me with this. First get grub working. Then I added the code below in /etc/grub.d/08_custom. Then update-grub. This puts Windows above Ubuntu so it will boot by default.

If you wish to boot Ubuntu by default, modify 40_custom instead. This will create a new entry for Windows along with the useless entry that was originally found. Select the custom entry to boot Windows. My new grub.cfg is at http://paste.ubuntu.com/1368590/.

Here is the contents of my 08_custom:

# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
menuentry 'Windows 7 (customized entry)' {
    insmod part_msdos
    insmod ntfs
    set root='(hd0,msdos1)'
    chainloader +1
}
share|improve this answer

Try the worst choice here if there's no other ways, put your windows installation disc into your computer, the boot from the disc. Then select the partition which Ubuntu is at, Delete them. Roboot and remove the disc, boot from hardrive, and according to my experience, there won't be Ubuntu Grub anymore.(Just for referance, might not work)

share|improve this answer
  1. Fix Windows via a Windows disk this way until you get direct access to Windows.
  2. Recover the GRUB menu via Boot-Repair
share|improve this answer

Fixing the MBR gets windows to load for sure but GRUB disappears, then fixing GRUB gets Ubuntu to load but not windows and so on ...

Never get to a situation where both can boot peacefully from GRUB

share|improve this answer
    
...is the wrong answer! –  Poldie Nov 18 '12 at 23:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.