Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Long story short, I had a single Linux hard drive with a LUKS partitions and stuff which worked really nice for a long time.

Unfortunately, even though Wine nowadays works amazingly well, I couldn't play a few games on my Linux system. And one day, after another Windows feature - "optimus" - broke all of the GPU acceleration after apt-get update, I decided to install a Windows 8 on the second hard drive. Especially, since the license was forced on the new PC anyway - no such thing as OEM Linux PCs :(

So I unplugged the drive, plugged the other one, installed the Windows with UEFI on by default, booted, updated. Replugged back the Linux drive, and now I cannot get them both to work through GRUB without going into BIOS every time.

Linux was installed in legacy mode, but it worked with UEFI option turned on later, Windows 8 was installed in UEFI mode w/o secure boot. Both drives are in a PC. But I can only boot Win if UEFI is on or Linux if UEFI is off.

Is there a way to fix the GRUB? UEFI menu entries?

share|improve this question
Why do you use grub? If you have UEFI you don't need it. Here's an answer which covers how to set up UEFI and Linux: Windows 7 and Debian on UEFI. You didn't specify the distribution or kernel you use. If your kernel is already compiled with efi stub support, you can skip most of the stuff mentioned in the answer and simply add Linux to your UEFI boot list. –  Marco Mar 16 '13 at 10:16

1 Answer 1

If you installed Linux in legacy mode, you will only ever be able to boot it in legacy mode. Reinstall Linux in UEFI mode.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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