grub-probe: error: cannot find a GRUB drive for /dev/sda1

Posted by Thilina on Ask Ubuntu See other posts from Ask Ubuntu or by Thilina
Published on 2012-11-13T12:55:24Z Indexed on 2012/11/13 17:18 UTC
Read the original article Hit count: 305

Filed under:
|
|
|
|

I'm trying to add windows 7 for my new 12.10 grub bootloader.

None of the things worked out; such as .. copying bootx64.efi methods, I'm getting this output:

grub-probe --target=fs_uuid /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi

grub-probe: error: cannot find a GRUB drive for /dev/sda1.  Check your device.map.

....... my device map .......

(hd0)   /dev/disk/by-id/ata-WDC_WD6400BPVT-55HXZT3_WD-WXD1EA1MSVR4

....... 40_custom .....


menuentry "Microsoft Windows x86_64 UEFI-GPT" { 
    insmod part_gpt
    insmod fat 
    insmod search_fs_uuid
    insmod chain
    search --fs-uuid --no-floppy --set=root 80BD-E086
    chainloader (${root})/efi/Microsoft/Boot/bootmgfw.efi
}

When booting to windows 7 give me blank black screen with a cursor blinks for 2 seconds then reboot, I've tried boot-repair too.

I think I'm missing Windows UEFI Bootloader files.

© Ask Ubuntu or respective owner

Related posts about grub2

Related posts about 12.10