#
✕ nick:whynothugo
#asahi · 2022-08-01 13:34
whynothugoYeah, it basically only supports amd64 and [partially] aarch64.
#asahi · 2022-08-01 13:33
whynothugoI tried to figure it out but failed. Honestly, lilo->grub1 was an upgrade, but grub2 was always too hard for me.
#asahi · 2022-08-01 13:30
whynothugoI also have no network. Device is not detected from the bootable media. I think maybe firmwares on my bootable usb?
#asahi · 2022-08-01 13:29
whynothugoI've no idea how to set up grub, it's way too complicated for me.
#asahi · 2022-08-01 13:29
whynothugoThe one generated by mkinitpcio after the last kernel update.\
#asahi · 2022-08-01 13:28
whynothugoI'm super confused with this failure; there's no error here.
#asahi · 2022-08-01 13:28
whynothugoXD
#asahi · 2022-08-01 13:26
whynothugoIt mostly just prevents strangers from booting from random removable media. evil-maid attacks.
#asahi · 2022-08-01 13:23
whynothugohttps://matrix.org/_matrix/media/r0/download/matrix.org/JgBmEosIEcOzFwlzVJBMNbPr/img_7995.jpeg Any idea what's wrong here?
#asahi · 2022-08-01 13:20
whynothugoOf course the secureboot part isn't supported on M1 yet, so no hurry. But good to know stuff.
#asahi · 2022-08-01 13:20
whynothugosbctl is the key tool in that.
#asahi · 2022-08-01 13:20
whynothugohttps://hugo.barrera.io/journal/2021/06/11/a-simple-boot-setup-with-secureboot/
#asahi · 2022-08-01 13:19
whynothugo*Does FIT include u-boot itself too?
#asahi · 2022-08-01 13:19
whynothugoDoes FIT actually include FIT too?
#asahi · 2022-08-01 13:18
whynothugoYou can also sign it and set it up with SecureBoot (not on M1 yet tho)
#asahi · 2022-08-01 13:17
whynothugoIt's a single file which has the kernel, initramfs and the cmdline.
#asahi · 2022-08-01 13:16
whynothugoThat's also the path to go if you eventually want SecureBoot.
#asahi · 2022-08-01 13:16
whynothugoDid you consider a UEFI bundle?
#asahi · 2022-08-01 13:15
whynothugoI believe this one was generated after the last kernel update tho.
#asahi · 2022-08-01 13:15
whynothugoSo unsure how to generate one.
#asahi · 2022-08-01 13:15
whynothugoI created a bootable USB with asahi-base-20220717-1.zip, but that's missing `arch-chroot`
#asahi · 2022-08-01 13:13
whynothugoOkay, so ungzippe'd vmlinuz and my previous initramfs yield this:
#asahi · 2022-08-01 13:12
whynothugomps I think it's systemd-boot that fails to load gzipped kernel.
#asahi · 2022-08-01 13:03
whynothugoOkay, that works -- system fails to boot now since I copied the initramfs from boot media, which I should not have done :(
#asahi · 2022-08-01 13:02
whynothugoJust vmlinuz?
#asahi · 2022-08-01 13:02
whynothugoJust did that; rebooting.
#asahi · 2022-08-01 13:01
whynothugoI wish I'd kept notes, damn me two months ago!
#asahi · 2022-08-01 13:00
whynothugoinitramfs: gzip compressed data, from Unix....
#asahi · 2022-08-01 13:00
whynothugovmlinuz-linux-asahi: gzip compressed data, max compression...
#asahi · 2022-08-01 12:59
whynothugoI recall some issues with compression months ago. But it seems I hacked a fix and never kept any records.
#asahi · 2022-08-01 12:58
whynothugoSo vmlinuz is messed up, or the initramfs?
#asahi · 2022-08-01 12:58
whynothugoKernel is asahi untampered.
#asahi · 2022-08-01 12:56
whynothugoWhat does `Not a PE-COFF file` mean? What exactly did I break?
#asahi · 2022-08-01 12:45
whynothugoDo you want to update m1n1 and u-boot, or keep it as-is? mps
#asahi · 2022-08-01 12:38
whynothugoYou need m1n1 and u-boot unbroken for it to work tho.
#asahi · 2022-08-01 12:38
whynothugomps: I literally just did that -- prepared a bootble USB
#asahi · 2022-08-01 12:30
whynothugoOh, I think the vmlinuz was non-compressed...?
#asahi · 2022-08-01 12:29
whynothugoj`ey: Yeah, I _think_ I didn't change anything in my setup. Failed to boot after a kernel update.
#asahi · 2022-08-01 12:28
whynothugoAny idea what this means?
#asahi · 2022-08-01 12:28
whynothugoError loading \vmlinuz-linux-asahi: Load Error
#asahi · 2022-08-01 11:48
whynothugoAh, I think it was this one https://cdn.asahilinux.org/os/asahi-base-20220717-1.zip
#asahi · 2022-08-01 11:23
whynothugoAnd I can't find how I had generated it in the past.
#asahi · 2022-08-01 11:23
whynothugoI seem to have broken my bootloader again (vmlinuz fails to load)... And I've also lost that bootable USB drive I had.
#asahi · 2022-08-01 10:30
whynothugoYeah, just forgot to reboot since the last kernel update, my bad.
#asahi · 2022-08-01 10:29
whynothugoOh, shit, I didn't reboot!
#asahi · 2022-08-01 10:29
whynothugo5.17.0-rc7-asahi-next-20220310-5-2-ARCH
#asahi · 2022-08-01 10:28
whynothugoBluetooth won't work with an updated system: failed condition check ConditionPathIsDirectory=/sys/class/bluetooth
#asahi · 2022-07-18 14:14
WhyNotHugoWhat's the MTP? (mentioned in the latest blog update)
#asahi · 2022-05-17 15:24
WhyNotHugoThe larger font is also used by the bootloader (systemd-boot / gummiboot), which is nice.
#asahi · 2022-05-17 15:05
WhyNotHugoI'm sure I'll be messing with the bootloader next, so again, USB recovery FTW

plus ›