How to Install Debian 11 (Bullseye) Step by Step Guide

Hello, friends. How to install an operating system is always a task that we must know to perform our work in a better way. So, in this post, I will show you how to install Debian 11. The process will be done in a virtual machine and it will be guided.

Debian 11 is the latest version of this popular operating system that pretends to be universal. That is to say, that is so robust in a desktop as in server, and thanks to the great number of available packages we will not lack anything more.

So, let’s go for it.

Install Debian 11

Before we start

The first thing to do is to visit the Debian website and download the corresponding ISO image. If you have a fast internet speed you will most likely want the NetImage. Either way, you have a lot of options.

Next, you have to create a bootable device with this image. The process is quite easy thanks to tools like Etcher. So once you have it we can get started.

First steps of the installation

When you start the bootable image, you will see the following menu.

Menu installation
Menu installation

This menu allows us to start the installation either graphically or not. Also, you will have other advanced options.

There is not much difference between choosing the Graphical Install or the Install option. In this case, I have chosen the latter.

You will then see the installer and system language selection screen.

Language Selection
Language Selection

As Debian is available in many languages due to the great work of the community, you should have no problem finding your language. Scroll with the arrow keys and select it by pressing Enter.

Now choose your locale. This is to set the system Timezone properly.

Select your location
Select your location

Then it’s time to define the language and layout of your keyboard. As with the previous screens, there are many options and you should have no trouble finding yours.

Keyboard layout
Keyboard layout

Next, you have to set the hostname of the computer.

Define the hostname
Define the hostname

And the Domain name. Of course, this will depend a lot on how you use Debian. On the desktop, you can leave this blank.

Domain
Domain

Now you have to set a password for the root user. This password must be secret and strong.

Set Root password
Set Root password

After you confirm it, you have to create a new user. First, the real name of the user.

Create a new user
Create a new user

Now define the username

Define the username
Define the username

And then the password of the new user.

Define the user password
Define the user password

After that, set the clock.

Set the clock
Set the clock

Then comes the hard disk.

Preparing the hard disk

The most complicated process of all is working with the hard disk. If you want to use Debian only then just choose the first option and follow the instructions. There are no problems here.

Prepare the hard disk
Prepare the hard disk

But you can prepare the disk manually.

Prepare the disk manually
Prepare the disk manually

Then you can see the disk and the free space on the hard disk. Select it and press Enter.

Then, you will see a screen where you can create a new partition…,

Create a new partition
Create a new partition

Set the size of the partition.

Set the partition size
Set the partition size

After that, choose the type of partition you are creating.

Define the partition type
Define the partition type

You will now see the partition options. In the Use as section, you can change the file system type. In Mount Point define where the partition will be. / refers to the root of the system.

Define the Partition settings
Define the Partition settings

When you are ready, you can choose Done Setting up the partition.

It will look like this

Disk preview
Disk preview

Now you need to create a swap partition. Although on systems that have 16GB or more it is not as necessary.

The process is similar, select it, create a logical partition, and under use as choose Swap Area.

Creating the Swap partition
Creating the Swap partition

define the size and when created the disk will look like this

Disk prepared and ready for Debian 11
Disk prepared and ready for Debian 11

Finish the process with the hard disk.

Confirm the changes. By selecting Yes the changes cannot be reverted.

Confirm the disk changes
Confirm the disk changes

Install Debian 11 – Final steps

The installation of the base system will now begin. Since we are using a netinstall image, then we will be prompted to set up a Debian mirror. Choose the one closest to you.

Selecting a Debian mirror
Selecting a Debian mirror

When the APT configuration repository information is loaded, you will see this screen

Select the desktop environment
Select the desktop environment

On this screen, you can choose what you want to be installed in Debian. By default, Debian desktop environment and standard system utilities are checked because it is assumed to be a desktop installation but you can choose another environment or not install any at all which is recommended for servers.

The whole download and installation process will start and the only thing left to do is to install the grub on this screen.

Install the grub
Install the grub

And install it on the partition or the disk

Grub on the partition
Grub on the partition

You will then see a message indicating that the whole process has been successful and all that is left is to reboot the system.

Install Debian 11
Install Debian 11

And enjoy your brand new Debian 11.

Debian 11
Debian 11

Conclusion

Debian is one of the best Linux distributions out there and in this post, you have learned how to install it from scratch. The process is not much different from other distributions but it does take some practice. On the other hand, it is advisable to run the process on a virtual machine before doing it on the computer.

Scroll to Top