How To Install Debian 9 "Stretch" DVD1 with GNOME Desktop

debian-3-7598086
This tutorial guides you to install Debian 9.0 with GNOME Desktop through Graphical Installer from DVD1. You’ll first prepare 2 partitions as main and swap, then make a bootable USB and finally run the installation in step-by-step. You can follow this tutorial in either singleboot or dualboot mode. This tutorial is simplified for Ubuntu users who are never installed Debian. Happy installing!

a. Summary

There are at least 9 steps to go through the Debian 9.0 Graphical Installer:

  1. Choose language
  2. Choose keyboard
  3. Configure network
  4. Setup username & password
  5. Partitioning
  6. Install base system
  7. Configure APT package manager
  8. Install desktop environment (GNOME)
  9. Install GRUB bootloader

contoh1-4036422

b. Download Debian DVD

You just need DVD1 to install Debian. Download the DVD1 (as 3.5GB) and not the LiveDVD version one (2.2GB). Here’s Debian 9.0 Download Links.
screenshot_20170711_005930-9725796

c. Prepare 2 Partitions

You need to create 2 blank partitions to be the main and swap. Main partition is the place where Debian OS belongs (like C: for Windows) while swap partition is a virtual memory & hibernate storage. For main, give it at least 20GB and not less. For swap, it’s optional, you may give it 1GB. You can do this with GParted Partition Editor on Ubuntu LiveCD or such.
For example, for this installation tutorial I created 2 partitions:

  • main partition /dev/sda6 as 42GB
  • swap partition /dev/sda3 as 2.6GB

 

d. Create Bootable USB

Don’t use Unetbootin! Use dd command instead. For example, change the ‘X’ with your USB drive letter and ‘debian.iso’ with your Debian image file:

sudo dd bs=5M if=debian.iso of=/dev/sdX status=progress && sync

If you don’t know the steps, learn it from creating a Debian-based OS bootable USB drive.

e. Booting

Reboot your computer to USB and you should see a Debian splash screen here. Choose “Graphical Install” from the choices.
photo_2017-07-10_22-23-48-9814188

1. Choose Language

First step: select a language. This will be the whole language on your desktop & applications.
1-3-8368864

2. Configure the Keyboard

Second step: select a keyboard layout. Default choice is safe.
2-1-7336778

3. Configure The Network

Third step: ignore the network interfaces shoice and press “Go Back” instead. This should bring you to the list of installation steps.
3-2-1801994

4. Usernames & Passwords

Fourth step: this is the most important step, determine 2 things: root password and your own account’s password. Without root password, later, you cannot configure your system and cannot install programs (worse, even you cannot install ‘sudo’).
Root password:
Determine a password for the root superuser of Debian.
4a-4385023
Nonroot Username:
Define your own account’s username.
4b-9009849
Nonroot Password:
Define your account’s password.
4c-6672926
Fullname:
This could be your real name or anything.
4d-8556764

5. Partitioning

Fifth step: create main partition and swap partition.
Choose Manual Partitioning:
Press “Manual” and press Continue.
5a-4508910
Edit main partition:
Double-click the main partition you’ve prepared and edit its properties like these:
5-8366159
Edit swap partition:
Do the similar thing to make swap partition.
What it should look:
See here the swap and the main partition entries. Make sure they look like that.
5b-3819977
Select “Finish partitioning” and continue.

6. Install Base System

Sixth step: after finishing the partitions and continue, the installer will install base system. Base system is the basic OS Debian should be but without GNOME desktop. You should wait for ±20 minutes (it depends on your hardware specs).
photo_2017-07-09_23-43-29-5871719

7. Configure Package Manager

Seventh step: after installing base system, you’ll be asked to configure APT package manager. You can go through with “Yes” or any selection here in offline mode (without network connection). Ignore any error here because you can reconfigure anything once Debian installed.
7-7546589

8. Install GNOME Desktop

Eighth step: select GNOME from the software selection. This will install GNOME Desktop as the user interface for this Debian 9.0.
8-9068341

9. Install Bootloader

Ninth step: determine GRUB Bootloader to be installed so you (if dualboot) can choose between OSes at booting time.
Select YES:
The installer is smart it could detect another OSes installed on the same computer. See below, it detects my Ubuntu 12.04 and 17.04, the other OSes on my laptop. So select “Yes” and Continue.
9-7032843
Choose your parent disk:
For example, if your main partition is /dev/sda6, then the parent is /dev/sda.
9b-9718172

Finish Installation

Once finished, Debian asks you to reboot. Press Continue and enjoy your Debian 9.0 Stretch with GNOME desktop.
10-5154855Source