close
  • It chevron_right

    Dual Booting Ubuntu and Windows With a SSD and a HDD

    pubsub.do.nohost.me / ItsFoss · Thursday, 11 March - 11:22 · 7 minutes

Dual booting Ubuntu and Windows is not that complicated and I have covered it in detailed tutorial in the past. Recently, I also wrote about dual booting on a Bitlocker encrypted Windows system .

And yet here I am talking about it again. Why? Because the scenario is slightly different and several It’s FOSS readers have asked questions about this particular scenario.

Here’s the scenario: you got a new computer. It comes with a SSD with limited disk space like 120 GB and an additional HDD with 500 GB or 1 TB disk space. This is usually the scene with gaming laptops where large disk space matters for storing game files but SSD is required for faster boot and computing experience. 1 TB SSD would increase the system price a lot and hence this particular combination of SSD and HDD.

Now, if you want to dual boot on a system with two disks, you may get confused about where should you be installing Linux.

You have three options:

  1. Install Linux completely on the SSD. You’ll get full advantage of SSD speed, but then you will have only a limited disk space.
  2. Install Linux completely on the HDD. You’ll have plenty of disk space, but Linux will boot slower, and you won’t get the SSD advantage.
  3. A compromise between SSD and HDD. You keep the root (and thus swap and boot) on SSD and you put your Home directory on HDD. This way, you boot faster into Linux and you have plenty of disk space for your personal documents and downloads.

There is also a fourth option here. You keep root as well as home on SSD. And you make a partition on the HDD and then soft link it to your Music, Videos and Downloads folder. This way, application-specific files like browser caching utilize the SSD and other big files stay on HDD. But this could be complicated to set specially with fast boot enabled on Windows which would mean special efforts to auto-mount the partitions.

I recommend going with the third option for dual booting on separate hard drives and this is what I am going to show you in this tutorial.

Dual boot Ubuntu and Windows on a system with SSD and HDD

dual booting system hdd ssd

I have used an Acer Predator gaming laptop in this tutorial to install Ubuntu alongside Windows. The tutorial should work for other hardware manufacturers and Linux distributions.

I advise reading through all the steps first and then follow the tutorial on your system.

Prerequisite

Here are the things you need in this tutorial:

  • A computer that comes preinstalled with Windows 10 and has both an SSD and an HDD.
  • A USB key (pen drive or USB drive) of at least 4 GB in size and no data on it.
  • Internet connection (for downloading Ubuntu ISO image and live USB creating tool).
  • Optional: External USB disk for making back up of your data.
  • Optional: Windows recovery disk (if you encounter any major boot issues, it could be fixed).

Step 1: Make backup of your data

Since you’ll be dealing with disk partitions, it will be wise to make a copy of your important files on an external disk. This is optional but having a backup is always a good idea.

You can use an external HDD (slower but cheaper) or SSD (faster but expensive) and copy the important files and folders on it.

Step 2: Make disk partition for Ubuntu installation

In the Windows menu, search for disk and go to ‘Create and format hard disk partitions’.

disc management windows

You’ll see both SSD and HDD here. You have to shrink both SSD and HDD one by one and make some free space that will be utilized later for installing Ubuntu Linux.

Right click on the SSD and choose Shrink Volume option.

shrink volume for ubuntu install ssd

It will give you the largest possible disk partition you can make here. Don’t use it all. Leave some extra space for Windows. I have given it 30 GB which is a decent disk space for the root partition. Anything between 20 and 40 GB is a fair choice.

shrink volume for ubuntu install ssd 1

Repeat the process with the HDD as well . I made around 200 GB of free space for Linux. You are free to decide how much space you want to allocate to Ubuntu.

Here’s what the final disk scenario looks like for my system. 29.3 GB free space on SSD and 195.3 GB free space on HDD.

shrink volume for ubuntu install ssd 2

Step 3: Download Ubuntu

Download Ubuntu Desktop

Go to Ubuntu’s website and download the ISO file. If you need torrents, you can find it under the ‘alternative downloads’.

Step 4: Create bootable Ubuntu USB

You can easily create bootable Ubuntu USB in Windows , Linux and macOS. Since the focus here is on Windows, you can use a Windows specific tool like Rufus. Etcher is also a good tool in this regard.

Download Rufus from its website.

Plug in your USB. Make sure it doesn’t have any important data because it will be formatted.

Run the Rufus tool. It automatically identifies the plugged in USB but double check it anyway. Then browse to the location of the downloaded ISO image and ensure that it uses GPT partitioning scheme and UEFI target system.

Make Live Usb With Rufus

Hit the start button and wait for the process to complete. Once you have the live Ubuntu USB ready, the next step is to boot from it.

Step 5: Boot from the live USB

You may choose to access the boot settings when the system starts by pressing F2/F10/F12 button but a more robust way is go through Windows.

In the Windows menu, search for UEFI and then click on ‘Change advanced startup options’:

Accessing Uefi Settings Windows

Under the Advanced startup option, click on Restart now button.

Access Uefi Settings Windows

On the next screen, click on ‘Use a device’:

Access Uefi Settings Windows 1

Recognize the USB disk with its name and size. It may also be displayed as EFI USB Device .

Access Uefi Settings Windows 2

