Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Ok, so that's what I did: I installed ubuntu and when I had to chose the partitions and grub install I clicked on overwrite "windows bootloader" or something like that, now everytime I boot, grub shows ubuntu and windows, ubuntu works but if I choose windows grub send me back to itself. It's like the windows bootloader loads... grub. How can I fix that?

parted /dev/sda print Model: ATA WDC WD3200BEVT-7 (scsi) Disk /dev/sda: 320GB Sector size (logical/physical): 512B/512B Partition Table: msdos

Number  Start   End     Size    Type      File system     Flags
 1      32.3kB  82.3MB  82.2MB  primary   fat16           diag
 2      82.8MB  10.8GB  10.7GB  primary   ext4
 3      10.8GB  317GB   307GB   primary   ntfs            boot
 4      317GB   320GB   2683MB  extended                  lba
 5      317GB   320GB   2683MB  logical   linux-swap(v1)

Windows part of my grub.cfg

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sda3)" --class windows --class os {
    insmod part_msdos
    insmod ntfs
    set root='(hd0,msdos3)'
    search --no-floppy --fs-uuid --set=root 7AF84223F841DE4F
    chainloader +1

share|improve this question
please post the output of parted /dev/sda print and the windows part of your grub.cfg (located in /boot/grub/ or /boot/grub2/ ). change the harddrive name above if you have ubuntu / windows on another drive. – Baarn Dec 31 '11 at 1:06

Try to repair the boot with this:

share|improve this answer

Your Answer


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.