Debiana

Debian 9 Minimal Install Guide

Debian 9 Minimal Install Guide
Debian 9 codename Stretch is the latest version of Debian GNU/Linux distribution at the time of this writing. It is one of the most stable Linux distributions out there. The software distributed with Debian is not the latest but thoroughly tested. So it is best for desktops, servers, and embedded devices. Debian also don't install any bloatware like some of the other Linux distributions do. You can install only the things that you need. I like Debian a lot. It's one of my favorite Linux distribution.

In this article, I will show you how to install a minimal version of Debian 9 Stretch operating system. Let's get started.

Downloading Debian 9 ISO Installation Media:

First go to the official page of Debian CD at https://www.debian.org/CD/http-ftp/#stable and you should see the following window. Click on the DVD links for your desired architecture as marked in the screenshot below. I am going to pick amd64 as I have 64-bit intel processor installed on my system.

Now scroll down a little bit and click on the first DVD as marked in the screenshot below.

Your download should start. It's a very big file. So it should take a while.

Making a Bootable Media:

Now you have to make a bootable USB or DVD of Debian 9 Stretch ISO image that you just downloaded. To make bootable USB drive, you can use Rufus on Windows, which you can freely download from https://rufus.akeo.ie/

To make a bootable DVD, just burn the ISO image to a DVD and it should work.

Installing Debian 9 Minimal:

Now insert your bootable media on your computer and boot from it. You should see the following GRUB menu. Now select Install and press .

Now select your language and press .

Now select your Location and press .

Now select your keyboard layout and press .

The required files should be loaded from your bootable media.

Now type in your hostname and press .

Type in your domain name if your computer is going to accessible from the public network or internet. If you don't know what to put in here, just leave it empty and press .

Now you can type in your root password. If you do set a root password, your ordinary user won't be able to use sudo by default. If you leave it empty, then root user will be disabled by default.

If you've typed in your root password, then re-type it in here. Otherwise leave it empty and press .

Now type in your full name and press .

Now type in your login username and press .

Type in your login user's password and press .

Re-type in your login user's password and press .

Now select your timezone and press .

If you want to wipe your entire hard drive and install Debian 9, then you can select the first option Guided - use entire disk. But I will show you Manual partitioning as this gives you much more control over how you use your disks and this is where most people new to Linux gets stuck.

One you select Manual, you should see something like this. If you don't have any partition table, just select your hard drive and press .

Now select and press .

A new partition table should be created. Now to create a new partition select the FREE SPACE and press .

Now select Create a new partition and press .

Now type in the size of your partition. The first partition will be the EFI System Partition or ESP. I am going to put 512 MB of disk space for the ESP. If you're not using an UEFI compatible motherboard or you have UEFI disabled, then you don't have to create this partition.

Now select Beginning and press .

Now select the marked section as shown in the screenshot below and press to change the partition type.

Now select EFI System Partition and press .

Now select Done setting up the partition and press .

The ESP partition should be created.

Now you have to create the Root(/) partition. Select the FREE SPACE again and press .

Now select Create a new partition and press .

Now type in the partition size for the Root(/) partition. By default, the maximum partition size is selected. Now press .

Now make sure the Mount point is / and select Done setting up the partition and press .

Finally, it should look something like this.

Now select Finish partitioning and write changes to disk and press .

I prefer file based swap so I will be adding swap space later. Select and press .

Now select and press to save the changes to the disk.

The installation should start.

Select and press .

As we are using Debian DVD image for the installation, the installation should be faster if we don't use network mirror. We can update the system later if we wish to. So I personally select . Now press .

If you don't want to participate in the package usage survey, then select and press .

This is the most important step of this article. As we are interested in installing minimal version of Debian 9, we have to install only the essential softwares required to run the operating system. By default, a lot of the software packages are selected.

Press to deselect all the selected softwares and only keep Standard system utilities selected. Now press .

The installation should continue.

Once the installation is complete, select and press .

Now you should see the following GRUB menu. Select Debian GNU/Linux and press .

The minimal Debian 9 Stretch operating system you just installed should start. Type in your login username and password and press .

You should be logged in.

As you can see, only 761 MB of disk space is used.

And 66 MB of RAM is used.

So that's how you install the minimal version of Debian 9 Stretch. Thanks for reading this article.

WinMouse lets you customize & improve mouse pointer movement on Windows PC
If you want to improve the default functions of your mouse pointer use freeware WinMouse. It adds more features to help you get the most out of your h...
Mouse left-click button not working on Windows 10
If you are using a dedicated mouse with your laptop, or desktop computer but the mouse left-click button is not working on Windows 10/8/7 for some rea...
Cursor jumps or moves randomly while typing in Windows 10
If you find that your mouse cursor jumps or moves on its own, automatically, randomly while typing in Windows laptop or computer, then some of these s...