Now it will power off your system and reboot into the disk you chose which should be the live USB disk. You should see a screen like this:

Ubuntu Live Install Screen

Step 6: Installing Ubuntu Linux

Now that you have booted from the live USB, you may start the installation procedure. The first few steps are simple. You choose the language and keyboard.

On the next screen, choose Normal installation. No need to download updates or install third-party software just yet. You may do it after installation completes.

Installing Ubuntu in dual boot

After some time you’ll see the Installation type screen. Here, opt for ‘ Something else ‘ option:

choose something else installing ubuntu

You should see the free space you had created earlier on the next screen. Select the free space created on SSD (you can guess by its size if nothing else) and click on the + sign to use this free space.

using free space while installing ubuntu

By default, it will take the entire free space which is a good thing. Keep the partition type primary.

What you need to change is the file system type to Ext4 and mount point to / (/ means root in Linux).

creating root while installing ubuntu

Now, select the other free space on the HDD and click the + sign .

using free space while installing ubuntu 1

This time choose Home as the mount point. Partition remains primary and file type ext4.

creating home while installing ubuntu

You don’t need to worry about ‘Device for boot loader installation’. You have a pre-installed Windows UEFI system. You should have an EFI partitioning (ESP) already (for me it’s 100 MB partitioning with type efi). The Ubuntu installer is intelligent and can automatically detect this partition and use it for Grub bootloader .

This is the final partitioning scheme for my system. If everything looks good, hit the Install Now button.

disk partition dual boot dual disk

Things are pretty straightforward from here. Select a timezone.

Installing Ubuntu Timezone Selection

Enter a username, computer’s name, i.e. hostname and an easy to remember password.

Installing Ubuntu Account Setup

Now wait for like 7-8 minutes for the installation to finish.

Installing Ubuntu

Restart the system when the installation finishes.

Restart After Installing Ubuntu Restart after installation completes

You’ll be asked to remove the USB disk. Remove the disk and press enter.

Ubuntu Finished Installation Remove USB and press enter

If things go right, you should see the black or purple grub screen with option to boot into Ubuntu and Windows.

Dual Boot Grub Screen You can choose the operating system from the grub screen

That’s it. You can now enjoy both Windows and Linux on the same system with SSD and HDD. Nice, isn’t it?

I hope this tutorial was helpful to you. If you still have questions or facing any issues, let me know in the comment section, and I’ll try to help you out.

  • It chevron_right

    How to Update openSUSE Linux System

    pubsub.do.nohost.me / ItsFoss · Tuesday, 9 March - 08:45 · 2 minutes

I have been an Ubuntu user for as long as I remember. I distrohopped a little but keep on coming back to Ubuntu. But recently, I have started using openSUSE to try something non-Debian.

As I keep exploring openSUSE , I keep on stumbling upon things that are slightly different in SUSE-worse and I plan to cover them in tutorials on It’s FOSS.

As a first, I am writing about updating openSUSE system. There are two ways you can do that:

  • Using terminal (valid for openSUSE desktops and servers)
  • Using a graphical tool (valid for openSUSE desktops)

Update openSUSE via command line

The simplest way to update openSUSE is by using the zypper command. It provides full functionality of patches and updates management. It takes care of the file conflicts and dependency problems. The updates also include Linux kernel.

If you are using openSUSE Leap, use this command:

sudo zypper update

You may also use up instead of update but I find it easier to remember.

If you are using openSUSE Tumbleweed, use the dist-upgrade or dup (in short). Tumbleweed is rolling release distribution and hence it is advised to use dist-upgrade option.

sudo zypper dist-upgrade

It will show you the list of the packages to be upgraded, removed or installed.

Update openSUSE with Zypper Command

You’ll be notified if your system requires reboots.

If you just want to refresh the repositories (like sudo apt update), you may use this command:

sudo zypper refresh

If you want to list the available updates, you can also do that:

sudo zypper list-updates

Graphical way to update openSUSE

If you are using openSUSE as a desktop, you’ll have the additional option of using the GUI tools for installing the updates. This tool may change depending on which desktop environment you are using .

For example, KDE has its own Software center called Discover. You can use it to search and install new applications. You can also use it to install system updates.

opensuse update gui

In fact, KDE notifies you of available system updates in the notification area. You’ll have to open Discover explicitly because clicking on the notification doesn’t automatically take you to Discover.

update notification opensuse

If you find that annoying, you may disable it using these commands:

sudo zypper remove plasma5-pk-updates
sudo zypper addlock plasma5-pk-updates

I wouldn’t recommend it though. It’s better to get notified of available updates.

There is also the YAST Software Management GUI tool which you can use for more granular control on package managements.

yast software management suse

That’s it. It was a short one. In the next SUSE tutorial, I’ll show you some common zypper commands with examples. Stay tuned.

  • It chevron_right

    How to Install Nvidia Drivers on Linux Mint [Beginner’s Guide]

    pubsub.do.nohost.me / ItsFoss · Friday, 5 March - 05:37 · 6 minutes

Linux Mint is a fantastic Ubuntu-based Linux distribution that aims to make it easy for newbies to experience Linux by minimizing the learning curve.

Not just limited to being one of the best beginner-friendly Linux distros , it also does a few things better than Ubuntu . Of course, if you’re using Linux Mint like I do, you’re probably already aware of it.

