Install Debian 8 Jessie Virtual Machine

I would like to show how to build a VirtualBox Vagrant box with Debian 8 Jessie. This is the second of three posts that will guide you step by step on how to build a Debian 8 Jessie Vagrant box.

  1. Create Debian 8 Jessie VirtualBox
  2. Install Debian 8 Jessie Virtual Machine
  3. Create Debian 8 Jessie Vagrant Box

Install Debian

I hope you have followed the first post Create Debian 8 Jessie VirtualBox carefully and you are now ready to start the virtual machine. After we have closed the Settings of VirtualBox, we can start the machine by clicking the Start button.

Debian GNU/Linux installer boot menu

After a few seconds we should see the Debian GNU/Linux installer boot menu. Please press ENTER on Graphical Install.

Debian installer boot menu

Select a language

Please select a language for the installation process. I always choose English.

Select lanaguage

Select your location

Please select your location. I mostly choose Germany, but that depends on the project.

Select location

Configure locales

If the location doesn't match to language, the installer let you choose. I mostly select United States - en_US.UTF-8.

Configure locales

Configure the keyboard

Please choose your keyboard configuration. As keyboard I take mostly German.

Configure the keyboard

Configure the network

Afer that, the installer will load some components and will start the configuration of the network. Please take as hostname debian-jessie. You can also choose somethign more related to your project if you want to, but normally a vagrant box should be reusable.

Configure the network

The hostname wasn't that important for me yet and so I mostly take vagrantup.com.

Configure the network

Set up users and passwords

We need to set the password for the user root. Please take the password vagrant and re enter it.

Set up users and passwords

Choose vagrant as fullname for the new user.

Set up users and passwords

And also vagrant as username.

Set up users and passwords

And also vagrant as password for the vagrant user.

Set up users and passwords

Configure the clock

Please choose a time zone. In my case that is Berlin.

Configure the clock

Partition disks

For the partition we select Guided - use entire disk.

Partition disks

Just let SCSIl (0, 0, 0) (sda) - 8.6 GB ATA VBOX HARDDISK as preselected and continue.

Partition disks

All files in one partition (recommended for new users) is fine for us.

Partition disks

Let's Finish partitioning and write changes to disk.

Partition disks

Select Yes and continue.

Partition disks

Install the base system

Debian will now install the base system.

Install the base system

Configure the package manager

Please select a mirror country. In my case Germany.

Configure the package manager

Now you have to choose the archive mirror. For this is ftp.de.debian.org.

Configure the package manager

If you want to, you can choose a HTTP proxy. I mostly let it blank.

Configure the package manager

Configure popularity-contest

You can choose if you want to participate with the popularity-contest.

Configure popularity-contest

Software selection

Please disable every option, execpt standard system utilities.

Software selection

Install the GRUB boot loader on a hard disk

Select Yes to install the GRUB boot loader.

Install the GRUB boot loader on a hard disk

Choose /dev/sda as device for the boot loader installation.

Install the GRUB boot loader on a hard disk

Finish the installation

The installation is finished, please continue to restart the system.

Finish the installation

GRUB boot loeader

If you see the GRUB boot loader after the restart everything went fine.

GRUB boot loeader

We have installed Debian 8 Jessie successfully and should now login with the root user and the password vagrant. The last and third post will be

  • Create Debian 8 Jessie Vagrant Box
  • .

    Next Previous