From Fedora Project Wiki
< Architectures | AArch64
mNo edit summary |
(Update for latest install syntax) |
||
Line 5: | Line 5: | ||
== Get the necessary bits == | == Get the necessary bits == | ||
* Grab the latest qemu-system-aarch64 | * Fedora 22 host or later is required | ||
* Grab the latest qemu-system-aarch64, libvirt, and virt-manager | |||
* Grab UEFI builds for QEMU and AARCH64 | * Grab UEFI builds for QEMU and AARCH64 | ||
** Note: These bits are not part of fedora due to licensing issues. See [[Using_UEFI_with_QEMU#EDK2_Licensing_Issues]] for more info. | ** Note: These bits are not part of fedora due to licensing issues. See [[Using_UEFI_with_QEMU#EDK2_Licensing_Issues]] for more info. | ||
** Install Gerd's nightly firmware repo, as described here: https://www.kraxel.org/repos/ | ** Install Gerd's nightly firmware repo, as described here: https://www.kraxel.org/repos/ | ||
** Install the relevant bits: <code>sudo | ** Install the relevant bits: <code>sudo dnf install edk2.git-aarch64</code> | ||
== | == Installing F23 aarch64 from URL == | ||
* This example uses the F23 aarch64 install tree. The virt-install command is: | |||
sudo ./virt-install \ | sudo ./virt-install \ | ||
--name f21-aarch64-urlinst --ram 2048 --arch aarch64 \ | --name f21-aarch64-urlinst --ram 2048 --arch aarch64 \ | ||
--boot | --boot uefi --disk size=8 \ | ||
--location https://dl.fedoraproject.org/pub/fedora-secondary/releases/23/Server/aarch64/iso/ | |||
--location | |||
== Installing | == Installing F23 aarch64 from CDROM == | ||
* Grab the ISO: | * Grab the ISO: | ||
** This example uses the | ** This example uses the F23 aarch64 install DVD: https://dl.fedoraproject.org/pub/fedora-secondary/releases/23/Server/aarch64/iso/Fedora-Server-DVD-aarch64-23.iso | ||
** Move it to /var/lib/libvirt/images | ** Move it to /var/lib/libvirt/images | ||
** From the virt-manager.git checkout, run: | ** From the virt-manager.git checkout, run: | ||
sudo ./virt-install \ | sudo ./virt-install \ | ||
--name f21-aarch64-cdrom --ram 2048 --arch aarch64 \ | --name f21-aarch64-cdrom --ram 2048 --arch aarch64 \ | ||
--boot | --boot uefi --disk size=8 --os-variant fedora22 \ | ||
--cdrom /var/lib/libvirt/images/Fedora-Server-DVD-aarch64-23.iso | |||
--cdrom /var/lib/libvirt/images/Fedora-Server-DVD-aarch64- | |||
[[Category:AArch64]] | [[Category:AArch64]] |
Revision as of 20:11, 2 January 2016
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
- Fedora 22 host or later is required
- Grab the latest qemu-system-aarch64, libvirt, and virt-manager
- Grab UEFI builds for QEMU and AARCH64
- Note: These bits are not part of fedora due to licensing issues. See Using_UEFI_with_QEMU#EDK2_Licensing_Issues for more info.
- Install Gerd's nightly firmware repo, as described here: https://www.kraxel.org/repos/
- Install the relevant bits:
sudo dnf install edk2.git-aarch64
Installing F23 aarch64 from URL
- This example uses the F23 aarch64 install tree. The virt-install command is:
sudo ./virt-install \ --name f21-aarch64-urlinst --ram 2048 --arch aarch64 \ --boot uefi --disk size=8 \ --location https://dl.fedoraproject.org/pub/fedora-secondary/releases/23/Server/aarch64/iso/
Installing F23 aarch64 from CDROM
- Grab the ISO:
- This example uses the F23 aarch64 install DVD: https://dl.fedoraproject.org/pub/fedora-secondary/releases/23/Server/aarch64/iso/Fedora-Server-DVD-aarch64-23.iso
- Move it to /var/lib/libvirt/images
- From the virt-manager.git checkout, run:
sudo ./virt-install \ --name f21-aarch64-cdrom --ram 2048 --arch aarch64 \ --boot uefi --disk size=8 --os-variant fedora22 \ --cdrom /var/lib/libvirt/images/Fedora-Server-DVD-aarch64-23.iso