Skip to content

10 Install Debian from the ISO ​

Boot the Debian netinst ISO and install onto an empty disk, the way you would on real hardware.

What you practice ​

  • A USB disk whose path is the ISO from vz image pull iso debian-13
  • Installers draw on the display, not the serial console
  • Ejecting the install media afterwards

Topology ​

NodeDisksCPUs / memoryAddressesRole
debnetinst ISO on USB, empty 20GiB disk2 / 2GiBmgmt DHCPInstaller, then the installed system

Before you start ​

bash
vz image pull iso debian-13

Run it ​

bash
cd examples/10-debian-installer
vz validate
vz up
vz node display deb    # run the installer here

Try it ​

  1. In the installer choose the disk /dev/vda (the 20GiB Virtio disk). The ISO shows up as a SCSI disk too (sda): it is read-only, do not pick it.

  2. When the installer asks to reboot, eject the ISO and let it boot from the disk:

    bash
    vz media eject deb/0
  3. After the reboot, vz node console deb gives a login prompt, and vz node ls shows the address for SSH.

Notes ​

To keep the ISO out for good, set connected: false on disk 0 in lab.yaml.

Clean up ​

bash
vz down
vz destroy --yes   # deletes the overlays and state of this lab