Velvet Star Monitor

Standout celebrity highlights with iconic style.

news

How to install grub2 in windows 10/UEFI laptop

Writer Emily Wong

I'm trying to install openSUSE Leap 42.3 on my Lenovo Y600 laptop, dual boot with windows 10. It insists on booting windows, even after trying to re-install grub2. Perhaps the complicating factor is that I have a small SSD as the primary boot for windows, and Linux is installed on the hard drive.
Details:
1. Fiddle with bios to allow boot from DVD.
- Boot mode: UEFI
- Fast Boot: Disabled
- USB Boot: Enabled
- Move USB boot to occur before hard drive.
2. Install openSUSE (windows boots, no grub appears)
3. Follow guides at section 16.6.2.3 to boot the system, and 16.6.2.4 to re-install grub.
When Linux is booted, I see that the SSD entries in /dev are nvme0, nvme0n1, and nvme0n1p1 through nvme0n1p4. The hard drive is the standard sda1 through sda7, with the root at sda7. Thus, I believe the correct command to install grub is
grub2-install /dev/nvme0n1
Doing this, windows boots after I exit.
If I boot the installation DVD and select "Boot from Hard Disk", I get
error: not a valid boot device.
What next?
Edit: uefi boot not showing ubuntu / GRUB seemed like it might be helpful, but no. efibootmgr seemed to create a new entry, but it did nothing. And the entry was gone next time I booted to Linux.

Edit: I gave up. To install and boot Linux, I modify the bios to turn off UEFI. To get back to windows, I modify the bios again to enable UEFI.

4 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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