#
✕ nick:Glanzmann
#asahi-alt · 2022-12-07 08:37
GlanzmannI also need to a video how to upgrade the stub for the very old Debian users.
#asahi-alt · 2022-12-07 08:35
GlanzmannBasically same as the reference distro.
#asahi-alt · 2022-12-07 08:31
GlanzmannSo that you can decide if you want to boot the gpu or the non gpu kernel.
#asahi-alt · 2022-12-07 08:31
GlanzmannThan package m1n1, linux linux-gpu as debian packages and put them in a repository.
#asahi-alt · 2022-12-07 08:31
GlanzmannMy plan is to package asahi-mesa as a debian package.
#asahi-alt · 2022-12-07 08:30
Glanzmanncy8aer: I'll do it tonight after work. But if you do any progress, let me know.
#asahi-alt · 2022-12-06 21:01
GlanzmannI updated the Debian kernel and m1n1.
#asahi-alt · 2022-12-06 13:58
GlanzmannIt runs from a ramdisk and you can install all packages as long as you don't run out of RAM.
#asahi-alt · 2022-12-06 13:58
GlanzmannYou can use it to fix things.
#asahi-alt · 2022-12-06 13:57
Glanzmannarnd: There is a debian live system which is quiet versatile.
#asahi-alt · 2022-12-06 12:15
Glanzmannarnd: So I need to change it in the initrd or from the running system. Or I just build the Debian assets on a daily basis. That way we have every day new uuids.
#asahi-alt · 2022-12-06 12:14
Glanzmannarnd: Change the uuid from 1tr would require to change the installer. I use m a r c a n s installer without any modification and do not want to change that.
#asahi-alt · 2022-12-06 12:13
GlanzmannOf course at some point we need a newer mesa once the GPU is ready. But I don't know the timeline for that.
#asahi-alt · 2022-12-06 12:11
Glanzmannahdeb[m]: I see. From my point of view Debian is fine. The only thing that was very unstable for me was the Debian installer. But since we're nolonger using it.
#asahi-alt · 2022-12-06 12:10
Glanzmannarnd: Yes, I'm older than that. I saw the changes yesterday or the day before yesterday in the repositories, but did not yet build the new version.
#asahi-alt · 2022-12-06 09:56
Glanzmannarnd: IIRC correctly the issue was that tune2fs -U random only works when metadata checksumming is disabled or the filesystem is not mounted. But that would result in a very complicated initrd and as a result I said I'm not going to do it. But there was a upstream commit which allowed to do it with mounted ext4 which have metadata checksumming enabled which was not yet in Debian testing.
#asahi-alt · 2022-12-06 09:55
Glanzmannarnd: What I don't understand is that I did not hit the issue with my 'dcp.sh' which I run on the Mac mini.
#asahi-alt · 2022-12-06 09:50
Glanzmannarnd: I bumped m1n1 to v1.2.2 for new builds, but did not build it yet, so in the future you won't have issues with that anymore.
#asahi-alt · 2022-12-06 09:50
Glanzmannarnd: Maybe the tooling is now ready to rune tune2fs -U random wit metadata checksumming enabled, I'll try it later and if that is the case I'll fix it.
#asahi-alt · 2022-12-06 09:05
Glanzmannarnd: The tooling in Debian unstable is to old to do that without disabling metadata checksumming in ext4.
#asahi-alt · 2022-12-06 08:59
GlanzmannDo I need to update stage1 m1n1 or stage2?
#asahi-alt · 2022-12-06 08:58
GlanzmannIn order to rewrite the uuid I need to disable ext4 metadata checksumming which I don't feel comfortable with.
#asahi-alt · 2022-12-06 08:57
Glanzmannarnd: Second issues is known. I decided to only create a new uuid everytime I build a new image. These days I rarely build them new.
#asahi-alt · 2022-12-06 08:56
Glanzmannarnd: Can you elaborate on the first point? I have dcp not enabled in the default kernel. And dcp works for me on the mini with the latest version.
#asahi-alt · 2022-12-06 08:06
Glanzmannamw: The update script does not deinstall the old kernel and makes a backup copy of the old m1n1. So I would jurst revert back the boot.bin from the macos and boot the old kernel.
#asahi-alt · 2022-12-04 19:38
Glanzmannjanrinze: No, it isn't.
#asahi-alt · 2022-12-04 19:38
Glanzmannjanrinze: The issue is that Windows 11 does not have any device drivers for apple silicon.
#asahi-alt · 2022-12-04 19:35
Glanzmannhttps://superuser.com/questions/1683814/loading-windows-os-using-mainline-u-boot-bootloader
#asahi-alt · 2022-12-04 19:35
Glanzmannjanrinze: Yes, but not on apple silicon: git reset --hard asahi-v2022.10-1; git clean -f -x -d &> /dev/null
#asahi-alt · 2022-12-04 19:34
Glanzmannour*
#asahi-alt · 2022-12-04 19:34
Glanzmannu-boot is out uefi boot loader.
#asahi-alt · 2022-12-04 19:27
Glanzmannjanrinze: Yes it is and unconvient. But the future will be bright. :-)
#asahi-alt · 2022-12-04 19:23
Glanzmannjanrinze: Debian live system is you friend. I like the Debian live cd so much, that I build an amd64 version of it (optionally with my desktop config). So I can turn any machine into my machine running from RAM in 60 - 120 seconds. I use that everytime I need a live system as well as when delivering trainings in training centers.
#asahi-alt · 2022-12-04 19:21
Glanzmannjanrinze: Perfect. That is how it should be. I thought about making a video explaining how to troubleshoot the different issues (manually upgrading the stub, reinstalling grub, exchanging u-boot, reinstalling the kernel, etc.)
#asahi-alt · 2022-12-04 19:20
Glanzmannjanrinze: THank you for clarifying.
#asahi-alt · 2022-12-04 19:19
Glanzmannjanrinze: This is why I use my wifes laptop, than I don't have to.
#asahi-alt · 2022-12-04 19:16
GlanzmannLet me get my wifes notebook and reproduce what you did.
#asahi-alt · 2022-12-04 19:16
Glanzmannjanrinze: Jannau pasted a strings from the grub.efi the other day. THere you could see two references. One ussing the uuid and one using the partition number.
#asahi-alt · 2022-12-04 19:15
Glanzmannjanrinze: And you installed in the summer, so you already had the pathc.
#asahi-alt · 2022-12-04 19:14
GlanzmannThe patch was added last minute to the alpha release.
#asahi-alt · 2022-12-04 19:14
Glanzmannjanrinze: It depends on if you installed before or after the alpha release.
#asahi-alt · 2022-12-04 19:13
GlanzmannThe reason I don't use it because Debian was available before the the patch and I did not want to annoy existing users. But the patch from jannau is very careful. If no esp part uuid is specified or it can't find it it lets the user know what to do.
#asahi-alt · 2022-12-04 19:12
Glanzmannjanrinze: Yes. It is a patch that is only used by asahi. Upstream u-boot, bsd and Debian and Fedora version does not use it, don't know about the others.
#asahi-alt · 2022-12-04 19:11
Glanzmannjanrinze: I think you had two issues: 1) debian u-boot picks first esp. 2). You first installed asahi, than made macos smaller and installed Debian. By doing that you shuffled the partition numbers which made the asahi grub choke on.
#asahi-alt · 2022-12-04 19:10
Glanzmannit wrong or differently than before).
#asahi-alt · 2022-12-04 19:10
Glanzmannjanrinze: THe patch that j'ey just posted is used as the following m1n1.bin passes the part uuid of the esp to 'boot.bin aka m1n1 stage2' u-boot picks than the right esp. However if the partition numbers are shuffled than grub might pick the wrong boot partition. I know that marcan tried to use the partuuid by that. An Debian did that previously but currently nolonger does that (maybe because I use
#asahi-alt · 2022-12-04 19:08
Glanzmannjanrinze: Exactly. When you add additional installations they need to be added behind the current installation, otherwise you need to install grub. In addition to that the u-boot that is shipped by me always picks the first esp. OpenBSD does the same.
#asahi-alt · 2022-12-04 19:06
Glanzmannmps: THanks.
#asahi-alt · 2022-12-04 19:03
GlanzmannI updated the Debian kernel again - forgot to do a pull and ended up with an old version. All the other artefacts are also rebuild.
#asahi-alt · 2022-12-04 19:00
Glanzmannjanrinze: So with asahi boot.bin you're good with debian you aren't. Until you start shuffling parition numbers, because I think Debian as well as Asahi grub have the partition number (not uuid) hardcoded in the efi binary: strings /boot/efi/EFI/BOOT/BOOTAA64.EFI | tail -1 | pbot - > https://pbot.rmdir.de/h0Jz-cz3E9CeShztJLQ0jA

plus ›