Are there restrictions on what type of computer you can use a LiveCD in? If not, how can the LiveCD know and have all the drivers for your hardware, especially if it's not connected to the internet?
feedback
|
|
You're probably thinking about this from the perspective of a Windows user / installer / admin. In the Linux / free software world, the developers frequently have to or choose to write their own drivers. As such, there aren't restrictions on distributing them (copyright), and they've already written code to figure out if the hardware is there (as above). So, all of the drivers are built into the kernel (or build-able into the kernel), often as modules. LiveCDs will include all of the modules they possibly can cram in, just so that they support a variety of hardware. A slimmed down OS installation might choose to recompile the kernel to just include the drivers / modules that that installation needs. This is also why you will sometimes find hardware without drivers in Linux. If the hardware vendor hasn't subscribed to a known standard, and hasn't developed drivers for Linux, and the hardware is hard to figure out or unpopular, it may well not have a driver. | |||
|
feedback
|
|
Each PCI device has both a vendor ID and a device ID. And each device driver (kernel module) contains a list of supported "vendor ID:device ID" pairs i.e. the OS can determine which driver to load by looking at these id pairs. E.g. on Linux you can see the IDs of the system you are using in the third column of the
Here And if you take a look at
you can see the table of device driver kernel module (first column) and supported vendor and device ID (2nd and 3rd column). The PCI device IDs are maintained in the The PCI ID Repository. | ||||
|
feedback
|
|
A typical Linux distribution provides drivers for most popular hardware devices. During the computer boot process, the LiveCD will analyze your specific hardware configuration and load all the required hardware drivers. In most cases it works quite good, but if you have a rare or very old hardware device there may be some problems. | |||
|
feedback
|
|
Same way a normal installation does. It looks at the aliases provided by the various modules, and matches them up with the current hardware.
| |||
|
feedback
|
