#
#asahi-alt · 2023-08-29 19:21
cy8aer😉
#asahi-alt · 2023-08-29 19:20
mps(now I'm on the apple side view about EFI, don't like it)
#asahi-alt · 2023-08-29 19:20
cy8aerNow I need my time to document the stuff...
#asahi-alt · 2023-08-29 19:19
cy8aeryes. simply disabling the new function in u-boot.
#asahi-alt · 2023-08-29 19:19
mpsso, no need to rebuild u-boot and install/updtad current boot.bin on ESP
#asahi-alt · 2023-08-29 19:19
cy8aermps: no, I just used your patch. Hm, yes, same effect, less efford. But does not matter, I found a way.
#asahi-alt · 2023-08-29 19:17
mpsI tested with current asahi u-boot without patch
#asahi-alt · 2023-08-29 19:17
mpsit could be booted by break u-boot and from cmdline type ` env set boot_efi_bootmgr ; run bootcmd_usb0`
#asahi-alt · 2023-08-29 19:16
mpscy8aer: did you read #asahi-dev about booting usb with current u-boot
#asahi-alt · 2023-08-29 19:16
cy8aerThank you all for your help.
#asahi-alt · 2023-08-29 19:15
cy8aerHi there - back again. I needed to build the boot.bin offline on another (x86) machine with the patch of mps (thanks for that). The Glanzmann stick did not start the live image but - I had a full grub then. Booting twice, fighting with "grub-install" and everything is fine again.
#asahi-alt · 2023-08-29 11:41
cy8aerOk somehow reassuring. But then I need to wait until the next installer version with the patch or for access tomy "twin" system for building a new boot.bin
#asahi-alt · 2023-08-29 11:39
mpshere is a patch https://tpaste.us/kX81
#asahi-alt · 2023-08-29 11:38
mpsjust fixed it and it boots fine
#asahi-alt · 2023-08-29 11:38
mpsah, yes. latest u-uboot have bug and can't boot from usb
#asahi-alt · 2023-08-29 11:26
cy8aerAnother question: If I have another system which is installed the same way and I "steal" the EFI partition from there: is there a chance to rescue the system then?
#asahi-alt · 2023-08-29 11:26
cy8aerWhich components of grub should be on the efi partition? I know that the "classical" grub has components inside the file system. Is this the same for efi? Because those grub fragments I have try to scan nvm 0:4 and crash then but then there is only grub rescue and not the full grub system. Because with the full grub I could boot again...
#asahi-alt · 2023-08-29 11:20
cy8aerSo now I am stuck.
#asahi-alt · 2023-08-29 11:19
cy8aerfrom usb.
#asahi-alt · 2023-08-29 11:18
cy8aerLooks like the version of installer 6.4.0 does have a problem. I am not able to boot any of the images.
#asahi-alt · 2023-08-29 09:57
mpsI can't remember but some of u-boot versions had a problem to boot from usb. not sure is this fixed in latest verified release
#asahi-alt · 2023-08-29 09:53
cy8aer(other os, other circumstances, but same effect)
#asahi-alt · 2023-08-29 09:52
cy8aerlooks like I am not alone with these problems... https://www.reddit.com/r/AsahiLinux/comments/164arlm/fedora_no_longer_booting/?rdt=42534
#asahi-alt · 2023-08-29 09:16
cy8aermps: Yes for me this will work, no problem but I am talking about people who crash their system like that and do not know anything about the mechanisms for booting up and try to recover. Thank you for the image. I will try that too (but please stay tuned, need to do some "real work" first 😉 )
#asahi-alt · 2023-08-29 09:15
_jannau__there was a dtb change for the display device nodes which could explain boot problems. It should be avoidable by not loading the dcp driver (which nomodeset does, if the kernel is not very old)
#asahi-alt · 2023-08-29 09:14
mpscy8aer: just uploaded new image with latest asahi kernel, still didn't tested does it boots, hope will test it in hour or two
#asahi-alt · 2023-08-29 09:13
cy8aer_jannau__: yes that is a problem I found just with my crash. Recovery is a mess for someone with not too many skills. Ok, "nomodeset" reads like that the dtbs are needed for the frame buffer stuff only? Interesting.
#asahi-alt · 2023-08-29 09:11
mpscy8aer: it is script and don't require much work, just ./create-m1-img.sh
#asahi-alt · 2023-08-29 09:11
_jannau__cy8aer: if you can edit the command line of the non-booting debian live image, try adding "nomodeset"
#asahi-alt · 2023-08-29 09:10
_jannau__to make this work any "live" image should ship a boot.bin with matching dtbs which can be temporarily used for booting the live image
#asahi-alt · 2023-08-29 09:10
cy8aerBut please do not put too much work in it.
#asahi-alt · 2023-08-29 09:08
cy8aerThat should be an environment >= kernel 6.4.0-5 or so.
#asahi-alt · 2023-08-29 09:08
mpsI could build new one later today
#asahi-alt · 2023-08-29 09:07
mpsI think so though didn't tested it in last month
#asahi-alt · 2023-08-29 09:07
cy8aerBecause that is what I have: a efi partition with the latest m1n1
#asahi-alt · 2023-08-29 09:06
cy8aermps: Thank you. This is a solution if my live stick does not work. I for myself only need a running linux system to rescue. And an alpine system will do too. Do you know if this stick starts up with the actual m1n1/dtb combination?
#asahi-alt · 2023-08-29 09:04
mpsor take ideas from it
#asahi-alt · 2023-08-29 09:04
mpsmaybe you can use it to fix your installation
#asahi-alt · 2023-08-29 09:03
mpscy8aer: here is short guide and url to bootable usb https://arvanta.net/alpine/install-alpine-m1/
#asahi-alt · 2023-08-29 09:03
cy8aerAnd when this does not work I am completely stranded, because I would need the live stick for re-installation too because I only use crypted systems on my laptop and this does not work with the debian image of the standard installation image provided by the installer.
#asahi-alt · 2023-08-29 09:01
cy8aer... And I actual do not have the ressources to builld it on my own.
#asahi-alt · 2023-08-29 08:57
cy8aerBenTheTechGuy: hm, then it is no solution for me ☹️. Ok last chance is a live stick. But my stick does not start up and I guess this is the dtb problem. I use the https://tg.st/asahi-debian-live.tar and probably @Glanzmann does not build it every time a new kernel occurs. And then I have an older kernel not working with the actual m1n1/dtb combination.
#asahi-alt · 2023-08-29 04:08
BenTheTechGuyI think this U-Boot was only built with support for gz and xz compression, so make sure your initrd isn't ZSTD compressed.
#asahi-alt · 2023-08-29 00:53
cy8aerAnd now it is too late for me. I try it tomorrow again.
#asahi-alt · 2023-08-29 00:53
cy8aerjannau: ok now I tried the direct booting from u-boot. It looks fine until "booti": Wrong Ramdisk Image format. Ramdisk image is corrupt or invalid. Are there different Ramdisk formats around u-boot cannot handle? This is a "standard" initrd from a debian dist.
#asahi-alt · 2023-08-28 21:54
jannausure, it's helpful/useful but it's almost impossible to find there
#asahi-alt · 2023-08-28 21:49
cy8aerBut it may be helpful
#asahi-alt · 2023-08-28 21:44
jannauthat not really docs but a random issue reported against the docs repo for whatever reason
#asahi-alt · 2023-08-28 21:43
jannauu-boot has a working ls if kernel/initrd do not have generic names
#asahi-alt · 2023-08-28 21:43
cy8aerjannau: thanks. Looking into the asahi docs was my least idea. How stupid.

plus ›