STEP BY STEP INSTALLATION OF LINUX DEBIAN 9 STRETCH WITH SNAPSHOTS
Introduction
In this article we are going to learn how to install linux debian 9 stretch step by step with snapshots. debian launched it’s 9th version i.e. debian 9 stretch on 17th June 2017. with new release it has come with some nice new features and updated packages like kernel version 4.9, Database application i.e MariaDB Version 10.1, Mozilla Thunderbird 45.8 as a email client and so on. For more details on updated features and information’s of linux debian 9 stretch you can refer the below article.
So let’s have a look at Installation steps of Linux Debian 9 Stretch :
Like any other Operating System installation, To start installation of debian 9 stretch just enter your installation DVD in DVD-ROM and boot the system from DVD-ROM by starting the system. After boot the system with Linux Debian 9 Stretch Installation media, the first screen that will come infront of you is shown below. Here you have to select the type of Installation you want to do. eg : GUI Installation or Text Installation. Here I am going to perform GUI Installation, So I am going to go with Graphical Install.
You can download the Linux Debian 9 Stretch Installation ISO Image by Following below Link :
On next screen select the Language. Here I am selecting English. Then click on Continue.
Here Select your location and then click on Continue.
Configure the Keyboard Settings and the Click on Continue.
After required configuration System will start to detect the CD-ROM for required files for further Installation of Linux Debian 9 Stretch.
Loading Additional components for Linux debian 9 installation.
Also Read :
Assign a Hostname for Debian 9 Operating System Then click on Continue.
Here you can assign a Domain Name as per your needs and requirement. I am not going to use this system in domain so Here I am going to leave this field as blank. Click on Continue.
On next screen set root Password.
It’s mandatory to create a normal user during Linux debian 9 Stretch installation. Here Just enter the Full Name of the User and then click on Continue.
On next step enter the Username. This name will used to login the Linux debian 9 system. Then Click on Continue.
Then set password for the User. Then click on Continue.
On next step set the Time Zone as per your Location. Here I am selecting Eastern. Then Click on Continue.
Now we have to create Partition’s for Linux Debian 9 Stretch Operating System. Here you will get multiple options to Create Partitions i.e. :
- Guided – use entire disk – This option will create partitions automatically by selecting the Disk.
- Guided – use entire disk and set up LVM – This Option will create LVM Partitions.
- Guided – use entire disk and set up encrypted LVM – This option will create LVM Partition’s and then encrypt that Partitions to make your data more secure.
- Manual – By selecting this option you have to create partition’s manually.
Here I am going to create Partition’s manually so that I can explain you how to create partition’s in Linux during Linux debian 9 Stretch Installation. So selecting Manual. Click on Continue.
On next screen Select the Disk and then Click on Continue. Refer the snap below.
I am going to create Two Partition’s Here i.e / Partition & swap Partition. So Let’s start with / Partition.
Here select Yes and then Click on Continue to allow the system to format the Selected Hard disk to create new Partitions.
Now select The available free Space on Harddisk then Click on Continue to Start the Partition Creation.
Select Create a new partition and then click on Continue.
Assign required Space you want to allow for that Partition. Here I am assigning 15 GB. Then click on Continue.
Select the Partition Type. Here we have Two options i.e. Primary & Logical. Primary partitions are System partitions and we can create at most 4 primary partitions per Hard disk. and Logical Partition’s are for Data Storage. Here I am going to Select Primary. Then click on Continue.
Select location for the Partition in Harddisk. Here I am selecting Beginning. Then click on Continue.
After required settings Select Done Setting up the partition to complete the / partition creation for Linux Debian 9 Stretch. Then click on Continue.
You can change settings or customize the partition by double click on the options. For Example if you want to change the File System of the Partition, Then just double click on Use as: Ext4 Journaling file System and Select required file system from the List. Like that you can change other partition settings.
Here below shown the List of available file systems.
So we have created our first partition i.e. / partition. Now let’s go ahead and create our second partition i.e. swap partition. To do so select available free space on the hard disk then click on Continue.
Then select Create a new partition and click on Continue.
Assign required space/size to that partition. we should assign the double space of installed physical memory to a swap partition. Here I have 2 GB of physical memory in my system so I would create a swap partition of size 2 GB x 2 = 4 GB. Then click on Continue.
Select partition type. Here I am selecting Primary. Then click on Continue.
Select location for the partition. Here I am selecting Beginning and the click on Continue.
As we are creating swap partition, So select swap area from file system list and then click on Continue.
As you can see on snapshot below we are done with our swap partition creation for Linux Debian 9 Stretch OS.
So now select Done setting up the partition then click on Continue.
As we finished partition creation, Now select Finish partitioning and write changes to disk. Then click on Continue.
Now select Yes to allow the system to write changes to the disks and create the partitions. Then click on Continue.
Linux Debian 9 Stretch Installation is on progress.
Here I am not going to use Network Mirror, So select No and then click on Continue.
Note : Network Mirror is used to update the Packages that is Bydefault installed in your Linux Debian 9 Stretch system.
Configuring the Package Manager for Linux Debian 9.
Here system is asking to participate in Package usage Survey. I am not going to participate in it so Selecting No. Then click on Continue.
Now select required software’s for Linux Debian 9. Here I am selecting all available Software’s and then click on Continue.
Now it’s time install GRUB. GRUB stands for Grand Unifies Boot Loader used to boot the operating system. So to install the GRUB boot loader select Yes. Then click on Continue.
Here select the disk device where you want to install the GRUB boot loader and click on Continue.
GRUB boot loader installation is on progress.
Now Linux debian 9 installation is Finishing. Refer the snapshot below.
Here just click on Continue to Finish the Linux Debian 9 Installation.
Finishing the Installation then the system will reboot automatically.
So we have installed the Debian 9 Stretch Successfully. After restart the System we are on menu list where we can see Debian GNU/LINUX. So just select it and then click on Continue.
Here we have login screen of Linux Debian 9 Stretch. Just enter your username and password that we have created during OS Installation and click on Log In.
Then click on Use default config to allow the system to use default settings.
And Here we are Done with Installation and Now Debian 9 Stretch is ready to use.
So This is How we can install Linux Debian 9 Stretch. If you found this article useful then Like Us, Share Us, Subscribe our Newsletter OR if you have something to say then feel free to comment on the comment box below.
Thank you for this detailed information. I do have one question. When installing Debian on a laptop, at the “Partition disks” stage, one would often prefer to select “Guided – use entire disk and set up encrypted LVM.” But what if the laptop has a (fast) SSD as well as a (slow) mechanical hard drive, and for security reasons you want to set up block-level encryption on both, and you would like the operating system installed on the SSD, with the HD used as a separate data drive? Can this be easily configured at the time of Debian installation? Or would you advise setting up encrypted LVM only on the SSD at installation time, leaving the HD unformatted, and then after Debian is installed, setting up LUKS (or something) on the HD?