Dual Boot configuration for Windows 10 and openSUSE with full UEFI and Secureboot support

Questions and preamble

As has become normal, the FOSS/Linux community is peppered with anxiety over yet another major change to the tech landscape issuing forth from Redmond. With the release of Windows 10 comes a great many questions for the thoughtful, and this is especially true for our very own Linux communities. With gratitude we can recall our own past relief upon discovering that UEFI and Secureboot are not the herald of the end-times we had feared them to be. That being so does not however relieve the question of safely upgrading our dual-booting computers to Windows 10 without losing our ability to run Linux in tandem.

Excitement for Windows 10 was largely absent in me. I had grown quickly comfortable to the Windows 8.1 work-flow as it shared some similarities in those key areas which I had already grown to love in the GNOME Shell. Further, Windows served a role limited to usage for proprietary software that I deemed not sensible to coax into service on a Linux OS. However it did make sense for me to upgrade for my employment as a repair technician. It seems incumbent on me to familiarize myself with the upgrade process and the general operation issues of Windows 10.

Can I perform the upgrade safely?

In short, yes. Performing an in-place upgrade of your present Windows operating system will not overwrite your Linux partitions. However, the necessary Boot Configuration Data settings directing the UEFI firmware to use GRUB for booting will be lost. The Windows Boot Manager will be reasserted. This can be changed from within Windows using bcdedit.

How about a fresh installation?

Some users prefer to make a clean installation of their operating systems instead of in-place upgrades. Unlike in older versions of Windows, you can direct Windows 8 and above to specific partitions. This means that whether you wish to install Windows first in sequence or not is inconsequential; you can now install Linux first without worrying about the Windows installer overwriting it. 

One minor caveat however is that if you are not using a computer with UEFI firmware instead of a BIOS, GRUB will need to be installed after the Windows installation. 

Can I still get the free Windows 10 upgrade even if I want to cleanly install it? 

Yes. However, you will need to initiate the in-place upgrade for Windows 10 in your already present qualifying Windows 7, or 8.1 installation. As +How-To Geek says in their article, "When you upgrade a Windows 7 or 8.1 system to Windows 10, the installer confirms that you have a “genuine Windows” system installed and activates your computer for use with Windows 10. Note that you don’t actually get a Windows 10 product key — instead, your computer’s hardware is registered with Microsoft’s servers. When you install Windows 10 on that PC again in the future, it will check in with Microsoft’s servers, confirm it’s installed on a registered PC, and automatically activate itself."

How to install Linux alongside Windows 10

Prepare your hard drive

If you've performed a clean installation and installed openSUSE first in sequence, then drive preparation is irrelevant for your consideration. Note: if you intend to install openSUSE to a separate drive on a computer with UEFI, the  /boot partition must be placed on the primary drive with the Windows partitions.

Create free space

Though there are different ways this can be achieved, I advocate the following as the safest method. Creating free space should be simple if you have freshly installed Windows 10 instead of performing an in-place upgrade.

In Windows, open the Disk Management module from the Control Panel. You can find this simply by searching for it from the Start Menu/Cortana. Select your Windows partition (this is probably C:\ and the largest) and right click. The context menu will show an option to "Shrink Partition." Select this, and specify the size you would like.

If Windows is not allowing the amount of space you would like for your openSUSE installation, you can try clearing your temp files with a utility (I use Glary Utilities) and rebooting. If this still does not work, you can use an advanced utility such as PerfectDisk by Raxco which has a special mode specifically for preparing the partition for shrinking.

Now Install

Now simply use your install media such as DVD or bootable USB to install openSUSE. I will not detail this as it is easy. See our Installation Portal for more details. 


Post-installation configuration (critical)

Finally there are a couple things you must do to get your dualboot working properly with GRUB. If installing the latest openSUSE (LEAP 42.1) you will need to update your system completely. 42.1 contained a regression which did not chainload the Windows bootloader correctly, preventing you from using your Windows system. I prefer to update with zypper from the command line interface:
"sudo zypper up"
Now reboot, and you should be able to successfully boot into your Windows system. From GRUB, select the Windows entry since the next steps will need to be taken from within Windows. Though the same changes can be applied from within openSUSE, I find it much simpler to do from within Windows.

Optional step necessary for a few rare systems.
Now from your Windows 10 desktop, right click the Start Menu. From the context menu that comes up, select "Command Prompt (Admin)." A black Windows Command Prompt box will come up. Now insert the following line into the command prompt:
"bcdedit /set {bootmgr} path \EFI\opensuse\shim.efi"
This line will instruct the computer's firmware (EFI which is the successor to the BIOS) to use openSUSE's GRUB boot loader.

And that's it. Have a lot of fun!

Comments

  1. I was facing issues while using UEFI boot settings, this has happened after I have flashed my motherboard, but on prolonged issue figured out it to be a system file corruption which was resolved my me via a Factory reset windows which has fixed this particular issue.

    ReplyDelete
  2. Is your device shows Roku error code 016 ? Are you unable to connect your Roku to Wi-Fi? Don't get frustrated. Just talk to our technical experts. They can help you to solve your queries instantly. Call us on our toll-free number USA/Canada: +1-888-480-0288 & UK: +44-800-041-8324. Go to our website for more information.

    ReplyDelete
  3. Norton antivirus is one of the most popular and well-reputed antivirus software in the market. It protects devices from virus, malware and other online threats. However, sometimes users face issues while performing the Norton Login process. If you are one of them who are getting the same issue then no need to worry as we are here to provide the best solution to the problem.



    Norton Internet Security Login
    Norton Antivirus Login
    Log into Norton Account
    My Norton Account Login
    Norton Antivirus Account Login
    Norton Antivirus Sign In
    Norton Security Login
    Norton Sign In
    Norton Account Login
    My Norton Account Sign In
    Norton Login My Account

    ReplyDelete
  4. iCloud Mail Login has helped numerous people when it comes to connecting with the various organizations or the people. Mails have the most important role when it comes to sharing the various organizations. iCloud Login Email can be done with the help of experts, where you can ask them the queries related to anything related to mails.

    ReplyDelete
  5. There are a few steps to follow on Sbc email verification, you have a question, so we are here for your solution, so we are here to help you with sbc communication with global certification. As we all know, email is worth it. Therefore, confirmation is always required.

    Read more: SBCglobal Login | SBCglobal Login

    ReplyDelete
  6. As there is no official app, fo the Arlo who can directly fit in the computer or laptops the best home security cameras are also available for your PC. Arlo app for PC is one of them. By downloading bluestack emulator from the play store or google app, you will be allowed to do so.

    ReplyDelete
  7. Attempting to access your account with Arlo login? If yes, then we can share useful information with you to make your way more easy than ever. We're gonna tell you how you can perform the Arlo Netgear login process by installing the Arlo app on your mobile.

    Arlo login
    arlo camera login

    ReplyDelete

Post a Comment

Please share your insights, opinions, or questions. In that order preferably :p

Popular posts from this blog

Life without Netflix, streaming on Linux can be awesome!

Giving 12.1 and Gnome 3 a second chance.