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..._
sudo os-prober
? – Avinash Raj Mar 26 '14 at 03:06/dev/sdb4:Windows 8 (loader):Windows1:chain
– Lazio Mar 26 '14 at 03:14sudo update-grub
command.That's all.Now your windows entry will appear on the grub. – Avinash Raj Mar 26 '14 at 03:23drivemap
should have brought your to http://askubuntu.com/q/233687/40581 without the Boot-Repair bogus. :) If your partition table is not GPT but MBR, then you might want to look at this answer: http://askubuntu.com/q/447686/40581 it deals with MBR installations and creates a new separate boot configuration, though this is intended for using more than one hard drive and requires a bootable Windows installation (I haven't tried running bcdboot with wine yet). – LiveWireBT Apr 16 '14 at 06:28