Skip to content

Home Lab

Notes from my learning sessions

Menu
Menu

OS installation: Debian 11 on a KVM guest VM.

Posted on December 13, 2021December 13, 2021 by sandeep

Download the ISO image to the /var/lib/libvirt/images folder of the KVM host.

Start virt-manager and opt to create a new VM and select Local install media.

Click on browse and select the downloaded ISO image

If the OS is not automatically detected, uncheck automatic detection and type in Debian testing

Assign memory and CPU resources.

Assign storage space

Select the network – either macvtap or bridge, in my case bridge br1 configured during KVM installation

Note: I have checked customize configuration as I want to add a second interface

Click on “Add hardware” and select network, add another network – in my case bridge, br2 configured during KVM installation.

Finish adding the second network and click on Begin Installation

I prefer the non-graphical installation mode

Continue with the installation steps detailed here.

Note: While installing on KVM guest VM, you will not get an option to choose the EFI partition. So just create one root partition. The installer will ask for information on where to install grub.

Select the first primary partition

After reboot edit /etc/apt/sources.list and comment out the CRDOM source.

Recent Posts

  • Ceph + KVM: 4. Orchestrating Ceph RBD backed VMs on KVM Hosts
  • Rabbit MQ Cluster + HAProxy + Keepalived
  • Install and configure MariaDB / Galera cluster
  • Ceph + KVM : 3. Installing KVM, cutsomized monitoring scripts
  • Ceph + KVM : 5. Service checks and CLI commands
  • Ceph + KVM : 2. Installation – Ceph Storage
  • Ceph + KVM : 1. Planning and preparing for Ceph Storage
  • Openstack Xena on Ubuntu 20.04 – Cinder
  • Preparing custom Debian 11 MATE image
  • Setup Ubuntu 20.04 repository mirror server

Archives

  • April 2025
  • March 2025
  • October 2024
  • September 2024
  • April 2022
  • March 2022
  • February 2022
  • December 2021
  • October 2021
  • September 2021
  • October 2020
  • February 2020
  • January 2020
  • December 2019
© 2025 Home Lab | Powered by Minimalist Blog WordPress Theme