Differences between revisions 7 and 8
Revision 7 as of 2021-02-21 12:28:41
Size: 682
Comment:
Revision 8 as of 2021-02-21 12:29:23
Size: 681
Comment:
Deletions are marked like this. Additions are marked like this.
Line 14: Line 14:
/dev/mapper/vg_storage-media /mnt/media btrfs defaults 0 0 /dev/mapper/vg_storage-media /mnt/media ext4 defaults 0 0

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/mapper/vg_storage-media /mnt/media               ext4   defaults        0       0

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

None: KVM Host Guest Installation Media (last edited 2021-02-21 12:30:59 by Kristian Kallenberg)