> On 10/17/07, Robert P. J. Day <rpjday@xxxxxxxxxxxxxx> wrote: > > > > a friend asks the following question: how can you list the PCI > > support that's *built in* to a given running kernel? allegedly, he > > wants to know if it's possible to move a kernel from one system to > > another (mostly similar) system, and know that the additional HW on > > that second system will still be recognized and supported. Furthermore, due to the highly intertwined nature among drivers and kernel, it is not possible to say "copy just the PCI support modules" or something like that. It most probably will need to have exact copy of the kernel and drivers, and HW-wise, hopefully it is almost identical, even though the kernel will dynamically load the drivers as requested by the hardware environment. But if you really need to copy files without reinstalling the OS, these are the potential candidates for copying. To enumerate all the basic necessary components of the system, one can start with the /boot/initrd* file (for Fedora Core), which is a gzip cpio file - within you can find all the drivers needed before the kernel (/boot/vmlinuz*, which is a gzip ELF file) is loaded. Then under /lib/modules are where all the kernel modules in the system is located, though not necessary always (check with modprobe -l). Currently loaded modules can be listed via lsmod, and modprobe -l will list its directory location etc. And lspci will list out all the currently supported PCI devices. -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