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
| Node | Disks | CPUs / memory | Addresses | Role |
|---|---|---|---|---|
deb | netinst ISO on USB, empty 20GiB disk | 2 / 2GiB | mgmt DHCP | Installer, then the installed system |
Before you start
bash
vz image pull iso debian-13Run it
bash
cd examples/10-debian-installer
vz validate
vz up
vz node display deb # run the installer hereTry it
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.When the installer asks to reboot, eject the ISO and let it boot from the disk:
bashvz media eject deb/0After the reboot,
vz node console debgives a login prompt, andvz node lsshows 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