UTM icon indicating copy to clipboard operation
UTM copied to clipboard

Running Fedora ARM on M-series from RAW image?

Open taoeffect opened this issue 1 year ago • 15 comments

Describe the issue

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

  • https://fedoraproject.org/workstation/download
  • https://fedoraproject.org/spins/kde/download

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

taoeffect avatar Jun 01 '24 02:06 taoeffect

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

dmichael89 avatar Jun 01 '24 11:06 dmichael89

That doesn't work either, try it: https://download.fedoraproject.org/pub/fedora-secondary/releases/40/Spins/aarch64/iso/Fedora-KDE-Live-aarch64-40-1.14.iso

error: invalid path

taoeffect avatar Jun 01 '24 18:06 taoeffect

On my iPad in both cases I get a valid URL.Von meinem iPad gesendetAm 01.06.2024 um 20:01 schrieb Greg Slepak @.***>:That doesn't work either, try it: https://download.fedoraproject.org/pub/fedora-secondary/releases/40/Spins/aarch64/iso/Fedora-KDE-Live-aarch64-40-1.14.iso error: invalid path

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.

dmichael89 avatar Jun 01 '24 19:06 dmichael89

you're able to download it?

taoeffect avatar Jun 01 '24 19:06 taoeffect

I‘ve downloaded and installed the server versionVon meinem iPhone gesendetAm 01.06.2024 um 21:41 schrieb Greg Slepak @.***>: you're able to download it?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

dmichael89 avatar Jun 01 '24 19:06 dmichael89

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.

taoeffect avatar Jun 01 '24 20:06 taoeffect

as I told you, I use the server version Von meinem iPhone gesendetAm 01.06.2024 um 22:07 schrieb Greg Slepak @.***>: 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.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

dmichael89 avatar Jun 01 '24 20:06 dmichael89

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.

SConaway avatar Jun 04 '24 06:06 SConaway

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

taoeffect avatar Jun 11 '24 02:06 taoeffect

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

SConaway avatar Jun 11 '24 02:06 SConaway

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

taoeffect avatar Jun 11 '24 02:06 taoeffect

@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

ideologysec avatar Jun 11 '24 19:06 ideologysec

#6308 is related to this.

ideologysec avatar Jun 11 '24 20:06 ideologysec

@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.

SConaway avatar Jun 11 '24 21:06 SConaway

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

I was able to create a VM using this method. However, as soon as I updated Fedora, it would not boot, anymore. I am sure the errors are for a separate issue, but I wanted to say it worked for me.

bosshoss16 avatar Jul 02 '24 21:07 bosshoss16