utmapp / UTM

Virtual machines for iOS and macOS

Home Page:https://getutm.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Running Fedora ARM on M-series from RAW image?

taoeffect opened this issue · comments

Describe the issue

For whatever reason, Fedora doesn't provide ISO files for ARM:

I'd like to install the latest Fedora (40) KDE version, but it just gives a .raw.xz file.

Attempting to start a virtual machine using the decompressed file (.raw.xz => .raw) doesn't work.

What to do?

Configuration

  • UTM Version: 4.5.3 (99)
  • macOS Version: 14.5
  • Mac Chip (Intel, M1, ...): M3

You could try the server version at https://alt.fedoraproject.org/alt/

you're able to download it?

I have tried to download that ISO from that link from multiple locations and the link returns a 404 for all of them. I don't understand how you could have downloaded from this link: https://download.fedoraproject.org/pub/fedora-secondary/releases/40/Spins/aarch64/iso/Fedora-KDE-Live-aarch64-40-1.14.iso

The raw file does download, but for that I can't get UTM to run it.

You can use the Everything netinstall image: https://download.fedoraproject.org/pub/fedora/linux/releases/40/Everything/aarch64/iso/Fedora-Everything-netinst-aarch64-40-1.14.iso (found at: https://alt.fedoraproject.org/alt/). That seems to work just fine for installing the KDE desktop (or others), might take a bit longer to install since the ISO doesn't contain much.

Hmm, thanks! That seems to work! Sortof... stuck here at "error setting up repositories" and not sure what to do.

Screenshot 2024-06-10 at 7 16 09 PM

Screenshot 2024-06-10 at 7 16 16 PM

By chance are you using bridged networking? I’ve had a bunch of issues with that, two different networks. Apple virtualization or QEMU?

I'm using a shared network. I tried with both Apple virtualization and QEMU and got the same results with both.

commented

@taoeffect you can use the RAW images as provided by Fedora, but you need a workaround.

  1. create the VM in UTM, point it to a fake or non-fedora ISO for boot (even touch ~/Downloads/Fedora.iso creating an empty file worked for me)

  2. check the box for "Open VM Settings" and REMOVE both drives

 2024-06-11 at 12 45 18  2024-06-11 at 12 45 41
  1. select "New" under drives and click "Import" and then point it at the Fedora img (you need to un-xz it), then save. UTM will copy into the VM.

  2. start the VM, it should present you with user setup.

 2024-06-11 at 12 58 16  2024-06-11 at 12 59 19
commented

#6308 is related to this.

@taoeffect when using the ISO, what happens if you select closest mirror:

UTM - 2024-06-11 03 24 43 PM

It works just fine for me, and I've created a few VMs using this image.