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?

  • krolden@lemmy.ml
    link
    fedilink
    arrow-up
    8
    ·
    8 months ago

    $lspci -nnv

    Then find your WiFi card and.make sure the module and driver are loaded.

  • BestBouclettes
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    8 months ago

    You probably messed up your firmware. Do you see any driver related to WiFi with modprobe?

  • ScottE@lemm.ee
    link
    fedilink
    arrow-up
    2
    ·
    8 months ago

    Reboot to the snapshot you took of the root fs before starting the update, then just rerun the upgrade. If you are using btrfs (or ZFS) make use of its features so you never have this sort of problem.

  • mvirts@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    8 months ago

    no need to reinstall, a running system is always fixable, if you need networking try wired ethernet with a usb dongle or a usb wifi adapter or bluetooth/usb tethering to a phone

    maybe start by running pacman -Syu again, in case it magically fixes itself.

    Check dmesg for wifi related errors

    figure out what wifi device you have and what kernel drivers support it

    check that the driver module is available, try loading it manually with modprobe

    reinstall relevant kernel modules. Hopefully this will fix whatever is wrong.

  • 257m@sh.itjust.worksOP
    link
    fedilink
    arrow-up
    1
    ·
    8 months ago

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

  • Petter1@lemm.ee
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    8 months ago

    I’d get my data I still need on a external disk and start new 😂 no time to save linux, just start again