9
7
I've been trying for a month now to dual boot Windows 8.1 and Debian Jessie now. I thought it was about time I asked for help as I'm becoming a little crazy.
I've tried following a lot of tutorials, I'll link a few:
I can't post more links, a shame, because I've tried a lot.
There were some really easy tutorials, like the first one, where I couldn't continue, because sudo modprobe efivars
failed. sudo modprobe efivarfs
did succeed though. But when I continued after using efivarfs, there wasn't a new entry.
I also tried using EasyBCD, setting it on GRUB 2 and "automatically choose and load", but it would choose "/NST/AutoNeoGrub0.mbr". Which is of course is not correct. So basically, to sum up my problem: modprobe efivars
doesn't work, and because a lot depends on that, every tutorial I follow, fails.
How I can start Linux and some background information: I had Windows 8 first and still want to keep it and use its bootloader, because it already loads windows 8 a bit. I've got Secure Boot off and UEFI on with Legacy boot options on. I can boot Debian by going into boot menu and choosing Hard Drive under Legacy Boot.
Oh yeah, Almost forgot, when I wanted to install Debian, using an USB stick with some nice Windows programs didn't work, so I had to use a DVD+RW to install it.
I've tried this order a few times now:
sudo mount /dev/sda1 /boot/efi
sudo modprobe efivarfs
sudo grub-install /dev/sda
sudo update-grub
Sometimes I had to use --force
, I don't remember why anymore, I have tried so much stuff...
I really hope some of you have got a solution for me!
when installing debian, it asks if I want to install Grub in the MBR, what should I say? where do i tell it to install grub? thanks for your help! – Throoze – 2014-07-24T04:09:28.437
If it is saying that, UEFI is in CSM mode (assuming a UEFI enabled motherboard). – ChrisR. – 2014-07-25T09:41:26.587
@Throoze I don't think this will help you, but you should say yes. You have to install it in your MBR. You can see what partition is MBR on link.
FYI: I suddenly had some luck when installing from USB, it suddenly went all fine when I installed it
"You are only going to tell the installer to use it as the EFI partition." How do you do that? I just installed debian, but I didn't see any way to add an entry to the UEFI boot partition... – Anubian Noob – 2014-11-11T19:13:07.273
@AnubianNoob This step is done during the partitioning of the hard drive inside the Debian installer. If you go into "Partition hard drives" option (paraphrasing), you can set the EFI partition that Windows made as the EFI partition for Debian to use by setting the partition as EFIboot (by setting the EFI boot flag) – ChrisR. – 2016-06-30T15:24:55.513
Thank you very much, I reinstalled windows 8 and installed Debian on USB. Because if this, it was instantly UEFI enabled. Now I'm using Grub as bootloader. Thank you very much, I appreciate your answer! – Protonz – 2014-03-13T13:17:53.823