1

I want to use Windows 10 (64bit) and Ubuntu 18 with dual-boot on my Thinkpad X380 Yoga. (This is my first move into the direction of linux and the first time I am installing an OS by myself)

First installed Windows 10 without any problems. Then I read in the manual https://download.lenovo.com/pccbbs/pubs/x380yoga_s1_4th/html_en/index_en.html#Installing_the_Windows_10_operating_system_(topic)_T0000574679 that I should have enabled "OS Optimized Defaults" before installing windows. In my case "OS Optimized Defaults" was disabled. I changed "OS Optimized Defaults" to be enabled after the windows installation and windows is still booting.

Now I want to install Ubuntu 18.04 on the unused partition.

Should I enable or disable the "OS Optimized Defaults" option? What does "OS Optimized Defaults" actually mean? What are the pros and cons of the two options.

On https://support.lenovo.com/at/de/downloads/ds033268 there is an explanation for "OS optimized Defaults", but I don't know anything about the difference between BIOS and UEFI.

By googling I found an old article that tells that choosing the wrong option for "OS Optimized Defaults" could brick your system. This only scared me more than it helped me to find out what this "OS Optimized Defaults" is all about.

  • BIOS is the old term. All modern computers use UEFI, but the term bios will be with us for a while. google.com/amp/s/www.howtogeek.com/56958/… – Panther Aug 29 '18 at 17:57
  • 1
    Welcome to AskUbuntu. I would recommend finding out that are the settings being enabled or disabled when choosing a profile settings for BIOS. They vary from product to product. One problem is BIOS configuring drive as RAID in many laptop. They are proprietary and Ubuntu doesn't like those, just make sure the drive is set to AHCI in BIOS before install Windows and Ubuntu. The other is Vx-d (virtualization of devices) that should be turn off. – Bernard Wei Aug 29 '18 at 17:57
0

My answer is based on the link provided in the question above

What is OS optimized defaults?

The computers come with a default settings for the UEFI (or BIOS). In this case, it looks like the defaults are different for 64bit Windows 8 and above (the OS optimized default) as compared with older versions of Windows.

What does it mean?

Some times one needs to update the UEFI (also called update the BIOS). In some of these cases it is recommended to revert to the default settings after the update and then manually customize any settings you had changed before.

What happens when you press the button to reset UEFI to its default setting depends on whether the the OS optimized default is enabled or not. If enabled the UEFI will default to one set of settings. If disabled, UEFI will revert to a different default. In either case, you should be able to make any changes from the default manually and save those changes in the UEFI.

How different are these two defaults?

There are 5 differences, two related to security and three related to startup as seen in the link above and copied as an image below:

enter image description here

Lets go through this list one by one.

  1. UEFI BIOS Update Option: Secure RollBack Prevention. I have no idea what it does. I guess it should not have any effects on Ubuntu either way.
  2. Secure Boot. This is the only thing that may matter for Ubuntu. If your computer has any hardware that needs proprietary drivers, those drivers cannot be installed if secure boot is enabled. (I faced this problem a couple of years ago, things may have improved since then.). So if the default setting enables secure boot, under this circumstances, you will have to remember to disable secure boot anytime you press the button to reset UEFI to its default setting, if OS optimized defaults is enabled.
  3. UEFI/Legacy Boot. The Legacy boot is when the new UEFI acts like the old BIOS. In this boot mode, the new features of UEFI are not present. Any OS installed in one boot mode will not boot in the other boot mode. Since you are dual-booting, both OSes must use UEFI mode or both must use Legacy mode. The option to change from UEFI to Legacy is not presented if OS optimized default is enabled. The only choice is UEFI mode. This should not affect installing Ubuntu, as long as you have installed Windows in UEFI mode, and remember to install Ubuntu in UEFI mode as well.
  4. UEFI/Legacy Boot Priority. This should not matter as long as you install both Windows and Ubuntu in UEFI mode.
  5. CSM Support. I am not sure what this one does. My guess is, it has to do something with the Legacy mode. Assuming you are using UEFI boot mode for both Windows and Ubuntu, this should not matter.

Bottom Line

If you have already installed Windows in Legacy mode, then you want to install Ubuntu in Legacy mode as well. In this case, you should disable OS optimized defaults. Otherwise you may not get the option to boot to Legacy mode, after you reset the UEFI to default for any reason.

If you installed Windows in UEFI mode, then it does not matter, except as mentioned in bullet point 2 above.

Hope this helps

| improve this answer | |
  • Thank you very much for your detailed answer. This helped me a lot. How do I find out in which mode I installed windows? – Jakob Aug 29 '18 at 18:57
  • If you think the answer is correct, please select the green check mark next to it on the left margin. This will help others. See how to check if Windows is installed in UEFI or Legacy mode. I just linked the first search result from Google. There are other ways I think. – user68186 Aug 29 '18 at 19:03

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.