Installing Debian Buster under XCP-ng

In our last article we created our first Debian Buster virtual machine in XCP-ng. Now we will continue our install process and go through setup by step instruction of installing the Debian OS.

 

Step 1: Choose the installation method
Step 1: Choose the installation method
Step 2: Select Language
Step 2: Select Language
Step 3: Select your Location
Step 3: Select your Location
Step 4: Configure local settings
Step 4: Configure local settings

 

Step 5: Configure the keybord
Step 5: Configure the keyboard
Step 6: Installation in progress (loading components)
Step 6: Installation in progress (loading components)
Step 7: configuring networks
Step 7: configuring networks
Step 8: enter the hostname
Step 8: enter the hostname
Step 9: enter the domain name
Step 9: enter the domain name
  • Step 9: Leave the domain name empty or choose same for all your computers in a network.
Step 10: choose the root password
Step 10: choose the root password
  • Step 10: keep your root password safe, as you will need is for installing applications & packages (su and sudo commands also use root password).
Step 11: enter full name of the name
Step 11: enter full name of the name
  • Step 11: create the admin account  name for the Debian
Step 12: choose the username for the account
Step 12: choose the username for the account
  • Step 12: choose the user name of the above user account,  in most cases this we will use this account to login to this system.
Step 13: enter the user password
Step 13: enter the user password
  • Step 13: choose the password for the above account, and don’t use the same password as root 😉
Step 14: Installation in progress (disk partitioning)
Step 14: Installation in progress (disk partitioning)
Step 15: choose partition type
Step 15: choose partition type
  • Step 15: This is the most important step, and highly recommend to setup the drive as encrypted, in 2019 this must not be an optional.
Step 16: partition the disk
Step 16: partition the disk
Step 17: partitioning scheme
Step 17: partitioning scheme
  • Step 17: for use of ease, we will use single partition for all files types.
Step 18: writing partitioning table
Step 18: writing partitioning table
Step 19: erasing data on partition
Step 19: erasing data on partition
Step 20: erasing data on partition ..
Step 20: erasing data on partition ..
Step 21: choose password for encrypt partition
Step 21: choose password for encrypt partition
  • Step 21: this step relate to our step 15, and this passphrase (password) must be entered every time system is booted.
Step 22: choose password for encrypt partition
Step 22: choose password for encrypt partition ..
  • Step 22: if you lose this passphrase, then we can’t boot into the system and won’t be able recover any data from this partition.
Step 23: choose partition disk size
Step 23: choose partition disk size
Step 24: finish partitioning
Step 24: finish partitioning
Step 25: finish partitioning ..
Step 25: finish partitioning ..
  • Step 25:  creating & finalize the partitions.
Step 26: installing base systems
Step 26: installing base systems
Step 27: installing base systems (additional CD)
Step 27: installing base systems (additional CD)
Step 28: choose the Debian archive
Step 28: choose the Debian archive
Step 29: choose the Debian archive mirror
Step 29: choose the Debian archive mirror
  • Step 29: Choose the Debian archive near to your location.
Step 30: choose the proxy
Step 30: choose the proxy
  • Step 30: choose the proxy if its applicable (in most cases it can be left blank).
Step 31: configuring apt
Step 31: configuring apt
Step 32: choice about the statistics collection
Step 32: choice about the statistics collection
Step 33: software collection
Step 33: software collection
  • Step 33: We will use our Debian Buster installation as a headless server, so we don’t need to install any desktop environment. So as a base installation we will only install ssh server or standard utilities.
Step 34: install the GRUB boot loader
Step 34: install the GRUB boot loader
  • Step 34: At last we are installing the GRUB boot loader, and in next step we will chose the disk to install it.
Step 35: install the GRUB boot loader (device selection)
Step 35: install the GRUB boot loader (device selection)
Step 36: Finishing the installation
Step 36: Finishing the installation
  • Step 36: Now we are almost done with the installation, when we press the the “Continue”button, Debian will clean up the some file and restart the system. remember we must eject the ISO from the DVD Drive  from the XCP-ng, as show in the below picture where DVD drive is <empty>.
Step 37: first boot screen
Step 37: first boot screen
  • Step 37:  This will be the first boot screen and as mention in Step 15, we must enter the passphrase for disk encryption. After the correct passphrase Debian will resume booting.

 

Step 38: login shell
Step 38: login shell
  • Step 38: voila 🙂 we have our Debian 10 Buster installation is complete.

In comming articles we will take a look to customize and secure our Debian installation.

 

Leave a Reply

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