| Size: 683 Comment:  |  ← Revision 9 as of 2021-02-21 12:30:59  ⇥ Size: 677 Comment:  | 
| Deletions are marked like this. | Additions are marked like this. | 
| Line 7: | Line 7: | 
| mkfs.btrfs /dev/vg_storage/media | mkfs.ext4 /dev/vg_storage/media | 
| Line 14: | Line 14: | 
| /dev/mapper/vg_storage-media /mnt/media btrfs defaults 0 0 | /dev/vg_storage/media /mnt/media ext4 errors=remount-ro 0 1 | 
KVM Host Guest Installation Media
When installing a KVM Guest, that KVM Guest needs to boot from an installation media. Create a partition that holds those installation media.
lvcreate --name media --size 4G vg_storage mkfs.ext4 /dev/vg_storage/media mkdir /mnt/media
Add this to /etc/fstab.
/dev/vg_storage/media /mnt/media ext4 errors=remount-ro 0 1
Mount the new partition.
mount /mnt/media
Get the installation media.
mkdir -p /mnt/media/debian/buster cd /mnt/media/debian/buster wget https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-10.8.0-amd64-netinst.iso