We have many beginner-focused Mint tutorials on It’s FOSS. Recently some readers requested help with Nvidia drivers with Linux Mint and hence I came up with this article.

I have tried to mention different methods with a bit of explaining what’s going on and what you are doing in these steps.

But before that, you should know this:

  • Nvidia has two categories of drivers. Open source drivers called Nouveau and proprietary drivers from Nvidia itself.
  • Most of the time, Linux distributions install the open source Nouveau driver and you can manually enable the proprietary drivers.
  • Graphics drivers are tricky things. For some systems, Nouveau works pretty well while for some it could create issues like blank screen or poor display. You may switch to proprietary drivers in such cases.
  • The proprietary driver from Nvidia has different version numbers like 390, 450, 460. The higher the number, the more recent is the driver. I’ll show you how to change between them in this tutorial.
  • If you are opting for proprietary drivers, you should go with the latest one unless you encounter some graphics issue. In those cases, opt for an older version of the driver and see if that works fine for you.

Now that you have some familiarity with the terms, let’s see how to go about installing Nvidia drivers on Linux Mint.

How to Install Nvidia Drivers on Linux Mint: The Easy Way (Recommended)

Linux Mint comes baked in with a Driver Manager which easily lets you choose/install a driver that you need for your hardware using the GUI.

By default, you should see the open-source xserver-xorg-video-nouveau driver for Nvidia cards installed, and it works pretty well until you start playing a high-res video or want to play a game on Linux .

So, to get the best possible experience, proprietary drivers should be preferred.

You should get different proprietary driver versions when you launch the Driver Manager as shown in the image below:

linux mint nvidia drivers

Basically, the higher the number, the latest driver it is. At the time of writing this article, driver version 460 was the latest recommendation for my Graphics Card. You just need to select the driver version and hit “ Apply Changes “.

Once done, all you need to do is just reboot your system and if the driver works, you should automatically get the best resolution image and the refresh rate depending on your monitor for the display.

For instance, here’s how it looks for me (while it does not detect the correct size of the monitor):

linux mint display settings

Troubleshooting tips

Depending on your card, the list would appear to be different. So, what driver version should you choose? Here are some pointers for you:

  • The latest drivers should ensure compatibility with the latest games and should technically offer better performance overall. Hence, it is the recommended solution.
  • If the latest driver causes issues or fails to work, choose the next best offering. For instance, version 460 didn’t work, so I tried applying driver version 450, and it worked!

Initially, in my case ( Linux Mint 20.1 with Linux Kernel 5.4 ), the latest driver 460 version did not work. Technically, it was successfully installed but did not load up every time I booted.

What to do if drivers fail to load at boot

How do you know when it does not work? You will boot up with a low-resolution screen, and you will be unable to tweak the resolution or the refresh rate of the monitor.

It will also inform you about the same in the form of an error:

linux mint no driver

Fortunately, a solution from Linux Mint’s forum solved it for me. Here’s what you need to do:

1. Access the modules file using the command:

xed admin:///etc/modules

2. You’ll be prompted to authenticate the access with your account password. Once done, you just need to add the following lines at the bottom:

nvidia 
nvidia-drm
nvidia-modeset

Here’s what it looks like:

etc modules nvidia

If that doesn’t work, you can launch the Driver Manager and opt for another version of Nvidia driver. It’s more of a hit and try.

Install Nvidia Driver Using the Terminal (Special Use-Cases)

For some reasons, if you are not getting the latest drivers for your Graphics Card using the Driver Manager, opting for the terminal method could help.

It may not be the safest way to do it, but I did not have any issues installing the latest Nvidia driver 460 version.

I’ll always recommend sticking to the Driver Manager app unless you have your reasons.

To get started, first you have to check the available drivers for your GPU. Type in the following command to get the list:

ubuntu-drivers devices

Here’s how it looks in my case:

linux mint device drivers list

non-free refers to the proprietary drivers and free points at the open-source nouveau Nvidia drivers.

As mentioned above, usually, it is preferred to try installing the recommended driver. In order to do that, you just type in:

sudo ubuntu-drivers autoinstall

If you want something specific, type in:

sudo apt install nvidia-driver-450

You just have to replace “ 450 ” with the driver version that you want and it will install the driver in the same way that you install an application via the terminal.

Once installed, you just need to restart the system or type it in the terminal:

reboot

To check the Nvidia driver version and verify the installation, you can type the following command in the terminal:

nvidia-smi

Here’s how it may look like:

nvidia smi

To remove the driver and its associated dependencies, simply mention the exact version of the driver:

sudo apt remove nvidia-driver-450
sudo apt autoremove

And, simply reboot. It should fallback to use the open-source nouveau driver.

install the open-source driver using the following command and then reboot to revert to the default open-source driver:

sudo apt install xserver-xorg-video-nouveau

Installing Nvidia Drivers using the .run file from Official Website (Time Consuming/Not Recommended)

Unless you want the latest version of the driver from the official website or just want to experiment the process, you can opt to download the file (.run) and install it.

To proceed, you need to first disable the X server and then install the Nvidia driver which could turn out to be troublesome and risky.

You can follow the official documentation if you want to explore this method, but you may not need it at all.

