From Fedora Project Wiki
< Architectures | AArch64
(Location takes ../os/ not ../iso/ url) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
== Get the necessary bits == | == Get the necessary bits == | ||
* Grab the latest qemu-system-aarch64, libvirt, and virt-manager | * Grab the latest qemu-system-aarch64, libvirt, and virt-manager | ||
* Grab UEFI builds for QEMU and AARCH64: <code>sudo dnf install edk2 | * Grab UEFI builds for QEMU and AARCH64: <code>sudo dnf install edk2-aarch64</code> | ||
== Installing | == Installing F33 aarch64 from URL == | ||
* This example uses the | * This example uses the F33 aarch64 install tree. The virt-install command is: | ||
sudo | sudo virt-install \ | ||
--name | --name f33-aarch64 --ram 4096 --arch aarch64 \ | ||
--boot uefi --disk size=8 \ | --boot uefi --disk size=8 \ | ||
--location https:// | --location https://download.fedoraproject.org/pub/fedora/linux/releases/33/Server/aarch64/os/ | ||
== Installing | == Installing F33 aarch64 from CDROM == | ||
* Grab the ISO: | * Grab the ISO: | ||
** This example uses the | ** This example uses the F33 aarch64 install DVD: https://download.fedoraproject.org/pub/fedora/linux/releases/33/Server/aarch64/iso/Fedora-Server-dvd-aarch64-33-1.3.iso | ||
** Move it to /var/lib/libvirt/images | ** Move it to /var/lib/libvirt/images | ||
sudo | sudo virt-install \ | ||
--name | --name f33-aarch64-cdrom --ram 4096 --arch aarch64 \ | ||
--boot uefi --disk size=8 --os-variant | --boot uefi --disk size=8 --os-variant fedora33 \ | ||
--cdrom /var/lib/libvirt/images/Fedora-Server- | --cdrom /var/lib/libvirt/images/Fedora-Server-dvd-aarch64-33-1.3.iso | ||
[[Category:AArch64]] | [[Category:AArch64]] |
Latest revision as of 21:31, 17 December 2020
Installing Fedora aarch64 with QEMU and libvirt
These steps will work on both x86 and aarch64 hardware. If running on actual aarch64 hardware, the virt-install commands should automatically request KVM for maximum performance.
Get the necessary bits
- Grab the latest qemu-system-aarch64, libvirt, and virt-manager
- Grab UEFI builds for QEMU and AARCH64:
sudo dnf install edk2-aarch64
Installing F33 aarch64 from URL
- This example uses the F33 aarch64 install tree. The virt-install command is:
sudo virt-install \ --name f33-aarch64 --ram 4096 --arch aarch64 \ --boot uefi --disk size=8 \ --location https://download.fedoraproject.org/pub/fedora/linux/releases/33/Server/aarch64/os/
Installing F33 aarch64 from CDROM
- Grab the ISO:
- This example uses the F33 aarch64 install DVD: https://download.fedoraproject.org/pub/fedora/linux/releases/33/Server/aarch64/iso/Fedora-Server-dvd-aarch64-33-1.3.iso
- Move it to /var/lib/libvirt/images
sudo virt-install \ --name f33-aarch64-cdrom --ram 4096 --arch aarch64 \ --boot uefi --disk size=8 --os-variant fedora33 \ --cdrom /var/lib/libvirt/images/Fedora-Server-dvd-aarch64-33-1.3.iso