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/
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
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.
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.
@taoeffect you can use the RAW images as provided by Fedora, but you need a workaround.
-
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) -
check the box for "Open VM Settings" and REMOVE both drives
![2024-06-11 at 12 45 18](https://private-user-images.githubusercontent.com/790061/338725219-34b641d1-4944-4341-916a-5928b18c16b3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkxMDY1MDksIm5iZiI6MTc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YyM1QwMTMwMDlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0wYTJmNGVjNTlmZmQ3MWE5OTY3ZGExYjY0MDEwMTllYTNhYTg4ZGY2ZWI5ZTUzNzgwOWNiZWI4Yjk2ZGQ5YWY2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.DuEXivO8uOKATkBQCd4gWisNtldv_ZCvhSyjJrBhFRM)
-
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.
-
start the VM, it should present you with user setup.
![2024-06-11 at 12 58 16](https://private-user-images.githubusercontent.com/790061/338728633-fc160adb-04fa-419f-83e3-e12db3898bc0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkxMDY1MDksIm5iZiI6MTcxOTEwNjIwOSwicGF0aCI6Ii83OTAwNjEvMzM4NzI4NjMzLWZjMTYwYWRiLTA0ZmEtNDE5Zi04M2UzLWUxMmRiMzg5OGJjMC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjIzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYyM1QwMTMwMDlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xZTY5NjVmNjgzY2ZmMTAyNTcxNzRlZmY0OTY1MWM3YTcxYjY0YjIxMzRlOTFhYjUwN2FlZmM5N2UwM2E0ZDZiJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.OuXiWeln7XcPA-K9snuPTKfCnGrJtD6pt9CcqZjHz1U)
![2024-06-11 at 12 59 19](https://private-user-images.githubusercontent.com/790061/338728874-5a1129fc-aa15-4be5-b2dd-300b3f818459.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkxMDY1MDksIm5iZiI6MTcxOTEwNjIwOSwicGF0aCI6Ii83OTAwNjEvMzM4NzI4ODc0LTVhMTEyOWZjLWFhMTUtNGJlNS1iMmRkLTMwMGIzZjgxODQ1OS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjIzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYyM1QwMTMwMDlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05ZTE4MjM5NjJmNDYzNDQ1Yjc0ZDVkMDZjMjQwOTI0N2NkMDE1ZTMxMDk3Y2Q4ZDY2ZDNiMDE0ZmM4NWIxNWU5JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9._w3fDdbmIpQJbagLUBZS6bQWX2CwTWWzhsuTdt9TyOY)
@taoeffect when using the ISO, what happens if you select closest mirror:
It works just fine for me, and I've created a few VMs using this image.