Wrapping Up

While it’s easy to install Nvidia drivers in Linux Mint, occasionally, you might find something that does not work for your hardware.

If one driver version does not work, I’d suggest you to try other available versions for your Graphics Card and stick to the one that works. Unless you’re gaming and want the latest software/hardware compatibility, you don’t really need the latest Nvidia drivers installed.

Feel free to share your experiences with installing Nvidia drivers on Linux Mint in the comments down below.

  • It chevron_right

    How to Turn Off Automatic Brightness on Ubuntu [Quick Tip]

    pubsub.do.nohost.me / ItsFoss · Thursday, 4 March - 04:38 · 1 minute

Some new laptops come with built-in integrated light sensor. Operating systems use this sensor to measure the ambient light conditions and change the screen brightness automatically. This helps in reducing eye strain .

You can see that this is a useful feature. But not everyone might like it all the time. For example, while watching Netflix on Linux at night, it reduces the screen brightness at the lowest for me. This makes the movie scene quite dull.

This is one of the many cases when you probably would not want automatic brightness. Turning off automatic brightness on Ubuntu is quite simple. I’ll show that to you in this quick article.

This tutorial is valid for GNOME desktop environment . The command line method should work for MATE desktop as well. If you are not certain, check which desktop environment you are using .

Turning off automatic brightness on Ubuntu

You can find the option to toggle automatic brightness under Power settings.

Press the Windows (also known as Super or Meta key in Linux world) key. This will bring the Activities area and you can search for Settings here.

settings ubuntu

In the Settings application, go to the Power settings from the left sidebar. Under the Power Saving option, you can see the Automatic Brightness option.

Toggle the button to turn it off or on.

automatic brightness ubuntu

It’s super easy with the GUI, right? Now let’s take a look at the command line method as well.

Alternate method: Turning off automatic brightness in Ubuntu using terminal

GNOME based desktop environments can also access the brightness settings via command line.

Open a terminal in Ubuntu and use the following command to turn off the automatic brightness:

gsettings set org.gnome.settings-daemon.plugins.power ambient-enabled false

Similarly, you can set the value to true to enable the automatic brightness again:

gsettings set org.gnome.settings-daemon.plugins.power ambient-enabled true

Automatic brightness helps in saving the battery life but it could also become an annoyance, as I had mentioned earlier. I so wish that there was a way to make the automatic brightness not go beyond a certain level.

How about you? Do you prefer using automatic brightness on Ubuntu or other Linux distributions or on your smartphone?

  • It chevron_right

    You Can Now Install Official Evernote Client on Ubuntu and Debian-based Linux Distributions

    pubsub.do.nohost.me / ItsFoss · Wednesday, 3 March - 05:14 · 3 minutes

Evernote is a popular note-taking application. It was a revolutionary product at the time of its launch. Since then, there have been several such application that allow you to save web clippings, notes etc into notebook formats.

For years, the desktop client of Evernote was not available for Linux. Evernote promised a Linux application some time ago and its beta version is finally available for Ubuntu-based distributions.

Non-FOSS alert!

Evernote Linux client is not open source. It’s been covered here because the application is made available on Linux and we cover popular non-foss applications for Linux users from time to time. This helps with regular desktop Linux users.

Installing Evernote on Ubuntu and Debian-based Linux distributions

Go to the following page on Evernote’s website:

Scroll down a bit to accept the terms and conditions of ‘early testing program’. You’ll see a ‘Install Now’ button appearing on the screen. Click on it to download the DEB file.

evernote early access linux

To install the application from the DEB file , double-click on it. It should open the Software Center app and give you the option to install it.

install evernote linux

Once the installation completes, search for Evernote in the system menu and launch it.

evernote ubuntu

When you start the application for the first time, you’ll need to log in to your Evernote account.

evernote running ubuntu

The first run brings you to the ‘Home screen’ where you can organize your notebooks for even quicker access.

evernote on ubuntu

You may enjoy using Evernote on Linux now.

Experiencing the beta version of Evernote Linux client

There are a few annoyances here and there with the software being in beta.

As you can notice in the image above, Evernote Linux client detected the dark mode in Ubuntu and switched to dark theme automatically. However, when I changed the system theme to light or standard, it didn’t change theme application theme immediately. The changes took into effect only after I restarted Evernote app.

Another issue is about closing the application. If you click on the X button to close the Evernote application, the program goes in background instead of exiting.

There is an app indicator that seems like a way to launch a minimized Evernote application, like Skype on Linux . Unfortunately, that’s not the case. It opens the Scratch Pad for you to type a quick note.

This gives you another note taking application on Linux but it also presents a problem. There is no option to quit Evernote here. It is only for opening the quick note taking app.

evernote app indicator

So, how do you quit the Evernote application? For that, open the Evernote application again. If it is running in the background, search for it in the menu and launch it as if you are opening it afresh.

When Evernote application is running in the foreground, go to File->Quit Evernote.

quit evernote linux

This is something the developers should look to improve in the future versions.

I also cannot say how will the beta version of the program be updated in the future. It doesn’t add any repository. I just hope that the application itself notifies about the availability of a newer version so that users could download the new DEB file.

I do NOT have a premium Evernote subscription but still, I could access the saved web articles and notes without internet connection. Strange, right?

