utmapp / UTM

Virtual machines for iOS and macOS
https://getutm.app
Apache License 2.0
26.49k stars 1.33k forks source link

Running Fedora ARM on M-series from RAW image? #6401

Closed taoeffect closed 1 month ago

taoeffect commented 4 months ago

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

dmichael89 commented 4 months ago

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

taoeffect commented 4 months ago

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
dmichael89 commented 4 months ago

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.

taoeffect commented 4 months ago

you're able to download it?

dmichael89 commented 4 months ago

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

taoeffect commented 4 months ago

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.

dmichael89 commented 4 months ago

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

SConaway commented 4 months ago

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.

taoeffect commented 3 months ago

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

SConaway commented 3 months ago

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

taoeffect commented 3 months ago

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

ideologysec commented 3 months ago

@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 commented 3 months ago

6308 is related to this.

SConaway commented 3 months ago

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

bosshoss16 commented 3 months ago

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