⇤ ← Revision 1 as of 2017-10-11 00:51:44
772
Comment:
|
772
|
Deletions are marked like this. | Additions are marked like this. |
Line 3: | Line 3: |
When installing a KVM Guest, that KVM Guest needs to boot from an installation media. Create a partition that hold those installation medias. | When installing a KVM Guest, that KVM Guest needs to boot from an installation media. Create a partition that holds those installation media. |
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 vg2 # mkfs.btrfs /dev/vg2/media # mkdir /mnt/media
Add this to /etc/fstab.
/dev/mapper/vg2-media /mnt/media btrfs defaults 0 0
Mount the new partition.
# mount /mnt/media
Get the installation media.
# mkdir -p /mnt/media/debian/stretch # cd /mnt/media/debian/stretch # wget https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-9.1.0-amd64-netinst.iso # wget https://cdimage.debian.org/debian-cd/current/i386/iso-cd/debian-9.1.0-i386-netinst.iso