Overall, I am happy to see that Evernote finally made the effort to bring the application to Linux. Now you don’t have to try third-party applications to use Evernote on Linux, at least on Ubuntu and Debian-based distributions. You may, of course, use an Evernote alternative like Joplin that are actually open source.

  • It chevron_right

    Dual Booting Ubuntu With Windows 10 Pro With BitLocker Encryption

    pubsub.dcentralisedmedia.com / ItsFoss · Thursday, 11 February - 15:10 · 12 minutes

I have written about dual booting Windows and Ubuntu in the past. The process has improved so much in the last few years. Ubuntu and other Linux play very well with secure boot and UEFI now.

So, why I am I writing about installing Ubuntu with Windows 10 once again? Because these days Windows 10 Pro version comes with BitLocker encryption and hence when you try to dual boot like normal, it either refuses or creates issue.

I noticed it with my new Dell XPS 13. I bought the last Dell XPS in France and it was preinstalled with Ubuntu. Unfortunately, Dell India had no option other than buying the Windows 10 version. In a way, that’s good because it helped me to write this tutorial.

To be honest, dual booting with BitLocker encrypted disk is also not complicated. It just involves the extra step of disabling encryption before starting the dual boot and re-enable it after installing Linux.

Don’t worry. I won’t leave you just like that with my words. I’ll show you each and every step with appropriate details.

Installing Ubuntu with BitLocker Encrypted Windows 10

Please keep in mind that I have used Ubuntu here, but the steps should be applicable to Linux Mint and other Ubuntu-based distributions as well.

Attention!

This dual boot guide is exclusively for systems that have Windows 10 installed with BitLocker. Since it is relatively a newer thing, the steps are only for UEFI systems with GPT portioning scheme. Please check your system first before following the steps.

I also recommend reading the entire steps before you start following it. This may help you locate pain points and you may prepare accordingly.

Prerequisite

Here are the things you need:

  • A Windows 10 system with BitLocker encryption.
  • A USB key (also known as pen drive or USB drive) of at least 4 GB in size and no data on it.
  • Microsoft account for saving the recovery key of BitLocker encryption (external USB can be used as well but MS account will be more convenient).
  • Internet connection.
  • Optional: External USB disk for making back up of your data.
  • Optional: Windows recovery disk.
  • Some time and patience (mandatory).

Step 1: Make a backup of your important data on an external disk

This is optional yet recommended. You should make a backup of your important files on an external disk because you are going to deal with disk partitions.

If you are not sure of anything, I suggest look for documents, music, movies and other important stuff you must not lose and copy them on an external USB disk. You can use an external HDD (slower but cheaper) or SSD (faster but expensive).

You may also use a pen drive for copying files and storing it on some other computer (if you have more than one system).

If possible, have a Windows 10 recovery disk with you (optional)

This one is optional too but could be helpful if anything goes wrong. You could fix the boot records and restore Windows.

Step 2: Verify that you have BitLocker encrypted disk

First thing first, check if you actually have BitLocker encryption enabled. How do you do that? It’s simple. Go to file explorer and check if your main drive has a lock displayed.

Verify If Bitlocker On System

Alternatively, just search for BitLocker in Windows menu and see if you have BitLocker settings.

Bitlocker Settings Bitlocker Settings

Step 3: Back up recovery key and disable BitLocker encryption

Now that you know that you have BitLocker encryption enabled on your system, the next step is to disable it.

Before you do that, you must back up your recovery key. It is a 40 digit key to reset BitLocker encryption. Why? Because you are going to change the boot settings and BitLocker won’t like that. It will ask you to enter the recovery key to ensure that your encrypted disk is in safe hands.

Bitlocker Encryption Windows

You may back up the key on an external USB disk or to your Microsoft account. I saved it to my Microsoft account because it is easier to keep track of the recovery keys at one central place. Of course, you must ensure that you have access to a Microsoft account .

Back Up Recovery Key

Verify that your recovery key is properly saved by going to this link and logging into your Microsoft account.

Once you have saved the recovery key, disable BitLocker encryption. The decryption process may take some time depending on how much disk space you had already utilized.

While you wait for the decryption to complete, you should go on and download Ubuntu ISO. Once BitLocker is disabled, you would notice that the lock has disappeared from the drive icon.

Step 4: Download Ubuntu ISO

Download Ubuntu Desktop

While the disk is being decrypted, you should utilize the time in downloading the ISO image of Ubuntu desktop version. It’s a single file of around 2 GB in size and you may download it directly or use torrent if you have a slow and inconsistent internet.

Step 5: Create a live USB of Ubuntu

Once you have got the ISO, you should get a tool for making the bootable live USB of Ubuntu .

You may use Etcher on Linux , Windows and macOS. However, the way Etcher creates a bootable disk leaves the USB in a weird state and you’ll have a difficult time formatting the disk after the dual boot is over.

For this reason, you are using Windows, I recommend using a free tool like Rufus. Download Rufus from its website.

Plug in the USB key. Since the USB will be formatted, make sure it doesn’t consist of any important data.

Rufus automatically identifies the plugged in USB keys but it will still be a good idea to make sure that it is pointing to the correct USB. Then you should browse to the location of the downloaded ISO image.

