Anatomy of the Linux Boot Process
Donna writes "This article discusses detailed similarities and differences involved in booting Linux on an x86-based platform (typically a PC-compatible SBC) and a custom embedded platform based around PowerPC, ARM, and others. It discusses suggested hardware and software designs and highlights the tradeoffs of each. It also describes important design pitfalls and best practices."
Originally posted on the debian-devel list: http://lists.debian.org/debian-devel/2004/11/msg00 547.html
I really hate to nit-pick, but any editor should have caught that the arrows in the flow chart point the wrong way.
Anyway, I've often wondered why the OS insists on redetecting hardware when BIOS does it for me already. I've heard that the LinuxBios actually does away with the hardware detect phase; leaving it solely to the kernel.
If the most popular OSes out there are taking care of HW at the high level, why haven't BIOS makers taken advantage of this to reduce their workload?
I'd rather you do it wrong, than for me to have to do it at all.
Like, you know, a monolithic kernel?
Now I understand the boot process much better, I always have started at the boot up process and wonder what the hell is Linux doing to my computer, eh, I guess I understand now better in how it boots, I want to see a comparsion between Linux and Windows... newb linux user here loves it but hates ATI support.
May
Someone in my networking class in High School hotplugged a NIC once. Neither the nics, or the mainboard supported it. It also had windows 98.
It did't die. It actually detected it, installed the drivers, and the link went up. The old drivers simply threw up an "im not working" error in the device manager.
The article makes an interesting read (although the server is getting slow already), but it seems a bit short on commentary. I'm no expert on the low-level systems of Linux, so the bare facts are quite interesting, but I would have been more interested to read a comparison of the merits of the different systems.
My impression, from the article, is that x86 versions of Linux are carrying quite a lot of legacy (from DOS et al). Does this mean that Linux on other architectures is "better" in any sense? I don't know, but I'd be interested if someone can inform.
apterous.org
i've noticed on SuSE that it now comes with a boot splash screen (a la Windows loading...). I know that's (somewhat) easily turned off, but really, I don't want my linux to be all fisher-price pretty. give me the rough and unadulterated command lines that are run when it boots up...make it look cool, make it intimidating, give it that matrix-esque feel...make it scare off all the n00bs that think they know everything.
This sig contains repetition and redundancy.
Mandrake 10.1 doesn't have verbose as default. It has a boring little progress bar. However, I prefer verbose mode gives me something to read while my computer is booting.
99 bottles of beer in 175 characte
unsuccessfully tried hotswapping an AGP video card once... I spent the rest of the day looking up motherboard, ram, and video card prices online
Ah, it's not for softies, but hot-swapping a peripheral card has been done.
A couple of other posts refer to this indirectly.
Bootchart is actually some of the coolest use of graphical display of data I have seen in a while:
bootchart
Some of the Solaris 10 guys even used it to improve the boot process on new releases of Solaris 10.
The latest updates (as of a few days ago) continued to streamline the system.
While you're right about the difference, the truth is: when you boot a PC, 99.99% of the time the hardware is identical to what it was the last time.
So it should be possible to store an HW description into a small flash and boot *fast*, without having to discover hardware, and if the user want to add new critical "cold-plug" hardware (such as boot disk), he would just have to hit Del at the boot, and then a HW discover would be made..