#asahi · 2022-02-23 06:10
Glanzmannzv: Oh and you can run Debian stable. The only thing you need 'testing' for at the moment is a newer libinput.#asahi · 2022-02-23 06:09
Glanzmannzv: If you have any problems, let me know. I made it a hobie to install Debian on these machines.#asahi · 2022-02-23 05:52
GlanzmannAt some point we will have m1n1 chainload support, than you can update the device tree without fiddling in 1tr.#asahi · 2022-02-23 05:51
Glanzmannzv: But if you want the latest and gratest features, you need to touch u-boot constantly which requires you to but into 1tr. than maybe you want pikvm with a opto coupler to the power button.#asahi · 2022-02-23 05:50
Glanzmannzv: If you just want it as a build host and do not touch the kernel, in my experience Debian is very stable to run multiple weeks.#asahi · 2022-02-23 05:49
GlanzmannAnother option that does a friend of mine for 1,5 years: Just install Debian in a VM under macos. It runs with near native performance. Perfect for a build machine and easy to handle.#asahi · 2022-02-23 05:48
GlanzmannSee Asahi wiki Debian installer page.#asahi · 2022-02-23 05:48
Glanzmannzv: I'm also working with Debian Guy on getting the official Debian installer in shape, but at the moment you can also use the official Debian installer. You just need to execute on script, when it fails to install grub from another console to install grub and the kernel.#asahi · 2022-02-23 05:47
Glanzmannzv: Marcan currently works on the installer. As soon as he pushes, I'll prepare a Debian Image for the installer. Than all of that is completly automated.#asahi · 2022-02-23 05:47
Glanzmannthan follow quickstart.txt inside /root to install grub properlly#asahi · 2022-02-23 05:46
Glanzmannzv: For Debian, look at the wiki page. https://github.com/AsahiLinux/docs/wiki/Debian This automates the dding: https://tg.st/u/m1di.pl At the moment you have to boot the kernel the firs time manually: linux (hd0,gpt5)/boot/vmli<tab> root=/dev/nvme0n1p5 rw#asahi · 2022-02-22 21:05
Glanzmannzv: Or you have another mac and can use macvdmtool to reboot the mac.#asahi · 2022-02-22 21:05
GlanzmannThis is the way.#asahi · 2022-02-22 19:23
Glanzmannmps: I see. Anyway having different choices is nice. Pick whatever fits best.#asahi · 2022-02-22 19:22
GlanzmannAlso on Debian you can verify the checksum of every installed file, and apply upgrades very easily. Also on of the unattended debian installation methods, fai (fully automated installation) also uses a tarball that it extracts to bootstrap systems. I used it for many year to install 100+ systems.#asahi · 2022-02-22 19:21
Glanzmannmps: I mean at least on Debian, the disk image is also created using debootstrap what is the exact method the installer uses itself.#asahi · 2022-02-22 19:20
GlanzmannBut probably the best way is to having multiple ways of setting up linux (tethered, untethered, dd, live system, distro installer).#asahi · 2022-02-22 19:19
Glanzmannmps: But to be honest, even as experienced user, I prefer the dd approach. because it takes me 10 seconds to install Linux (of course setting up the stub and rebooting in 1tr also takes a little bit of time especially if you don't get it right the first time, like I always do).#asahi · 2022-02-22 19:15
GlanzmannAlso with what marcan is currently doing you don't need any usb sticks, usb-c to usb-a convertes and god knows what, so especially for unpexerienced Linux users, it will be very easy.#asahi · 2022-02-22 19:14
Glanzmannmps: I mean doing the UEFI approach is the goal, but having what marcan is doing at the moment is from my point a big gain. Because you can install a complete distribution in less than 20 minutes including everything. The majority of the time is actually spent on entering 1tr and setting up the stub. The Linux installation is done in 10 seconds.#asahi · 2022-02-22 18:45
Glanzmannmarcan: And how do you handle when someone wants to install the same distribution twice? Because than the UUID of the root filesystem will be same, won't it?#asahi · 2022-02-22 18:44
Glanzmannmarcan: What I don't understand. You hardcode the efi parition in u-boot. But how does Linux know which is the corresponding EFI parition?#asahi · 2022-02-22 17:36
GlanzmannAnd extracts if file has changed.#asahi · 2022-02-22 17:36
GlanzmannI assume it checks.#asahi · 2022-02-22 17:36
GlanzmannI see. cool.#asahi · 2022-02-22 17:35
GlanzmannAnd than you have some /etc/rc.local or equivalant which extracts the wifi firmware and call resize2fs?#asahi · 2022-02-22 17:34
Glanzmannmarcan: I see, good idea.#asahi · 2022-02-22 17:33
GlanzmannOnce properly booted, grub can be properly installed.#asahi · 2022-02-22 17:33
Glanzmannmarcan: So what I did in my installer, I wrote a fake grub config on the efi which loads the kernel.#asahi · 2022-02-22 17:33
GlanzmannIt's pretty easy because 'diskutil list' gives a first number the parition number.#asahi · 2022-02-22 17:32
GlanzmannI see, but that is a 10 liner for marcan.#asahi · 2022-02-22 17:32
Glanzmannj`ey: Thank you for the recap. Does it also write the grub and grub configuration already?#asahi · 2022-02-22 17:31
GlanzmannCool.#asahi · 2022-02-22 17:30
Glanzmannj`ey: Can you give me a quick recap how far marcan got with the installer?#asahi · 2022-02-22 17:27
Glanzmannmarcan: The ext4 image will be hosted on one of your systems I assume and will not be created on the fly using a tar archive (I remeber some discussion if there is a tool which can create a ext4 image from a tar archive)?#asahi · 2022-02-22 17:25
Glanzmannmarcan: Of course, I forgot about the rest of the ipsw to setup the stub partition.#asahi · 2022-02-22 17:24
Glanzmannmarcan: PIng me when you push it, I'm eager to try it out and also to create a pull request for Debian. :-)#asahi · 2022-02-22 13:35
GlanzmannAnd only get that chunk.#asahi · 2022-02-22 13:35
Glanzmannmps: It is huge, but probably we could seek to the location the firmware is located, maybe m a r c a n already does that?#asahi · 2022-02-22 13:27
GlanzmannThe ipfw are the macos images that the official macos installer downloads from the internet. It also contains the firmware.#asahi · 2022-02-22 13:26
Glanzmannmps: That is what the ipfw is about.#asahi · 2022-02-22 13:09
GlanzmannYep.#asahi · 2022-02-22 13:06
GlanzmannWe're not allowed to redistribute it.#asahi · 2022-02-22 13:06
Glanzmannkit_ty_kate: The problem is the wifi firmware.#asahi · 2022-02-22 10:32
GlanzmannI see.#asahi · 2022-02-22 10:21
Glanzmannpovik: Before that I had no audio every other reboot. Now I have audio on every reboot.#asahi · 2022-02-22 10:20
Glanzmannpovik: It did not fail for me once since the last patch.#asahi · 2022-02-22 10:19
GlanzmannOkay, I'll rename it.#asahi · 2022-02-22 10:19
Glanzmann'stable audio input'#asahi · 2022-02-22 10:18
GlanzmannCool.