You must ensure that it uses GPT partitioning scheme and UEFI target system.

Make Live Usb With Rufus

Hit the start button to initiate the process of live USB creation. If asked, choose ‘Write in ISO Image mode’:

Making Live Usb With Rufus

It will take a few minutes to complete the process. Once you have the live USB ready, the next step is the actual installation of Ubuntu Linux.

Step 6: Boot from live USB

With the live USB of Ubuntu plugged in to your Windows system, it’s time to boot into this live system. There are two ways to do that:

  1. Restart the system and at the boot time, press F2/F10 or F12 to access boot settings. From here, move ‘booting from removable media’ up the order to boot from USB.
  2. From within Windows, access UEFI settings and choose to boot from removable media. This will reboot the system and you’ll be booting from the USB.

I prefer the second method because you may have difficulties in with boot settings from the first method.

In the Windows menu, search for UEFI and click on ‘Change advanced startup options’:

Accessing Uefi Settings Windows

Under the Advanced startup option, click on Restart now button.

Access Uefi Settings Windows

On the next screen, click on ‘Use a device’:

Access Uefi Settings Windows 1

Recognize the USB disk with its name and size:

Access Uefi Settings Windows 2

Now it will power off your system and reboot into the disk you chose which should be the live USB disk.

Step 7: Installing Ubuntu with Windows

When you boot from the live USB, you should see the GRUB screen that presents you the option to try Ubuntu in live USB or install it right away. You may go with either option.

Ubuntu Live Install Screen Booting into live Ubuntu USB

If you chose to try live USB, you should see the installation option on the desktop screen.

Start Installing Ubuntu Start Ubuntu installation from live session

Clicking it will start the installation procedure that starts with choosing language and keyboard layout.

On the next screen, it asks for the kind of installation. Go with Normal installation. No need to download updates or install third-party software just yet. You may do it after installation completes. In my experience, it increases the installation duration and may create issues at times. I prefer to avoid it.

Install Ubuntu by replacing Windows Go with normal installation

It takes a little time and then you see the Installation type screen. This is one of the most important parts of the dual booting procedure.

If you see the ‘Install Ubuntu alongside Windows Boot Manager’, it’s good news. You can proceed with the rest of the installation.

Ubuntu Installation Type Choose to install alongside Windows

But if you are one of the unlucky ones who don’t see this option, you’ll have to quit the installation and do some additional efforts that I have explained under the expandable section.

What to do if you don’t see ‘Install Ubuntu alongside Windows’ option?

Here’s what you should be doing. Quit the installation. Power off the live Ubuntu session, take out the live USB and turn on the system again.

When you boot into Windows, go to Disk Management settings. Here, shrink your C Drive (or D/E/F drives wherever you have plenty of free space) and make some free space like 50, 100 GB or more.

Disk partitioning for dual booting Windows and Ubuntu

Once you have the free space, repeat the procedure from step 6. Which means boot from the USB and start the installation procedure. When you see the Installation type screen again, go with Something Else this time.

Install Ubuntu Something Else

It will take you to the partitioning screen. Here, you can use the free space you created earlier for installing Ubuntu.

partition on Ubuntu Windows 8 dual boot

You may choose to allocate the entire free space to root ( swapfile and home will be created automatically under root) or you can separate root, swap and home partitioning. Both methods are fine.

Creating partition for Ubuntu installation

Once the partition is in place, click on Install now and follow the rest of the tutorial.

Things are pretty straightforward from here. You’ll be asked to select a timezone.

Installing Ubuntu Timezone Selection

You’ll be asked to enter a username, hostname (computer’s name) and a password. Pretty obvious, right?

Installing Ubuntu Account Setup

Now it’s just the matter of waiting. It should take 8-10 minutes to complete the installation.

Installing Ubuntu

Once the installation finishes, restart the system.

Restart After Installing Ubuntu Restart after installation completes

You’ll be asked to remove the USB disk. You can remove the disk at this stage without worrying. The system reboots after this.

Ubuntu Finished Installation Remove USB and press enter

If everything went smooth, you should see the grub screen once the system powers on. Here, you can choose Ubuntu to boot into Ubuntu and Windows boot manager to boot into Windows. Pretty cool, right?

Dual Boot Grub Screen You can choose the operating system from the grub screen

If you don’t see the option to install Ubuntu alongside Windows, quit the installation, turn off the system and boot into Windows. Here, make some free space on your disk by shrinking your disk size.

What are your option if you don’t see the grub screen?

In some unfortunate cases, you may not see the grub screen. There are a few possibilities here.

If it boots straight into Windows, go to UEFI boot settings and see if there is an option for Ubuntu along with Windows. If yes, try to move Ubuntu up in the boot order.

If you see grub rescue screen, you may try to fix the boot issue by booting into live Ubuntu USB and use the boot repair tool .

If you are not able to fix the grub error and getting panic attack, calm down. You can revert to Windows. Go into UEFI boot settings and use Windows boot manager to boot into Windows. Here, delete the Ubuntu partition to claim the disk space and from the UEFI boot settings, delete the Ubuntu/grub boot file.

If you are not able to boot into Windows at all (extremely rare case), it is time to utilize the Windows recovery disk and the backup you had made earlier.

