I want to install a linux distribution on my computer. I have a SSD and an HDD. The SSD has Windows 8.1 and I partitioned 200 gigs from my 1 TB HDD to install linux. The linux installation was going smoothly until it reached the step where it needed to install Grub. I encountered the error "Unable to install GRUB in /dev/sda"

The Linux partition is in the drive /dev/sdb and my Windows is on /dev/sda. I read online that since I'm putting linux on a seperate drive from my Windows that I need to install Grub on the MBR which means that I need to install Grub in /dev/sda, right?

Also, I want to mention that fast boot and secure boot are disabled.

I need some advice, I've been working on this for hours!

  • GRUB does not need to be on /dev/sda. You might want to add the information from the comments on Mario's answer to your question so all of the diagnostic information is in your question. – fixer1234 Feb 7 '15 at 18:39

Can you install GRUB on another partition (i.e. the linux partition?).

If so, you could then just add GRUB to Windows' bootloader as described in the answer to this more or less related quesiton.

| improve this answer | |
  • Yeah I can install grub on the actual partition, which in my case would be /dev/sdb4, and the installation goes by fine when doing it like that, but when I reboot the grub menu doesn't show up – DsDude Feb 7 '15 at 10:18
  • @DsDude You'll have to tell Windows' bootloader that there's some other OS there. See the question/answer I linked. It includes step-by-step procedure on how you're able to essentially add GRUB to the Windows bootloader. – Mario Feb 7 '15 at 10:19
  • It didn't work, I installed grub in /dev/sdb4 and used EasyBCD to to add the entry of partition 4 of my second hard driveand I also wrote to the MBR, but when my computer boots up and gives me the choice to pick between windows and linux I choose linux but it fails to start up – DsDude Feb 7 '15 at 11:06
  • @DsDude Any error message? Maybe update your initial question with what you've tried now and the results. – Mario Feb 8 '15 at 8:56
  • I figured it out, thanks for your help Mario. – DsDude Feb 10 '15 at 9:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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