this post was submitted on 20 Mar 2024
6 points (100.0% liked)

Linux

2725 readers
1 users here now

Shit, just linux.

Use this community for anything related to linux for now, if it gets too huge maybe there will be some sort of meme/gaming/shitpost spinoff. Currently though… go nuts

founded 2 years ago
MODERATORS
 

So basically I stupidly tried to update while my thinkpad had low battery and it powered off halfway through the update. The system wouldn't boot because it was complaining that vm-linuz/linux was not found so I performed a chroot-rescue and got it to boot again. I must have messed something up during the process because now the device wlan0 is not showing up in iwctl device list. How can I fix or diagnose this issue? (I am using btrfs if that helps). Has anyone had a similar situation and can lend a hand?

all 5 comments
sorted by: hot top controversial new old
[–] Novi@sh.itjust.works 6 points 1 year ago* (last edited 1 year ago) (1 children)

Rebuild all dkms and kmod drivers, specifically your wireless driver. iferror, reinstall your kernel and firmware (if using firmware) again and allow mkinitcpio to finish and update grub/systemd-boot entries.

edit: typo

[–] Novi@sh.itjust.works 5 points 1 year ago* (last edited 1 year ago)

Should all the above fail the new kernel might have a bug In the driver for your wifi chip, revert to previous kernel.

Edit: you could also try to install another kernel release. (Zen, tkg, etc.)

[–] AceSLS@ani.social 2 points 1 year ago* (last edited 1 year ago)

I'd recommend reinstalling all your packages like this (foreign ones shouldn't be neccessary)

[–] 257m@sh.itjust.works 1 points 1 year ago

Alright I solved it by just chrooting in again and deleted and reinstalled linux-firmware.