Notes on VM building: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
 (Created page with "What is says in the title.  Here's what I run to start a Debian install with a virtio storage and network enabled UEFI virtual machine:  sudo qemu-img create -f qcow2 /srv/vm-backing-store/padmeamadeus-0-vda.qcow2 64G  sudo virt-install --name padmeamadeus-0 --memory 5120 --vcpus 2 --cpu host --cdrom ~/Downloads/debian-testing-amd64-20250726-netinst.iso --boot uefi --osinfo debian11 --disk /srv/vm-backing-store/padmeamadeus-0-vda.qcow2,bus=virtio --network bridge=br0,mod...")  | 
				No edit summary  | 
				||
| Line 2: | Line 2: | ||
Here's what I run to start a Debian install with a virtio storage and network enabled UEFI virtual machine:  | 
  Here's what I run to start a Debian install with a virtio storage and network enabled UEFI virtual machine:  | 
||
 sudo qemu-img create -f qcow2 /srv/vm-backing-store/padmeamadeus-0-vda.qcow2 64G  | 
   $ sudo qemu-img create -f qcow2 /srv/vm-backing-store/padmeamadeus-0-vda.qcow2 64G  | 
||
 sudo virt-install --name padmeamadeus-0 --memory 5120 --vcpus 2 --cpu host --cdrom ~/Downloads/debian-testing-amd64-20250726-netinst.iso --boot uefi --osinfo debian11 --disk /srv/vm-backing-store/padmeamadeus-0-vda.qcow2,bus=virtio --network bridge=br0,model=virtio --graphics=spice  | 
   $ sudo virt-install --name padmeamadeus-0 --memory 5120 --vcpus 2 --cpu host --cdrom ~/Downloads/debian-testing-amd64-20250726-netinst.iso --boot uefi --osinfo debian11 --disk /srv/vm-backing-store/padmeamadeus-0-vda.qcow2,bus=virtio --network bridge=br0,model=virtio --graphics=spice  | 
||
5 Gbytes of RAM provisioned.  The VM's disk will be encrypted with LUKS and 4Gibytes of RAM will be needed for the disk encryption passphrase operation that unlocks the data.  | 
  5 Gbytes of RAM provisioned.  The VM's disk will be encrypted with LUKS and 4Gibytes of RAM will be needed for the disk encryption passphrase operation that unlocks the data.  | 
||
Revision as of 18:11, 26 July 2025
What is says in the title.
Here's what I run to start a Debian install with a virtio storage and network enabled UEFI virtual machine:
$ sudo qemu-img create -f qcow2 /srv/vm-backing-store/padmeamadeus-0-vda.qcow2 64G $ sudo virt-install --name padmeamadeus-0 --memory 5120 --vcpus 2 --cpu host --cdrom ~/Downloads/debian-testing-amd64-20250726-netinst.iso --boot uefi --osinfo debian11 --disk /srv/vm-backing-store/padmeamadeus-0-vda.qcow2,bus=virtio --network bridge=br0,model=virtio --graphics=spice
5 Gbytes of RAM provisioned. The VM's disk will be encrypted with LUKS and 4Gibytes of RAM will be needed for the disk encryption passphrase operation that unlocks the data.