ChanServ changed the topic of #asahi-alt to: Asahi Linux: porting Linux to Apple Silicon macs | User-contributed/unofficial distribution ports | Logs: https://alx.sh/l/asahi-alt
utsweetyfish has quit [Remote host closed the connection]
utsweetyfish has joined #asahi-alt
chadmed_ has joined #asahi-alt
<cy8aer> jannau: 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.
<cy8aer> And now it is too late for me. I try it tomorrow again.
chadmed has quit [Ping timeout: 480 seconds]
jeisom has quit [Remote host closed the connection]
jeisom has joined #asahi-alt
chadmed_ has quit [Quit: Konversation terminated!]
jeisom has quit [Remote host closed the connection]
cylm_ has quit [Ping timeout: 480 seconds]
jeisom has joined #asahi-alt
utsweetyfish has quit [Remote host closed the connection]
utsweetyfish has joined #asahi-alt
jeisom has quit [Ping timeout: 480 seconds]
chadmed has joined #asahi-alt
utsweetyfish has quit [Remote host closed the connection]
utsweetyfish has joined #asahi-alt
<BenTheTechGuy> I think this U-Boot was only built with support for gz and xz compression, so make sure your initrd isn't ZSTD compressed.
chadmed has quit [Remote host closed the connection]
chadmed has joined #asahi-alt
kdb424 has quit [Quit: Ping timeout (120 seconds)]
loops has quit [Read error: Network is unreachable]
loops has joined #asahi-alt
kdb424 has joined #asahi-alt
novafacing992 has quit [Read error: Connection reset by peer]
novafacing992 has joined #asahi-alt
kujeger has quit [Quit: ZNC 1.8.2 - https://znc.in]
chadmed has quit [Ping timeout: 480 seconds]
chadmed has joined #asahi-alt
hightower3 has joined #asahi-alt
chadmed has quit [Ping timeout: 480 seconds]
hightower4 has quit [Ping timeout: 480 seconds]
chadmed has joined #asahi-alt
<cy8aer> BenTheTechGuy: 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.
<cy8aer> ... And I actual do not have the ressources to builld it on my own.
<cy8aer> And 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.
<mps> cy8aer: here is short guide and url to bootable usb https://arvanta.net/alpine/install-alpine-m1/
<mps> maybe you can use it to fix your installation
<mps> or take ideas from it
<cy8aer> mps: 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?
<cy8aer> Because that is what I have: a efi partition with the latest m1n1
<mps> I think so though didn't tested it in last month
<mps> I could build new one later today
<cy8aer> That should be an environment >= kernel 6.4.0-5 or so.
<cy8aer> But please do not put too much work in it.
<_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
<_jannau__> cy8aer: if you can edit the command line of the non-booting debian live image, try adding "nomodeset"
<mps> cy8aer: it is script and don't require much work, just ./create-m1-img.sh
kujeger has joined #asahi-alt
<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.
<mps> cy8aer: just uploaded new image with latest asahi kernel, still didn't tested does it boots, hope will test it in hour or two
<_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)
<cy8aer> mps: 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 😉 )
hightower4 has joined #asahi-alt
hightower3 has quit [Ping timeout: 480 seconds]
<cy8aer> (other os, other circumstances, but same effect)
<mps> I 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
chadmed has quit [Remote host closed the connection]
chadmed has joined #asahi-alt
<cy8aer> Looks like the version of installer 6.4.0 does have a problem. I am not able to boot any of the images.
<cy8aer> from usb.
<cy8aer> So now I am stuck.
<cy8aer> Which 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...
<cy8aer> Another 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?
<mps> ah, yes. latest u-uboot have bug and can't boot from usb
<mps> just fixed it and it boots fine
<mps> here is a patch https://tpaste.us/kX81
<cy8aer> Ok 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
jeisom has joined #asahi-alt
tsujp_ has joined #asahi-alt
handlerug_ has joined #asahi-alt
okt_ has joined #asahi-alt
d4ve_ has joined #asahi-alt
pldtf_ has joined #asahi-alt
probie_ has joined #asahi-alt
signaryk_ has joined #asahi-alt
alethkit_ has joined #asahi-alt
asimpson_ has joined #asahi-alt
BenTheTechGuy_ has joined #asahi-alt
BenTheTechGuy has quit [resistance.oftc.net larich.oftc.net]
handlerug has quit [resistance.oftc.net larich.oftc.net]
tsujp has quit [resistance.oftc.net larich.oftc.net]
alethkit has quit [resistance.oftc.net larich.oftc.net]
pldtf has quit [resistance.oftc.net larich.oftc.net]
signaryk has quit [resistance.oftc.net larich.oftc.net]
asimpson has quit [resistance.oftc.net larich.oftc.net]
probie has quit [resistance.oftc.net larich.oftc.net]
d4ve has quit [resistance.oftc.net larich.oftc.net]
okt has quit [resistance.oftc.net larich.oftc.net]
JTL has quit [resistance.oftc.net larich.oftc.net]
asimpson_ is now known as asimpson
d4ve_ is now known as d4ve
signaryk_ is now known as signaryk
alethkit_ is now known as alethkit
okt_ is now known as okt
handlerug_ is now known as handlerug
pldtf_ is now known as pldtf
tsujp_ is now known as tsujp
probie_ is now known as probie
JTL has joined #asahi-alt
SalimTer- has joined #asahi-alt
SalimTerryLi has quit [Ping timeout: 480 seconds]
jeisom has quit [Ping timeout: 480 seconds]
zhdi has joined #asahi-alt
cylm_ has joined #asahi-alt
jeisom has joined #asahi-alt
maria has quit [Ping timeout: 480 seconds]
jeisom has quit [Ping timeout: 480 seconds]
maria has joined #asahi-alt
possiblemeatball has joined #asahi-alt
zhdi has quit [Quit: Connection closed for inactivity]
jeisom has joined #asahi-alt
zhdi has joined #asahi-alt
<cy8aer> Hi 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.
<cy8aer> Thank you all for your help.
<mps> cy8aer: did you read #asahi-dev about booting usb with current u-boot
<mps> it could be booted by break u-boot and from cmdline type ` env set boot_efi_bootmgr ; run bootcmd_usb0`
<mps> I tested with current asahi u-boot without patch
<cy8aer> mps: no, I just used your patch. Hm, yes, same effect, less efford. But does not matter, I found a way.
<mps> so, no need to rebuild u-boot and install/updtad current boot.bin on ESP
<cy8aer> yes. simply disabling the new function in u-boot.
<cy8aer> Now I need my time to document the stuff...
<mps> (now I'm on the apple side view about EFI, don't like it)
<cy8aer> 😉
<mps> u-boot people works on something better
<cy8aer> The main point why I kicked my efi and the whole volume: I played around with the boot.bin and it did not work. Then I wanted to copy an old version on the apple side in the efi partition and accidently erased (!) my volume. Don't ask, I work with an ISO keyboard and wanted to find out the partition name of the efi partition and somehow it kicked the volume via diskutil (and I was already root) from the history. That was too late and too unfocused.
<mps> VPL - Verified Program Loader
<cy8aer> Some EFIs of the x86 machines are crazy too.
<cy8aer> (non-apple machines)
<cy8aer> Thinking about the secure boot stuff and switching it on with linux...
<mps> not advice but maybe it will be easier to simply reinstall
delroth has quit [Remote host closed the connection]
delroth has joined #asahi-alt
<cy8aer> would be, but it is my daily driver, I am not at home and restoring my stuff would take to long and I have a debian with a crypted file system - https://g3la.de/hedgedoc/buDIXGBuRzKMwUnYOpStuw - and for the reinstall a live image is needed too 😕
<cy8aer> This is a bit a chicken and egg problem.
<cy8aer> And when you can see your two partitions which still work...
<mps> maybe you can use qemu from macos to access your partitions
<cy8aer> And yes, do not play around when you not have all tools for recovery at your side.
<cy8aer> That works?
<mps> yes, it worked last time I tried
<mps> I was even tempted to create alpine image for help users to access linux partitions from macos
<cy8aer> I also thought about installing the standard asahi in space before my system - shrink macos a bit - and use this for rescuing. But I read about problems with two linuxes on one system.
<mps> but it can be done using live linux iso
<cy8aer> (before between macos and my partitions)
<cy8aer> yes
<cy8aer> but now everything is well and thanks again.
<mps> let me search backlog where I explained this
hightower2 has joined #asahi-alt
<mps> cy8aer: the 'trick' is to add something like ''-drive if=virtio,id=hd1,format=raw,file=/dev/disk0s6' to qemu cli
<mps> cy8aer: https://tpaste.us/O89d script I used to start qemu to access partitions from macos
<cy8aer> and macos loops that through? Wow
<mps> need to find time to document this and become famous ;)
hightower4 has quit [Ping timeout: 480 seconds]
<cy8aer> right so.
<cy8aer> (hm, sound german somehow)
<cy8aer> s/ound/ounds/g
hightower3 has joined #asahi-alt
cylm has joined #asahi-alt
cylm_ has quit [Ping timeout: 480 seconds]
hightower2 has quit [Ping timeout: 480 seconds]
delroth has quit [Remote host closed the connection]
delroth has joined #asahi-alt
delroth has quit [Remote host closed the connection]
delroth has joined #asahi-alt
mcint has joined #asahi-alt
zhdi has quit [Quit: Connection closed for inactivity]
JTL has quit [Ping timeout: 480 seconds]