Unsolved Export Drivers: Linux
-
Planning ahead for the inevitable day when the computer crashes on me when out in the field and I have to rebuild it.
Found how to export drivers on Windows, using [cmd] or [powershell].
So that is half of the battle.. but sometimes I will need to do the same for Linux. Yes,.. many drivers are already built into the native Linux system,.. but there are some odd cases where it is likely they are not the 'right one needed'.
And while I am looking, this is so I can come back later and find what I did to solve the matter.
-
As you know almost all drivers are a part of the kernel itself. There isn't a way to "export" them in the way that you're thinking -- at least not that I'm aware. If you installed a package that included a 3rd party hardware driver, perhaps you can just download the rpm or deb file from its repo to back it up. Some kernel modules (or groups of kernel modules) are the drivers for some hardware, and you could potentially backup those files to load later. I haven't had hardware that has required special kernel modules that would create that situation.
To be honest, if that system crashes, reinstalling your Linux distribution will be your method of getting drivers for your hardware :).