When you boot into Ubuntu, you should see this welcome screen.

Ubuntu After Booting Ubuntu first run

You are at penultimate stage. The only remaining part is to re-enable BitLocker for your Windows partitioning, if you want encryption again. You may leave it unencrypted as well. It’s really up to you.

Step 8: Enable Bitlocker after installing Ubuntu successfully

Restart your system and select Windows boot manager at the grub screen to boot into Windows. In Windows, go to BitLocker settings and click on ‘Turn on BitLocker’ option.

Re Enable Bitlocker Re Enable BitLocker

Here’s an important thing. Each time you disable and re-enable BitLocker the recovery key changes. This is why you’ll be asked to back up your recovery key once again. Save it to your account once again.

Back Up Recovery Key Again Back up recovery key again

On the next step, it asks if you want to encrypt the entire disk or only the used space. You can choose either option depending on your need.

Encrypt Disk With Bitlocker Encrypt disk space With BitLocker

Go with the new encryption mode:

Encryption Type Encryption Type

Start the encryption. Please keep in mind that encrypting the disk will take some time (based on your used disk space) and consumes considerable processing power. Have patience.

Bitlocker Encryption Completed

Things look all set. Before ending the tutorial, I’ll also show you what to do when Windows asks for the BitLocker recovery key.

Bonus Tip: Using BitLocker recovery (when asked for it)

When you re-enable BitLocker, it can sense that the boot settings has been changed. For that reason, it will ask for the recovery key when you try to boot into Windows after re-enabling BitLocker.

It mentions the recovery key ID. The first eight characters are important to identify the correct recovery key.

Bitlocker Recovery Key BitLocker asking for recovery key

On a mobile device or on another computer or boot into Ubuntu and then access your Microsoft account and look at the saved recovery keys.

You may have more than one recovery keys on the account of saving the key multiple times. This is where the recovery key ID comes in handy. Take a note of the 40 digit recovery key associated to that recovery key ID.

Bitlocker Recovery Keys Ms Account BitLocker recovery keys in Microsoft account

Enter this recovery key to unlock BitLocker and access Windows.

Don’t worry. It won’t ask you for the recovery key every time you boot into Windows. It is just when you make a change in the boot settings.

Were you able to successfully dual boot Windows 10 with Ubuntu and BitLocker?

I know it was long read with too many steps and images. I actually tried to give you all the necessary details so that you don’t feel uncomfortable or lost at any stage. I am also working on a video for these steps so that you can see things in action.

If you tried the tutorial, did it work for you? Do you still have problems or questions? Please feel free to ask in the comment section.

  • It chevron_right

    How to Add Fingerprint Login in Ubuntu and Other Linux Distributions

    pubsub.dcentralisedmedia.com / ItsFoss · Tuesday, 9 February - 09:30 · 3 minutes

Many high-end laptops come with fingerprint readers these days. Windows and macOS have been supporting fingerprint login for some time. In desktop Linux, the support for fingerprint login was more of geeky tweaks but GNOME and KDE have started supporting it through system settings.

This means that on newer Linux distribution versions, you can easily use fingerprint reading. I am going to enable fingerprint login in Ubuntu here but you may use the steps on other distributions running GNOME 3.38.

Prerequisite

This is obvious, of course. Your computer must have a fingerprint reader.

This method works for any Linux distribution running GNOME version 3.38 or higher. If you are not certain, you may check which desktop environment version you are using .

KDE 5.21 also has a fingerprint manager. The screenshots will look different, of course.

Adding fingerprint login in Ubuntu and other Linux distributions

Go to Settings and the click on Users from left sidebar. You should see all the user account on your system here. You’ll see several option including Fingerprint Login .

Click on the Fingerprint Login option here.

Enable Fingerprint Ubuntu Enable fingerprint login in Ubuntu

It will immediately ask you to scan a new fingerprint. When you click the + sign to add a fingerprint, it presents a few predefined options so that you can easily identify which finger or thumb it is.

You may of course scan left thumb by clicking right index finger though I don’t see a good reason why you would want to do that.

Adding Fingerprint Login Ubuntu Adding fingerprint

While adding the fingerprint, rotate your finger or thumb as directed.

Adding Fingerprint Ubuntu Linux Rotate your finger

Once the system registers the entire finger, it will give you a green signal that the fingerprint has been added.

Fingerprint Added Ubuntu Fingerprint successfully added

If you want to test it right away, lock the screen by pressing Super+L keyboard shortcut in Ubuntu and then using the fingerprint for login.

Login With Fingerprint Ubuntu Login With Fingerprint in Ubuntu

Experience with fingerprint login on Ubuntu

Fingerprint login is what its name suggests: login using your fingerprint. That’s it. You cannot use your finger when it asks for authentication for programs that need sudo access. It’s not a replacement of your password.

One more thing. The fingerprint login allows you to log in but you cannot use your finger when your system asks for sudo password. The keyring in Ubuntu also remains locked.

Another annoying thing is because of GNOME’s GDM login screen. When you login, you have to click on your account first to get to the password screen. This is where you can use your finger. It would have been nicer to not bothered about clicking the user account ID first.

I also notice that fingerprint reading is not as smooth and quick as it is in Windows. It works, though.

