I was using Win8 and installed Ubuntu 12.10... There is an entry in GRUB for W8, but when selecting it - GRUB comes back again, so Windows never boot up. I can only launch my Ubuntu.
/dev/sda1 * 2048 206847 102400 7 HPFS/NTFS/exFAT
/dev/sda2 206848 123086847 61440000 7 HPFS/NTFS/exFAT
/dev/sda3 123086848 586145789 231529471 7 HPFS/NTFS/exFAT
/dev/sda4 586145790 976771071 195312641 5 Rozszerzona
/dev/sda5 586145792 761929727 87891968 83 Linux
/dev/sda6 761931776 976771071 107419648 83 Linux
sda2 is Windows 8 partition, sda1 is Windows swap (or whatever it names). In GRUB Customizer entry for W8 look like that:
insmod part_msdos
insmod ntfs
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 A456A29B56A26DAC
else
search --no-floppy --fs-uuid --set=root A456A29B56A26DAC
fi
drivemap -s (hd0) ${root}
chainloader +1
sudo update-grub
didn't help me :/
The A456A29B56A26DAC
is Windows boot (sda1
), Windows (sda2
) is 0CDA0065DA004D80
Result from bootinfoscript: http://pastebin.com/bVc9Ziq0 show that Grub has overwritten the Windows 8 boot partition boot sector:
sda1: __________________________________________________________________________
File system: ntfs
Boot sector type: Grub2 (v1.99)
Boot sector info: Grub2 (v1.99) is installed in the boot sector of sda1
and looks at sector 667401296 of the same hard drive
for core.img. core.img is at this location and looks
in partition 72 for . No errors found in the Boot
Parameter Block.
Operating System:
Boot files: /bootmgr /Boot/BCD
Is there an easy way to fix it and make Windows bootable without reinstalling?...