You are not logged in.
I've noticed that sometimes after updating the kernel, I can't mount any external drives any more unless I reboot.
I'm guessing this is because when the new kernel was installed, the modules for the old kernel were deleted and it can't find them any more.
I wonder if pacman should keep the old kernel modules around, at least until after rebooting?
Offline
Nope. Either don't upgrade the kernel until you can reboot or specifically load the modules you might need before upgrading.
Personally, I do use modules-load.d to load the usb-storage module for just such cases.
Offline
@Scimmia
That's interesting. I am exactly looking for this only use case. Can you briefly describe how to load the usb module after a kernel upgrade?
Is this done automatically?
You have to load the usb module before you upgrade the kernel. A simple method is to always load the module during boot.
https://wiki.archlinux.org/index.php/Ke … es#Loading
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
@progandy
Thanks! So basically just creating `/etc/modules-load.d/usb-storage.conf`:
➜ ~ cat /etc/modules-load.d/usb-storage.conf
# Load usb-storage module on boot to prevent USB not working
# after a Kernel upgrade
usb_storageOffline