Difference between revisions of "Quartz64 Installing Arch Linux ARM"

Jump to navigation Jump to search
m (change /dev/sdb to /dev/sdX)
(→‎Finishing Touches: Change from the patched RC package to my PR for the main kernel package)
Line 110: Line 110:
=== Finishing Touches ===
=== Finishing Touches ===


{{note|Here's where you'd do the part I said was iffy and won't be necessary with 5.16 anymore. You'll need an Arch Linux or Manjaro system. If it's not an aarch64 system, you'll also need <tt>qemu-user-static</tt>.  
{{note|Here's where you'd do the part I said was iffy and won't be necessary once my PR is merged. You'll need an Arch Linux or Manjaro system. If it's not an aarch64 system, you'll also need <tt>qemu-user-static</tt>.  


First, get [https://overviewer.org/~pillow/up/04425c6141/linux-aarch64-rc-5.16.rc5-1-aarch64.pkg.tar.zst the linux-aarch64-rc package I patched and built], then copy it somewhere into your mounted root.
First, get [https://overviewer.org/~pillow/up/aca7520ff4/linux-aarch64-5.17.1-2-aarch64.pkg.tar.zst the linux-aarch64 package I patched and built], then copy it somewhere into your mounted root.


Alternatively, patch and build the package yourself by [https://github.com/archlinuxarm/PKGBUILDs/tree/master/core/linux-aarch64-rc getting the package sources] and [https://gist.github.com/CounterPillow/310273c9632f25c436fb4fdfa0128068 patching the package (in this case also for cross-compilation)].
Alternatively, patch and build the package yourself by [https://github.com/archlinuxarm/PKGBUILDs/pull/1918 applying this PR].


Next, <code>arch-chroot</code> into the mounted root:
Next, <code>arch-chroot</code> into the mounted root:
Line 122: Line 122:
and install the package
and install the package


<code># pacman -U linux-aarch64-rc-5.16.rc5-1-aarch64.pkg.tar.zst</code>
<code># pacman -U linux-aarch64-5.17.1-2-aarch64.pkg.tar.zst</code>


Then <code>exit</code> the chroot again once it's done installing.
Then <code>exit</code> the chroot again once it's done installing.