Dual booting enables you to enjoy the best of both worlds by having both Windows and Linux on the same computer.
However, as our years of experience goes with dual booting, you are likely to face some of the common issues that I list here.
Let me share what they are along with suggestions on fixing them.
1. Wrong time displayed when you switch OS
One of the most persistent issues with dual booting is that whenever you make a switch to the second operating system (or come back to the first one), you will find your time messed up.
Sure, you can correct the time every time you boot up. But, that will be annoying.
The most effective way to fix this issue is to type in a command in Ubuntu (or other Linux distros which sets the hardware clock to use local time:
sudo timedatectl set-local-rtc 1
Another easy way to resolve this issue is to enable automatic date & time via the internet.
Every Linux distro will have a similar setting, and the same applies for Windows too. With this option enabled, the OS will check the time from the internet even if it is messed up to start with, and should be updated automatically as soon as it connects to the internet.
If it still does not work, you can refer to our tutorial on fixing the wrong time displayed to know more.
2. Windows being lower in the boot order
Considering, you installed Linux as the second option for dual booting, it is possible you are worried about the order of boot displayed in the grub screen.
By default, you might end up loading the Linux distribution instead of Windows and see Windows listed in the second option in the grub screen.
So, how do we change this? We use Grub Customizer.
You can customize grub to your liking, not just the order, but its design too (if you want to go beyond what I say here).
First, you need to install the Grub Customizer. You can find it in the software center or install it via the terminal with the following command (for Ubuntu-based distros):
sudo apt install grub-customizer
Once you get it installed, open the program. It should prompt you to enter your password again. And, then access the list configuration as shown below.
All you have to do is to move Windows over the first Ubuntu. You can use the arrow option from the top menu for this task.
Make sure to hit “Save” once you change the order for it to take effect.
If you need detailed steps, you can watch this video (a little old but still works):
Or refer to this tutorial:
You can learn more about using grub customizer (and how to change the background of the grub screen) in our tutorial here:
3. No bootable device found error
Whether you installed Ubuntu as a secondary OS or decided to eliminate Windows completely, it is possible to mess up the bootloader (or UEFI settings).
You may not see a grub screen or fail to boot into the OS you installed entirely 😱
Fret not, do not panic, not all is lost.
In such cases, you need to fiddle around with the boot settings, trying a couple of options like turning secure boot on to fix the situation.
Here is what you could do:
Step 1: Head to the boot options before the OS loads up by pressing F12/F2/F10/DEL key.
Step 2: Navigate your way to the security settings, making sure the Secure Boot is enabled.
Step 3: Next, you must look for “Select an UEFI file as trusted for executing†and click enter.
In that option, you have to select the HDD/SDD you installed Ubuntu on, and navigate through:
HDD → <EFI> → <ubuntu> → <shimx64.efi>
Select shimx64.efi file as the UEFI file and save the boot configuration. Now, when you reboot the system, grub should appear.
If you have already tried this, you might want to re-install Ubuntu, and ensure that you select the correct bootloader device for the grub screen to show up.
You can find more details on these steps on our tutorial for fixing no bootable device found:
4. No grub Screen & no option to boot into Linux/Windows
Occasionally, there is no error to be found, but instead, the entire grub screen disappears.
In such cases, you are directly booted in to Windows/Linux by default, with no option to head in to the second operating system.
The immediate workaround to this is to head into the boot menu (using F8, F12, or DEL key) and manually choose to boot into the second operating system.
However, if you want to fix this permanently, you need to fix the boot order for the grub screen to show up.
To achieve that, you can try to change the boot priority from your boot settings. It is the easiest method for most.
You should see the option to access the boot menu. Access it.
Here, identify the Linux boot option (here, it says – ubuntu).
Select it and move it up the order using the F5 key. Thereafter, press F10 to save and exit.
If you do not have this option in your boot settings. You can try adding a new boot entr or set Linux boot from Windows EFI configuration.
To explore those two options, you can follow our tutorial on fixing no grub screen:
If nothing mentioned works, you can try re-installing the Linux distro with the correct bootloader device selected or update grub. That tends to work in some cases.
5. Windows does not appear at all in Grub screen
This was noticed with the release of Ubuntu 22.04 and you can still experience it at times.
The OS Prober feature in Grun probes for installed operating systems on the computer and adds them to Grub menu so that you can choose to boot into them.
But this OS_prober was disabled in Grub version 2.06 and thus when you install Ubuntu or some other Linux, the existing Windows would not show up in the Grub menu.
The fix, or should I say workaround, is to change the grub configuration by adding this line:
GRUB_DISABLE_OS_PROBER=false
to the file /etc/default/grub
. After making changes, save the file and update grub with:
sudo update-grub
6. The system keeps on booting into live version of Linux
This happens when you have the live Linux USB still plugged into the system.
Here’s the scenario. You create a live Linux USB, you plug it in the system and then change the BIOS settings to boot from USB at the top of the boot order and boot from it. Once you installed Linux but you keep the live USB plugged in, it is likely going to boot into the live session again as USB is up the boot order.
That’s the reason why Ubuntu and some other distributions explicitly display a message to remove the installation media (i.e. the live USB) and then reboot.
7. Your distro might not use Grub
You hear about the grub boot screen all the time. However, there are some distributions that do not use grub at all.
So, what then? I was clueless when I first installed Pop!_OS and realized that it does not use grub.
In such a case, you can manually install rEFInd boot manager to act as a replacement to grub.
You can follow the official instructions to install the rEFInd package on your Linux distro. For instance, if you are on Ubuntu, you can install it from its PPA:
sudo apt-add-repository ppa:rodsmith/refind
sudo apt update
sudo apt install refind
Once done, all you need to do is run its installation script:
refind-install
You can also take a look at the ArchWiki for more information on the same if you need to customize the experience.
The installation script should automatically set things up for you. The next time you reboot, you should see a screen like the one in the screenshot above.
💬 What is the problem that you were facing? Did we manage to help you out? Is there something we missed? Let us know in the comments below!
Source: Read More