(Tweak initial description) |
mNo edit summary |
||
Line 11: | Line 11: | ||
=== Install qemu-system-aarch64 === | === Install qemu-system-aarch64 === | ||
Install qemu-system-aarch64 | Install qemu-system-aarch64 and EDK2 for AArch64: <code>sudo dnf install qemu-system-aarch64 edk2-aarch64</code> | ||
|actions= | |actions= |
Revision as of 14:36, 27 July 2020
Description
Install Fedora AArch64 (ARM 64) as a VM on your x86 machine.
Setup
Install UEFI packages and configure libvirt
These steps are documented over here. Follow all the instructions under the 'setup' section: https://fedoraproject.org/wiki/QA:Testcase_Virtualization_UEFI#Setup
Install qemu-system-aarch64
Install qemu-system-aarch64 and EDK2 for AArch64: sudo dnf install qemu-system-aarch64 edk2-aarch64
How to test
Install with virt-manager
- Start virt-manager, connect to 'QEMU', click the 'New VM' icon
- On the first page, under 'Architecture Options' select 'aarch64'. The 'virt' machine type should be selected automatically.
- All install options should be selectable
- For CDROM install, you can download the Fedora 22 AArch64 alpha here: https://dl.fedoraproject.org/pub/fedora-secondary/releases/test/22_Alpha/Server/aarch64/iso/Fedora-Server-DVD-aarch64-22.iso
- For URL installs, you can use the Fedora 22 AArch64 tree here: https://dl.fedoraproject.org/pub/fedora-secondary/releases/test/22_Alpha/Server/aarch64/os/
- Select 'Fedora 21' as the OS
- Continue with the install as usual
- Verify the guest installs correctly
Install with virt-install
virt-install should do the correct thing when you specify --arch aarch64. So do a typical --cdrom or --location install with the media referenced above, and ensure the install completes correctly.
CDROM example:
sudo virt-install \ --name aarch64-f22-cdrom --ram 2048 --disk size=10 \ --os-variant fedora21 --arch aarch64 \ --cdrom /path/to/Fedora-Server-DVD-aarch64-22.iso
Expected Results
Guest starts fine, seems usable.