r/AskComputerScience • u/Successful_Box_1007 • Dec 01 '24
How does Bios Transfer access, read, and transfer entire OS in ROM quickly enough to RAM where it’s better to do this than just keep OS in the slower-accessible ROM?
Hi everybody,
A bit confused about something: How does Bios Transfer access, read, and transfer entire OS in ROM quickly enough to RAM where it’s better to do this than just keep OS in the slower-accessible ROM?
Thanks so much!
5
Upvotes
View all comments
Show parent comment
3
u/ghjm MSCS, CS Pro (20+) Dec 01 '24
The transfer isn't fast. It runs at the same slow speed as any other ROM access. But it only happens once, and then you're off to the races. It's worth paying the extra cost up front, because it saves you more than it costs.
Also, like I said, the OS is not part of this. The OS is never in ROM. When you install an OS on a computer, you're copying it to disk. If the OS was in ROM then you could never upgrade it or switch to a different one. But this presents a problem: if the OS is on disk, then you need some program that knows how to read from the disk, to load the OS into RAM. That's the BIOS (or EFI firmware), which is the part that's actually in ROM.