Step-by-Step Guide to Installing Debian 12 Bookworm: A Beginner’s Tutorial

Debian 12 Bookworm

Today, we’ll be installing Debian 12 Bookworm on a storage device of your choice.

Downloading Debian and Balena Etcher

On the Debian website, search for the Download button.

Debian site

You can explore the site, but what we’re looking for is the Download link, which I see right here. When you click the Download button, the download should start automatically. If it doesn’t, you can manually select the Debian 12 AMD64 netinst ISO.

Debian 12 installation

This is suitable for 64-bit processors. Note that since this is a net installer, you’ll need an active internet connection during the installation.

Once the download is complete, save the file and proceed to create a bootable USB. For this, I’ll use the Balena Etcher app, a simple tool available for Linux, Mac, or Windows. You can download it for free from their website.

Balena Etcher downloading

Alternatively, you can use other applications like UNetbootin or Rufus if you prefer.

Creating the Bootable USB

  1. Open Balena Etcher.
    Balena Etcher
  2. Select the downloaded Debian ISO file. Balena Etcher
  3. For example, mine is the Debian 12 AMD64 netinst ISO located in the Downloads folder.Balena Etcher
  4. Choose the USB drive you want to flash. Ensure you select the correct one, as the process will erase all data on the selected device.
    Balena Etcher
  5. Click Flash.
    Balena Etcher
  6. You’ll be prompted to provide administrative privileges for the process to start.
    Installing Debian 12 Bookworm
  7. Click Starting
    Installing Debian 12 Bookworm

The flashing process will take a few minutes. Once completed, Balena Etcher will notify you with a “Flash Complete” message. Eject the USB safely, as it’s now ready for installation.

Booting and Configuring BIOS

Insert the bootable USB into the computer where you want to install Debian. To boot from the USB:

  1. Restart the computer and enter the BIOS/UEFI settings. This typically involves pressing a key like F2, F8, F12, or Delete during startup (check your motherboard’s documentation for details).
  2. In the BIOS/UEFI, set the USB drive as the first boot option in the Boot Priority menu.UEFI
  3. Select your boot option number one to be the storage disk.UEFI Boot Priority
  4. Disable Secure Boot and Fast Boot if necessary, as these can interfere with Linux installations.UEFI Secure Boot
  5. Save changes and exit the BIOS.

When the system restarts, it should boot from the USB. You’ll see the Debian Installer menu. Select Graphical Install to begin.

Debian 12 Bookworm Installing

Installation Steps

  1. Language. Choose your preferred language.Debian 12 Bookworm Installing
  2. Location. Choose your preferred location.Debian 12 Bookworm Installing
  3. Keyboard Configuration. Select your keyboard layout.Debian 12 Bookworm Installing
  4. Network Configuration. Ensure your system is connected to the internet (via Ethernet or Wi-Fi). The installer will check for a connection.
  5. Hostname and Domain. Enter a hostname for your computer (e.g., nick). You can skip the domain name unless you have one.
  6. Debian 12 Bookworm Installing
  7. User Accounts:
    • Root Account. Leave the password field empty to disable the root account and grant administrative privileges to the initial user account via sudo.
      Debian 12 Bookworm Installing
    • New User. Enter a full name, username, and password for the new user account.
      Debian 12 Bookworm Installing
  8. Time Zone. Choose your time zone.Debian 12 Bookworm Installing

Disk Partitioning

  1. Use the Guided – Use Entire Disk option for simplicity (recommended for new users).Debian 12 Bookworm Installing
  2. Select the correct disk for installation. Ensure the selected disk is empty or contains data you’re willing to overwrite.Debian 12 Bookworm Installing
  3. Choose the All files in one partition option unless you have a specific partitioning scheme in mind.Debian 12 Bookworm Installing

Review the partitioning layout and click Finish partitioning and write changes to disk and Continue.

Debian 12 Bookworm Installing

This step erases the disk and sets up the necessary partitions for Debian.

Debian 12 Bookworm Installing

Installing the Base System

The installer will now copy the base system files and configure essential packages. This process may take several minutes.

Debian 12 Bookworm Installing

Once done:

  1. Media Check. If prompted, insert any additional installation media (e.g., USB/CD/DVD) for extra firmware or drivers. Debian 12 Bookworm Installing
  2. Package Manager Configuration. Select the nearest mirror to your location to download additional packages during installation.Debian 12 Bookworm Installing

Since I’m in the US, I’ll continue with that location. Next, you can select a mirror close to your region or area. Look through the available mirrors, choose one that works for you, and then hit Continue.

Debian 12 Bookworm Installing

If you have any proxy information, you can enter it in the following step.

Debian 12 Bookworm Installing

I don’t have a proxy, so I’ll leave this field blank and hit Continue. Now the package manager is configuring some additional packages, including extra software downloaded over the internet. This is why having an internet connection is crucial during installation.

Popularity Contest

You’ll be asked whether to participate in the Popularity Contest, which anonymously collects data about the packages you use.

Debian 12 Bookworm Installing

I’ll select No and hit Continue.

Software Selection

Next, you’ll see the Software Selection screen. This is where you can choose additional packages to install. By default, the Debian Desktop Environment is selected with GNOME as the default desktop environment.

Debian 12 Bookworm Installing

If you’re unfamiliar with desktop environments, you may want to research them because they determine the look and feel of your system. There are several options listed, including popular ones like XFCE. If you want to use a different desktop environment, deselect GNOME and select your preferred option.

I’ll stick with GNOME and keep the standard system utilities checked, then hit Continue. The installer will begin retrieving files and installing additional software. There are around 1,400 packages to install, so this step may take some time depending on your network speed and computer performance. Expect this to take anywhere from 10 to 45 minutes.

GRUB Bootloader Installation

Debian 12 Bookworm Installing - GRUB bootloader

Next, you’ll be prompted to install the GRUB bootloader. GRUB allows you to choose which operating system to boot into. Since Debian will be the only operating system on my system, I’ll select Yes to install it and hit Continue.

When asked where to install the GRUB bootloader, select the appropriate drive (the one you formatted earlier). Hit Continue, and the bootloader installation will finish shortly.

Debian 12 Bookworm Installing - GRUB bootloader

Final Steps

Once the installation is complete, you’ll see a message instructing you to remove your installation media. This refers to the USB drive you used for the installation. Remove it, or the computer may boot back into the installer.

Debian 12 Bookworm Installing

Before booting into your new system, make sure to:

  1. Disable Secure Boot and Fast Boot in the BIOS/UEFI settings, as these can cause issues when booting into Linux.
  2. Set the boot priority so that the disk with Debian installed is the first device to boot.

First Boot

Debian 12 Bookworm Installing - GRUB screen

After removing the installation media and restarting your computer, you should see the GRUB screen. If there’s a timeout, your system may boot directly into Debian. If you see GRUB, select Debian GNU/Linux and press Enter.

Congratulations! You’ve reached the login screen. Select the user account you created earlier, type in the password, and log in.

You’ve successfully installed Debian 12 Bookworm on your computer. Now, it’s time to explore and enjoy your new system! Feel free to experiment and join the Linux community for support. Happy computing!

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top