Как работает ОС до установки драйверов?

233
Ephemera

Я смотрю на совместимость оборудования BSD против Linux против Windows. Один комментарий, который постоянно повторяется: «Проверьте свое оборудование перед установкой любого варианта BSD». Это также (меньшая) проблема для Linux, но, как представляется, не проблема вообще для Windows, потому что Windows с радостью будет работать на любом оборудовании.

Я понимаю, что производители оборудования в первую очередь будут писать драйверы устройств для Windows, поскольку Windows занимает подавляющее большинство доли рынка ОС. Это нормально, за исключением того, что я могу запустить новую установку Windows без установки каких-либо дисков для устройств вообще, и ОС все равно будет работать (и как только это произойдет, я затем установлю драйверы). Поэтому мой вопрос:

  • Как может ОС (в данном случае Windows) загружаться и работать без установки каких-либо драйверов устройств, и
  • Почему Linux и BSD не могут делать то же самое?
2
Windows имеет общие драйверы для устройств, которые необходимы для обеспечения основных функций. Linux и BSD могут и часто делают то же самое. Ramhound 9 лет назад 1
Как примечание, Windows не всегда работает на всех аппаратных средствах; У меня были определенные проблемы с определенными сетевыми картами. Драйверы существуют, но они не доступны через Microsoft. Некоторые аппаратные RAID также могут вызвать проблемы. ArmanX 9 лет назад 0
Попробуйте запустить старое оборудование на 64-разрядных версиях Windows и посмотрите, что произойдет. David Schwartz 9 лет назад 0

2 ответа на вопрос

1
Alex

Modern Windows versions (e.g. Win 7 and newer) can boot and run (as in, reach the Windows Desktop without crashing) because Microsoft included drivers for the most common hardware in the installation disc, and they were installed when Windows was installed. These included drivers get you to the desktop and Internet access, so you can get things done.

This is also true for many modern Linux distributions (so yes, they can do the same thing -- get you to desktop and Internet right out of box). However, for both Windows and other OS alike, not all hardware functions will work, especially for new and uncommon hardware, until you install the manufacturer-provided drivers from CD or Internet.

1
JakeGould

Linux and BSD have kernel support for an incredible range of hardware right out the gate. The big difference is if a hardware manufacturer creates a main board that uses new chipsets that Linux/BSD developers don’t have access to right away, then support will be limited. In general Windows developers will be seeded new hardware as part of the standard Windows certification program. Not so much with Linux developers.

But all this usually means is support for some features won’t immediately appear in a Linux install if you are using bleeding edge hardware. Given time, new hardware gets supported and adopted with ease by the Linux/BSD world.

The only caveat: From my experience Linux/BSD support of hardware is based on server needs. Meaning graphic drivers lag behind, but the rest of the core system is solid. It’s because Linux/BSD is readily adopted by the server world more-so than the desktop world. Ditto with non-standard mouse functions. Generally you can just plug in any mouse into a Linux/BSD setup and it will work as a basic mouse. But if it is multi-button or has non-standard features, chances are high those features will not work unless drivers are written explicitly for them.

One place that this stuff does get seriously snagged is manufacturer closed source onboard RAID setups such as those from HP. In cases like that, it’s best to just get a supported RAID card add-on and not worry about the “bonus” of onboard RAID for a server that would usually only be able to handle RAID 0 or RAID 1 anyway. Those RAID setups are not anything to write home about from an enterprise server environment perspective and an add-on card is a better bet for long term support from the vendor and the Linux community as well.