/lib directory contains shared libraries needed by the programs on the root filesystem

directory

description

/lib/modules

  • loadable kernel modules, especially those that are needed to boot the system when recovering from disasters (e.g. network and filesystem drivers)