From Fedora Project Wiki

< Architectures‎ | AArch64

Revision as of 20:14, 21 November 2014 by Crobinso (talk | contribs) (Create page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Installing Fedora aarch64 with QEMU and libvirt

Get the necessary bits

Importing F21 aarch64 disk image

 sudo ./virt-install \
   --name f21-aarch64-import --ram 2048 --arch aarch64 \
   --boot loader_ro=yes,loader_type=pflash,loader=/usr/share/edk2.git/aarch64/QEMU_EFI-pflash.img,nvram_template=/usr/share/edk2.git/aarch64/QEMU_EFI_VARS.fd \
   --os-variant fedora21 --import \
   --disk /var/lib/libvirt/images/F21-20141017-foundation-v8.img
  • The guest should start booting. Log in with user=root, password=fedora
  • Note: Networking doesn't work automatically for this image, you'll need to change the config inside the VM to use DHCP

Installing F21 aarch64 from URL

Warning.png
This currently doesn't work
There's a backtrace from python-blivet when transitioning to anaconda. Bug forthcoming...
 sudo ./virt-install \
   --name f21-aarch64-urlinst --ram 2048 --arch aarch64 \
   --boot loader_ro=yes,loader_type=pflash,loader=/usr/share/edk2.git/aarch64/QEMU_EFI-pflash.img,nvram_template=/usr/share/edk2.git/aarch64/QEMU_EFI_VARS.fd \
   --disk size=8 \
   --location http://dl.fedoraproject.org/pub/fedora-secondary/releases/test/21_Beta/Server/aarch64/os/

Installing F21 aarch64 from CDROM

Warning.png
This currently doesn't work
The CDROM doesn't automatically boot. May be able to make it work by messing with UEFI boot settings. Could be related to bug 1163481
 sudo ./virt-install \
   --name f21-aarch64-cdrom --ram 2048 --arch aarch64 \
   --boot loader_ro=yes,loader_type=pflash,loader=/usr/share/edk2.git/aarch64/QEMU_EFI-pflash.img,nvram_template=/usr/share/edk2.git/aarch64/QEMU_EFI_VARS.fd \
   --disk size=8 --os-variant fedora21 \
   --cdrom /var/lib/libvirt/images/Fedora-Server-DVD-aarch64-21_Beta.iso