#
#asahi · 2022-12-18 08:17
ncli'll test
#asahi · 2022-12-18 08:16
nicolas17there you go
#asahi · 2022-12-18 08:16
mps_nicolas17: ah, driver is module and it is initramfs I guess
#asahi · 2022-12-18 08:16
nicolas17is there something in userspace loading keyboard firmware or something?
#asahi · 2022-12-18 08:16
nicolas17mps_: if I understand correctly, that gets them a shell but the keyboard doesn't work
#asahi · 2022-12-18 08:16
kallistiOr that I should try to install to my usb c flash drive and chroot into the system and reset the password that way? Finally chrooting from docker or a vm on mac os would be nice because I wouldn't have to reboot (until testing if it worked)
#asahi · 2022-12-18 08:16
ncl'rescue systemd.setenv=SYSTEMD_SULOGIN_FORCE=1'
#asahi · 2022-12-18 08:16
nclnot usually anymore with systemd, if it does it's still a bit of a pain but uh
#asahi · 2022-12-18 08:15
mps_does 'init=/bin/sh' works
#asahi · 2022-12-18 08:15
kallistiSo is the concensus I should try entering kernel parameter SYSTEMD_SULOGIN_FORCE=1 and hope that I can login like that from tty5 or 6?
#asahi · 2022-12-18 08:13
nclyeah
#asahi · 2022-12-18 08:13
nclyes but systemd can set envvar based on kernel cmdline if you eg. interrupt grub and append to it
#asahi · 2022-12-18 08:13
kallistincl: do we set environment like we do kernel parameters? I am really just an ignorant end user so idk these things
#asahi · 2022-12-18 08:12
kallistincl: https://systemd.io/ENVIRONMENT/
#asahi · 2022-12-18 08:09
mps_nicolas17: here is short guide how to boot from usb I wrote for alpine https://arvanta.net/alpine/install-alpine-m1/ and there are somewhere for debian and iirc for nixos somewhere
#asahi · 2022-12-18 08:08
ncli forget the exact invocation but it's something with SYSTEMD_SULOGIN_FORCE
#asahi · 2022-12-18 08:08
kallistidoes the ashai install script work for that?
#asahi · 2022-12-18 08:08
kallistiso what can i use to create a bootable image on an external flash drive?
#asahi · 2022-12-18 08:07
kallistier, perhaps i do have a nvme flash drive with usb c
#asahi · 2022-12-18 08:07
mps_nicolas17: yes, break u-boot and tell it to boot from usb
#asahi · 2022-12-18 08:07
kallistimps_: yeah hmm unfortunately don't have a usb stick
#asahi · 2022-12-18 08:07
nicolas17mps_: how do you boot from live usb stick? need to tell uboot or grub to load OS from there?
#asahi · 2022-12-18 08:07
ncloh if this is all about resetting the pw i think there's a cmdline you can stick in to force systemd into a root shell with no login
#asahi · 2022-12-18 08:06
mps_boot from live usb stick, mount mvme root partition and reset password
#asahi · 2022-12-18 08:06
kallistincl: idk rizon
#asahi · 2022-12-18 08:05
kallistihttps://www.reddit.com/r/AsahiLinux/comments/xxmo0m/reset_forgotten_password/
#asahi · 2022-12-18 08:04
mps_ncl: keys could be remapped when keyboard driver is loaded
#asahi · 2022-12-18 08:04
kallistiAnyhow don't think it will work. But I will have to leave the chat to test as I'm in macOS now.
#asahi · 2022-12-18 08:03
nclcmd=win option=alt
#asahi · 2022-12-18 08:03
mps_kallisti: alt is option or command
#asahi · 2022-12-18 08:03
kallistino alt key on macOS keyboard
#asahi · 2022-12-18 08:02
kallistiI was sort of mashing keys but able to get to tty5&6
#asahi · 2022-12-18 08:02
mps_but if no process runs on tty than pressing fn+alt+N keys is useless
#asahi · 2022-12-18 08:02
kallistiso what keys are you suggesting?
#asahi · 2022-12-18 08:02
nicolas17mps_: the key mapping works since they can get to tty5; but tty9 isn't working so something else is up
#asahi · 2022-12-18 08:02
kallistiLook from the archlinux docs they mention ctrl+alt+f9
#asahi · 2022-12-18 08:02
nclrizon 10y ago
#asahi · 2022-12-18 08:02
kallistiThis will do a normal boot but start debug-shell.service which runs a root shell (/bin/sh) on tty9. Press Ctrl+Alt+F9 to access it.
#asahi · 2022-12-18 08:01
mps_I know that mappings works very fine, tested it extensively when I wrote that patch.
#asahi · 2022-12-18 08:01
kallistifrom where idk
#asahi · 2022-12-18 08:00
kallistii dunno what kallisti you knew
#asahi · 2022-12-18 08:00
nclare you the kallisti i knew
#asahi · 2022-12-18 08:00
kallistiprobably got a blank screen when I tried entering that
#asahi · 2022-12-18 08:00
kallistiiirc yes
#asahi · 2022-12-18 07:59
mps_aha, so nothing on tty9 is running?
#asahi · 2022-12-18 07:58
kallistiNo, I got login screens on tty5&6
#asahi · 2022-12-18 07:58
kallistiSo I think tty9 might be disabled
#asahi · 2022-12-18 07:58
mps_then maybe nothing is running on tty5 and tty6
#asahi · 2022-12-18 07:58
kallistiyeah but I could only get to those ttys
#asahi · 2022-12-18 07:57
nicolas17yeah but if they can get to tty5 and tty6 then they figured out the right key combo already

plus ›