Considering installing a second operating system, and want to be aware of the risks? Having Windows and Linux installed on your PC gives you the best of both worlds. But it isn’t always smooth sailing. Dual booting can lead to problems, some of which are difficult to foresee.
Is dual booting safe? Does it affect performance? Here are seven dangers of dual booting that you should be aware of before installing a second operating system.
1. Accidental Overwriting of Data/OS
If this isn’t the most important, it’s certainly the risk that can scupper you before you even get started. After all, overwriting your existing data—or even the primary operating system—is going to lead to problems. Sure, you can use recovery tools, but the chances of recovering all your data are minimal.
Fortunately, most operating system installation wizards can detect primary partitions. This means that if you’re installing Windows alongside a Linux distribution, the wizard should highlight the existing partition. You’ll get a choice of what to do next. Linux operating systems, meanwhile, are similarly smart.
But accidents do happen, so take care when installing. Make sure you install the new operating system onto the correct drive and partition, without accidentally losing your data.
2. Dual Booting Can Hit Productivity
Running multiple operating systems on your PC is a great way to maximize productivity. But sometimes it can be counterproductive. If you have a need to use Windows 10 alongside Ubuntu 20.04, it’s convenient to easily switch into that OS.
But do you really need to? Making sure you have equivalent applications in Linux if you have switched from Windows is important. Similarly, you should ensure suitable options are available if switching the other way. Dual booting should really be for experiencing—and enjoying—the whole alternative operating system environment.
Ultimately, it’s important to make sure you’re using the best operating system for the task at hand.
3. Locked Partitions Cause Problems in Dual Booting Systems
Perhaps one of the biggest pitfalls of dual booting is being unable to access your data. Most of the time, this shouldn’t be a problem. If you have organized things effectively, your vital personal files will be available via whatever operating systems you’re using.
This is possible using cloud storage, for example, or using a HDD partition specifically for personal files.
However, problems can occur. If you’re using Windows and the system shuts down unexpectedly, any dedicated partition used for personal files will be locked. This means that trying to access the drive from your Linux partition will fail. You’ll see a message like this:
Error mounting /dev/sda5 at /media/karma/data: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda5" "/media/karma/data"' exited with non-zero exit status 14: The disk contains an unclean file system (0, 0). Metadata kept in Windows cache, refused to mount. Failed to mount '/dev/sda5': Operation not permitted The NTFS partition is in an unsafe state. Please resume and shutdown Windows fully (no hibernation or fast restarting), or mount the volume read-only with the 'ro' mount option.
This is perhaps the most frustrating risk of dual booting.
Fortunately, it can be fixed, but it might take a few minutes (depending on how quickly your Windows installation boots). You have two options:
- Follow the instructions in the error and boot the device as read only
- Reboot into Windows, then initiate an ordered restart to the boot menu and switch back into Linux
With both fixes, the files should be available with full access again.
4. Windows Update and Dual Booting
Updating your OS is one of the most important steps you can take to ensure a robust and secure computer. Unfortunately, it can lead to problems in dual booting scenarios.
Whereas a system update from your Linux distribution of choice should result in few issues, Windows Update can prove devastating.
Running Windows Update can lead to the Master Boot Record (MBR) being rewritten, leaving you with a missing Linux partition. Failed updates, or even simple driver updates, can also cause problems with a dual boot PC.
In this situation, it’s time to resort to the tried and tested Windows 10 recovery tools
. Although time consuming, if you really need to run Windows, this is the way get it working again.
For the best dual booting experience, ensure that your computer’s boot order defaults to Windows, rather than your Linux OS.
5. Viruses Can Affect Dual Booting Security
Linux-based operating systems are robust, they remain largely untroubled by viruses and other malware. While there are some exceptions, this is largely thanks to the relatively small userbase. The many Linux operating systems collectively command only a fraction of the operating system market.
Clearly, scammers target Windows computers because it’s more efficient for them to get results. However, many websites are attacked or even taken offline due to viruses and malware, and most web servers run on Linux.
If you’re running a dual boot computer, therefore, the likelihood of malware affecting the Linux environment increases.
As such, it is wise to maintain an internet security suite when running Windows. In your Linux operating system, running a malware scanner like ClamAV daily should also put your mind at rest. Don’t just focus on the operating system when scanning for viruses; scan your personal data files too.
6. Driver Bugs Can Be Exposed
From time to time, some hardware issues can occur when dual booting. These are typically linked to Windows device drivers, however, and are becoming increasingly rare.
Perhaps the most common hardware issue when dual booting comes in the shape of built-in wireless network cards. These switchable devices can end up being disabled in Windows, and therefore unable to initialize in Linux.
In some ways, a disabled Wi-Fi card recalls the issues with a locked partition discussed in #3, above.
The solution is to research support for the wireless card (or other device) before installing your operating systems. You should also ensure the drivers are up to date on both operating systems. Also, take a moment to check the status of the device in your PC’s UEFI/BIOS.
7. Dual Booting Can Impact Disk Swap Space
In most cases there shouldn’t be too much impact on your hardware from dual booting. One issue you should be aware of, however, is the impact on swap space. Both Linux and Windows use chunks of the hard disk drive to improve performance while the computer is running. However, by installing additional operating systems on the drive, you reduce the amount of space available for this.
The solution here is obvious: don’t install additional operating systems if there is not enough disk space left over. If you’re desperate to dual boot on your PC, then you can simply buy a new HDD or SSD. Once installed, you’ll have the space to more operating systems.
Do You Have Dual Booting Issues?
It’s extremely unlikely that you would be impacted by ALL of these risks. However, at least one, perhaps two, are likely to occur at some point. But nothing here should put you off dual booting. Ensuring your system is set up correctly is important and can help to mitigate or even avoid these issues.
If you would still like to go back to a Windows-only setup, you can safely uninstall the Linux distro from a Windows dual-boot PC
. Once you’ve done that, why not install Ubuntu inside Windows 10 with the Windows Subsystem for Linux
Affiliate Disclosure: By buying the products we recommend, you help keep the site alive. Read more.