Ubuntu – Dual Boot Issue, Windows 7 64 bit Ubuntu 12.10 64 bit

Ubuntu – Dual Boot Issue, Windows 7 64 bit Ubuntu 12.10 64 bit

dual-bootwindows 7

I just wanted to give you my bootlog and see whether anyone can help me. I have already applied the recommended boot repair solution, I get to see GRUB now but Windows 7 is not listed. Your help is very much appreciated

my bootlog: http://paste.ubuntu.com/5564838/

Best Answer

  • If you have already tried sudo update-grub but grub still doesn’t detect Windows, you can try manually inserting the grub menu entry below in the relevant section (where you have the lines “### BEGIN /etc/grub.d/30_os-prober ###” and “### END /etc/grub.d/30_os-prober ###” and nothing in between) by entering sudo gedit /boot/grub/grub.cfg in terminal, and then saving and rebooting your computer.

    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry 'Windows 7' --class windows --class os $menuentry_id_option 'osprober-chain-1A8422008421DECF' {
        insmod part_msdos
        insmod ntfs
        set root='hd0,msdos2'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  1A8422008421DECF
        else
          search --no-floppy --fs-uuid --set=root 1A8422008421DECF
        fi
        chainloader +1
    }
    ### END /etc/grub.d/30_os-prober ###
    

    If this solves the problem and Windows 7 does work, you might like to make this manual solution permanent by entering the entry also to this system file /etc/grub.d/40_custom

    If this doesn’t solve the problem, you might need your Windows 7 installation disk to repair its bootloader by booting from it and going to recovery mode. It should be adequate to use the fixboot only (and not the fixmbr option) so as not to override the grub2 bootloader.

    Note: I also have (pre-installed) Windows 7 and (user-installed) Ubuntu 12.10 (both 64-bit) working flawlessly, although I never use Windows (I don’t know why I don’t delete it 😉

  • Add a Comment

    Your email address will not be published. Required fields are marked *