If you are somewhat disappointed with the fingerprint login on Linux, you may disable it. Let me show you the steps in the next section.

Disable fingerprint login

Disabling fingerprint login is pretty much the same as enabling it in the first place.

Go to Settings→User and then click on Fingerprint Login option. It will show a screen with options to add more fingerprints or delete the existing ones. You need to delete the existing fingerprints.

Disable Fingerprint Login Disable Fingerprint Login

Fingerprint login does have some benefits, specially for lazy people like me. I don’t have to type my password every time I lock the screen and I am happy with the limited usage.

Enabling sudo with fingerprint should not be entirely impossible with PAM . I remember that when I set up face unlock in Ubuntu , it could be used with sudo as well. Let’s see if future versions add this feature.

Do you have a laptop with fingerprint reader? Do you use it often or is it just one of things you don’t care about?

  • It chevron_right

    How to Uninstall Applications from Ubuntu Linux

    pubsub.dcentralisedmedia.com / ItsFoss · Wednesday, 20 January - 11:37 · 4 minutes

Don’t use a certain application anymore? Remove it.

In fact, removing programs is one of the easiest ways to free up disk space on Ubuntu and keep your system clean.

In this beginner’s tutorial, I’ll show you various ways of uninstalling software from Ubuntu.

Did I say various ways? Yes, because there are various ways of installing applications in Ubuntu and hence various ways of removing them. You’ll learn to:

  • Remove applications from Ubuntu Software Center (for desktop users)
  • Remove applications using apt remove command
  • Remove snap applications in command line (intermediate to advanced users)

Let’s see these steps one by one.

Method 1: Remove applications using Ubuntu Software Center

Start the Software Center application. You should find it in the dock on the left side or search for it in the menu.

Ubuntu Software Applications Menu

You can see the installed applications in the Installed tab.

Installed Apps Ubuntu List installed applications

If you don’t see a program here, try to use the search feature.

Search Installed Apps Ubuntu Search for installed applications

When you open an installed application, you should see the option to remove it. Click on it.

Remove Applications from Ubuntu Removing installed applications

It will ask for your account password. Enter it and the applications will be removed in seconds.

This method works pretty well except in the case when Software Center is misbehaving (it does that a lot) or if the program is a software library or some other command line utility. You can always resort to the terminal in such cases.

Method 2: Remove programs from Ubuntu using command line

You know that you can use apt-get install or apt install for installing applications. For uninstalling, you don’t use the apt-get uninstall command but apt-get remove or apt remove .

All you need to do is to use the command in the following fashion:

sudo apt remove program_name

You’ll be asked to enter your account password. When you enter it, nothing is visible on the screen. That’s normal. Just type it blindly and press enter.

The program won’t be removed immediately. You need to confirm it. When it asks for your conformation, press the enter key or Y key:

Apt Remove Program Ubuntu

Keep in mind that you’ll have to use the exact package name in the apt remove command otherwise it will throw ‘ unable to locate package error ‘.

Don’t worry if you don’t remember the exact program name. You can utilize the super useful tab completion. It’s one of the most useful Linux command line tips that you must know.

What you can do is to type the first few letters of the program you want to uninstall. And then hit the tab key. It will show all the installed packages that match those letters at the beginning of their names.

When you see the desired package, you can type its complete name and remove it.

Remove Package Ubuntu Linux

What if you do not know the exact package name or even the starting letters? Well, you can list all the installed packages in Ubuntu and grep with whatever your memory serves.

For example, the command below will show all the installed packages that have the string ‘my’ in its name anywhere, not just the beginning.

apt list --installed | grep -i my
Search List Installed Apps Ubuntu

That’s cool, isn’t it? Just be careful with the package name when using the remove command in Ubuntu.

Tip: Using apt purge for removing package (advanced users)

When you remove a package in Ubuntu, the packaged data is removed, but it may leave small, modified user configuration files. This is intentional because if you install the same program again, it would use those configuration files.

If you want to remove it completely, you can use apt purge command. You can use it instead of apt remove command or after running the apt remove command.

sudo apt purge program_name

Keep in mind that the purge command won’t remove any data or configuration file stored in the home directory of a user.

Method 3: Uninstall Snap applications in Ubuntu

The previous method works with the DEB packages that you installed using apt command, software center or directly from the deb file.

Ubuntu also has a new packaging system called Snap . Most of the software you find in the Ubuntu Software Center are in this Snap package format.

You can remove these applications from the Ubuntu Software Center easily but if you want to use the command line, here’s what you should do.

List all the snap applications installed to get the package name.

snap list
List Snap Remove

Now use the package name to remove the application from Ubuntu. You won’t be asked for confirmation before removal.

sudo snap remove package_name

Bonus Tip: Clean up your system with one magical command

Alright! You learned to remove the applications. Now let me tell you about a simple command that cleans up leftover package traces like dependencies that are no longer used, old Linux kernel headers that won’t be used anymore.

In the terminal, just run this command:

sudo apt autoremove

This is a safe command, and it will easily free up a few hundred MB’s of disk space.

Conclusion

You learned three ways of removing applications from Ubuntu Linux. I covered both GUI and command line methods so that you are aware of all the options.

I hope you find this simple tutorial helpful as an Ubuntu beginner. Questions and suggestions are always welcome.