1

What should I enter below to run Windows 8 from the Grub menu? I'm a total newbie, and it doesn't work from the beginning somehow.

Ubuntu works perfectly fine, but Windows gives me some error message like incorrect something (Secure Boot forbids loading module and unknown command 'drivemap'). I know I need to change something here to make it work, but I don't know what.

menuentry "Windows 8" {
set root = "(hd0,4)"

  chainloader +1

  }

I got a purple screen with this error message:

error: Secure Boot forbids loading module from (hd3, gpt0)/boot/grub/normal.mod.
error: no such device: 861287C9128786A9.
error: unknown command ‘drivemap’.
error: no such partition.

Press any key to continue..._

Update: I disabled Secure Boot, and again I got a purple screen with the following error message:

error: unknown command ‘drivemap’.
error: invalid EFI file path.

Press any key to continue..._
  • This would help you. – Avinash Raj Mar 26 '14 at 2:59
  • I don't understand it. – Lazio Mar 26 '14 at 3:05
  • I don't know what set root is supposed to be etc. – Lazio Mar 26 '14 at 3:05
  • What is the output of sudo os-prober? – Avinash Raj Mar 26 '14 at 3:06
  • I have no idea what you're talking about. Could you please explain it to me clearly what I should do and what to focus on instead of giving me names I have no idea about. – Lazio Mar 26 '14 at 3:12
1
menuentry "Windows 8 (loader) (on /dev/sda2)" --class windows8 --class os {
        insmod ntfs
        set root='(hdo,2)'
        search --no-floppy --fs-uuid --set 5e32cd5e32cd3bb1
        drivemap -s (hD0) ${root}
        chainloader +1
}
|improve this answer|||||
  • That probably won't work as the drivemap commmand is missing for UEFI installations. – LiveWireBT Apr 16 '14 at 6:30

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