ChanServ changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | "Does XXX work yet?": https://alx.sh/fs | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-alt #asahi-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
ddxtanx has quit [Remote host closed the connection]
delsol_ has quit [Remote host closed the connection]
delsol has joined #asahi
seacloud has quit [Ping timeout: 480 seconds]
delsol has quit [Read error: No route to host]
delsol has joined #asahi
shiggitay has joined #asahi
seacloud has joined #asahi
delsol has quit [Remote host closed the connection]
delsol has joined #asahi
delsol has quit [Remote host closed the connection]
delsol has joined #asahi
thansen is now known as Guest9202
thansen has joined #asahi
Guest9202 has quit [Ping timeout: 480 seconds]
delsol has quit [Remote host closed the connection]
chrisl has joined #asahi
pb17 has quit [Ping timeout: 480 seconds]
shiggitay has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
KxCORP58940003455 has quit [Quit: Bye!]
KxCORP58940003455 has joined #asahi
kdb42490 has joined #asahi
pb17 has joined #asahi
seacloud has quit [Ping timeout: 480 seconds]
andrewhaley has joined #asahi
c10l has quit [Remote host closed the connection]
c10l has joined #asahi
chrisl has joined #asahi
seacloud has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
psykose has joined #asahi
pb17 has quit [Ping timeout: 480 seconds]
tired- has quit [Quit: /]
tired- has joined #asahi
chrisl has joined #asahi
pb17 has joined #asahi
seacloud has quit [Ping timeout: 480 seconds]
seacloud has joined #asahi
seacloud has quit [Ping timeout: 480 seconds]
seacloud has joined #asahi
elvishjerricco has quit [Remote host closed the connection]
elvishjerricco has joined #asahi
elvishjerricco has quit [Remote host closed the connection]
elvishjerricco has joined #asahi
seacloud has quit [Ping timeout: 480 seconds]
mkurz_ has joined #asahi
john-cabaj has quit [Remote host closed the connection]
melnary has quit [Remote host closed the connection]
seacloud has joined #asahi
<quaff>
does Asahi have a rescue mode?
melnary has joined #asahi
delsol has joined #asahi
<quaff>
I missed up my primary user's group access (newb mistake of not adding "-a" when adding a new group to the user), and my root user doesn't have a password. Is there a live CD or something that I flash to a USB to use to fix this user's group?
<quaff>
messed*
john-cabaj has joined #asahi
mkurz_ is now known as mkurz
<chaos_princess>
just add init=/bin/sh to your kernel command line
pb17 has quit [Ping timeout: 480 seconds]
<PaulFertser>
Does that make Fedora run regular init names from initramfs and then the script or whatever is there would honour that kernel option? Or is Asahi Linux not normally using initramfs?
<chaos_princess>
i guess yes, it does use the initramfs so it may or may not work. but no harm in trying and seeing what happens
mkurz has quit [Remote host closed the connection]
mkurz has joined #asahi
pb17 has joined #asahi
mkurz has quit []
mkurz has joined #asahi
<PaulFertser>
For the reference, in RHEL I had to use "rdinit=/bin/sh" to make any change, but that also means one needs to manually mount rootfs from the shell.
mohit81582263530 has quit [Quit: mohit81582263530]
mohit81582263530 has joined #asahi
mohit81582263530 has quit []
mohit81582263530 has joined #asahi
mohit81582263530 has quit []
mohit81582263530 has joined #asahi
_nomad_ has joined #asahi
<quaff>
chaos_princess: hm I would need root access to do this right? I’ve installed a gentoo livecd and booted into that. Will see if I can fix from there 🙏
<chaos_princess>
gentoo livecd might be easier, yes
<chaos_princess>
but for previous you need access to bootloader shell, not neccessary root
<quaff>
ah is that related to interrupting the u-boot process?
<chaos_princess>
no, grub, or whatever fedora uses after u-boot
<quaff>
I see. u-boot shows the fedora splash screen immediately so I didn’t even know it was using grub 🫡
_nomad_ has left #asahi [#asahi]
_nomad_ has joined #asahi
Sebastian2 has joined #asahi
Sebastian2 has quit []
<quaff>
hm. the passwords I set via the gentoo livecd (via chroot) are not working after I boot into fedora. I don’t think cross distro matters… but maybe I’m wrong
<quaff>
chaos_princess: where do I add that init=/bin/sh to my kernel command line?
_nomad_ has left #asahi [#asahi]
_nomad_ has joined #asahi
<chaos_princess>
if there is grub menu after u-boot, then select the kernel and iirc you press 'e' to edit boot config
<chaos_princess>
if it does not show, try spamming f8 after u-boot
mohit81582263530 has quit [Quit: mohit81582263530]
<PaulFertser>
quaff: if you could edit files on target partition though you could just manually edit /etc/group and add your user to all the groups you need.
mohit81582263530 has joined #asahi
<quaff>
PaulFertser: I made the mistake of setting a password for my root user while in chroot. I can’t log into my normal user after booting regularly into Asahi fedora
_nomad_ has quit [Quit: leaving]
nomad has joined #asahi
Sebastian2 has joined #asahi
Sebastian2 has quit []
nomad has quit []
seacloud has quit [Ping timeout: 480 seconds]
<PaulFertser>
Hm, what could have gone wrong doing that from inside chroot? Probably some selinux trick?
<quaff>
maybe. I’m not sure. I’m attempting the kernel command line init sh that chaos_princess mentioned. I am not sure if I’m doing it correctly.
<quaff>
PaulFertser: when I boot back into the livecd, and chroot, the passwords I set works. so maybe it is selinux
<quaff>
chaos_princess: there’s a few lines of the kernel command line, where do I put that init variable? admittedly kernel loading has been an area I haven’t looked too deeply yet 🙏
<chaos_princess>
just at the end. there is usually stuff like `root=UUID=something`, or similar line that looks vaguely correct, so just append it to the line
<PaulFertser>
Indeed it talks about needing to do "touch /.autorelabel"
sand4rt has quit [Ping timeout: 480 seconds]
<PaulFertser>
"A third way to fixing your issue can be to switch selinux into permissive mode using kernel boot options by adding the option enforcing=0"
<PaulFertser>
quaff: so just creating /.autorelabel from live system should help.
seacloud has quit [Ping timeout: 480 seconds]
<quaff>
PaulFertser: I touched the /.autorelabel file. that didn’t seem to work
<quaff>
tried it from the kernel command line too
<quaff>
my passwords still don’t work when I boot regularly
<chaos_princess>
could fedora be using something weird like systemd-homed?
<chaos_princess>
or other way to have users not in /etc/passwd
seacloud has joined #asahi
seacloud has quit [Ping timeout: 480 seconds]
<quaff>
interesting. adding the enforcing=0 seems to have gotten fedora to do some relabelling. I see some text pop up on the screen now instead of booting into sddm
jibsaramnim has quit [Remote host closed the connection]
jibsaramnim has joined #asahi
<quaff>
that worked!! thanks to you two for your help! chaos_princess PaulFertser 🫶🫶🫶
seacloud has joined #asahi
delsol has quit [Remote host closed the connection]
pounce has quit [Read error: Connection reset by peer]
pounce has joined #asahi
katia has quit [Remote host closed the connection]