#asahi · 2022-09-28 19:16
tpw_rulesyou do not have to re-expand#asahi · 2022-09-28 19:16
jaycoxthanks tpw_rules #asahi · 2022-09-28 19:16
jaycoxI've got nothing on the drive that I need so might as well just nuke it then, re-expand the osx partition and then start again#asahi · 2022-09-28 19:15
tpw_rulesjaycox: if you want to nuke it completely, read this: https://github.com/tpwrules/nixos-m1/blob/main/docs/uefi-standalone.md#nixos-uninstallation and replace "nixos" with "asahi". there are two partitions you have to delete#asahi · 2022-09-28 19:14
jaycoxdo I just have to merge the partitions back together?#asahi · 2022-09-28 19:14
jaycoxhi all, is there a way to reinstall Asahi, I've got an old installation which has stopped booting on a 25Gb partition, I've tried the installer but I can't get it to select the partition, it just wants to resize my current apple partition#asahi · 2022-09-28 19:02
bread_crumb[m]* i guess (edit: XNU boot protocol), just#asahi · 2022-09-28 19:00
StrollerI mostly use MacOS on the desktop, but can I just say it's wonderful to have a group that understands and documents the way the system works. I find many Mac forums frustrating because they're so wedded to the GUI #asahi · 2022-09-28 19:00
bread_crumb[m]https://github.com/AsahiLinux/docs/wiki/Introduction-to-Apple-Silicon https://github.com/AsahiLinux/docs/wiki/Open-OS-Ecosystem-on-Apple-Silicon-Macs#asahi · 2022-09-28 19:00
bread_crumb[m]Stroller: #asahi · 2022-09-28 18:59
bread_crumb[m]bread_crumb[m]: https://github.com/AsahiLinux/docs/wiki/Introduction-to-Apple-Silicon https://github.com/AsahiLinux/docs/wiki/Open-OS-Ecosystem-on-Apple-Silicon-Macs#asahi · 2022-09-28 18:59
StrollerWell, I'll read the docs properly, thank you for your time#asahi · 2022-09-28 18:59
bread_crumb[m]sorry, not xnu, iboot1 and iboot2 and all that stuff together i guess, just correcting naming#asahi · 2022-09-28 18:59
j`eyStroller: no the kernel can load the firmware#asahi · 2022-09-28 18:57
StrollerSo m1n1 upload firmware blobs to the wifi chip and stuff?#asahi · 2022-09-28 18:57
bread_crumb[m]Stroller: xnu bootloader doesn't support uefi natively#asahi · 2022-09-28 18:57
StrollerThank you #asahi · 2022-09-28 18:57
j`eyStroller: m1n1 load uboot, uboot loads grub#asahi · 2022-09-28 18:57
j`eyStroller: u-boot is loaded by m1n1#asahi · 2022-09-28 18:56
j`eyStroller: to do all the apple specific things#asahi · 2022-09-28 18:56
StrollerSorry if this is a dumb question, but if u-boot can load your bootloader, couldn't it have loaded GRUB ?#asahi · 2022-09-28 18:56
StrollerOut of curiosity, why was an Apple specific bootloader necessary?#asahi · 2022-09-28 18:56
mpsfirst stage m1n1 is in so called stub partition which is created by installer#asahi · 2022-09-28 18:55
StrollerThank you#asahi · 2022-09-28 18:55
mpsu-boot adds EFI#asahi · 2022-09-28 18:55
mpsStroller: no#asahi · 2022-09-28 18:54
bread_crumb[m] * Stroller: https://github.com/AsahiLinux/docs/wiki/m1n1%3AUser-Guide#asahi · 2022-09-28 18:54
mpsit is second stage boot loader#asahi · 2022-09-28 18:54
StrollerSo Apple silicon uses EFI?#asahi · 2022-09-28 18:54
mpsyes, m1n1+u-boot+dtbs is in esp#asahi · 2022-09-28 18:54
bread_crumb[m]Stroller: https://github.com/AsahiLinux/m1n1#asahi · 2022-09-28 18:53
bread_crumb[m]s/*/**/, s/*/**/#asahi · 2022-09-28 18:53
bread_crumb[m]<Stroller> "Is m1n1 is a partition please..." <- no m1n1 is a bootloader, it is in _two_ files in binary format, one of which (stage 2 I think) is in the ESP *partition* so m1n1-stage 1 loads m1n1 - stage 2 in the esp afaik#asahi · 2022-09-28 18:51
bread_crumb[m]<Sobek[m]> "Well, on the macOS side of..." <- What eric said "mess up to point of not booting" was more in the direction of an example to explain what he is asking, which is exactly what I am asking above, so it's not about unbricking, it's about how to set up a U-Boot bootable USB with the asahi distro, still thanks for the input though.#asahi · 2022-09-28 18:47
StrollerIs m1n1 is a partition please, Sobek[m] ? #asahi · 2022-09-28 18:32
Sobek[m]Well, on the macOS side of things, there are a few powerful tools to unbrick it (including using a second computer on either Linux or macOS). To unborn à Linux partition, as long as you haven’t messed up m1n1 + un pot you should be fine.#asahi · 2022-09-28 17:14
bread_crumb[m]<eric_engestrom> "on my x86 laptop, when I mess up..." <- answer to my question would also be the answer to this one #asahi · 2022-09-28 17:09
bread_crumb[m]contents onto fs, but that also didn't work. U-Boot throws an error that it can't read "/".#asahi · 2022-09-28 17:09
bread_crumb[m]Does anyone know the proper process of setting up a USB for booting from U-Boot with the .img files + esp directory?#asahi · 2022-09-28 17:09
bread_crumb[m] * Alright so I got further with this, I managed to build the reference images from the repository and am now looking to properly format a USB and finally boot this thing from U-Boot. Now, the reference script (https://github.com/AsahiLinux/asahi-alarm-builder/blob/main/build.sh) builds .img files and not .iso, I tried basically vfat formatting it and copying the img onto /dev/sda, that didn't work, and gpt vfat formatting and copying file#asahi · 2022-09-28 17:09
bread_crumb[m]> <@bread_crumb:halogen.city> I would like to ask, since U-Boot boots GRUB which then loads the kernel + initramfs, if booting from a USB to replicate the former I would have to:... (full message at <https://matrix.org/_matrix/media/r0/download/matrix.org/iuYJLvUyfMRVfuHONpZMSSoe>)#asahi · 2022-09-28 16:45
orieo1[m]💨Don’t miss this chance to be Rich... (full message at <https://matrix.org/_matrix/media/r0/download/matrix.org/NGIIhXEHIfaRfLMnbCmNVhFN>)#asahi · 2022-09-28 16:45
Guest1675Good day#asahi · 2022-09-28 16:33
orieo1[m]💨Don’t miss this chance to be Rich... (full message at <https://matrix.org/_matrix/media/r0/download/matrix.org/ryhRSdxKiRsRGPTNTJAsBMDk>)#asahi · 2022-09-28 11:25
mpsdas_j: example to boot from usb https://arvanta.net/alpine/install-alpine-m1/#asahi · 2022-09-28 11:09
eric_engestrom(the proxy stuff)#asahi · 2022-09-28 11:08
eric_engestromthanks jannau; that was probably going to be my next step (once I got a base working)#asahi · 2022-09-28 11:08
jannaueric_engestrom: usb boot: https://github.com/AsahiLinux/docs/wiki/Tethered-Boot-Setup-%28For-Developers%29#asahi · 2022-09-28 11:06
jannauprobably too late now#asahi · 2022-09-28 11:06
jannausystemd-boot instructions for asahi are here: https://gist.github.com/marcan/eac6bf00d5edc37d6ccbeffda382d30c