Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello, I'm learning linux, I'm at the beginning of this adventure. A bios and then a boot loader is used to switch the computer on then the Ernal takes over my question is why cant the kernel do the bios and boot loaders job
Looks and sounds like homework.
Suggest you research BIOS and boot loader (and kernel). Not really a Linux question.. After all, Windows has a kernel, too.
Wikipedia has useful articles.
why cant the kernel do the bios and boot loaders job
Sounds like something to put in a search engine.
Without being an expert in these things, something similar is happening on ARM devices. That's the reason why their operating systems are not portable; each one must be tailored to specific hardware.
Also read up on the history of the PC architecture (IBM PC compatible).
Something has to start the boot process! That's why it's called booting: somehow the computer has to "pull itself up by its own bootlaces".
When you switch your computer on, the Linux kernel is just a file on disk. It will never get loaded and run unless there is something around that doesn't need to be loaded.
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,672
Rep:
Quote:
A bios and then a boot loader is used to switch the computer on...
Er, not quite. Check out this description of Bootstrapping
I remember back on the good old days of DEC PDP11 computers having to toggle in a bootstrap program of several commands via toggle switches on the front panel to get the paper tape reader to load in the Absolute loader to access a 2.5Mb (Yup! Megabyte!) RK05 disk cartridge which gave me access to the diagnostics (or a huge fan-fold of paper tape diagnostics! Fun! Used to have to splice them back together of they tore. <sigh>)
You young whipper snappers who have everything held in ROM, PROM, Non volatile memory, etc, are spoiled rotten!
My
Play Bonny!
Last edited by Soadyheid; 05-21-2020 at 07:28 PM.
Reason: Wrong disk type and capacity. My memory isn't so good now!
I remember back on the good old days of DEC PDP11 computers having to toggle in a bootstrap program of several commands via toggle switches on the front panel to get the paper tape reader to load in the Absolute loader to access a 5Mb (Yup! Megabyte!) RK03 disk cartridge which gave me access to the diagnostics (or a huge fan-fold of paper tape diagnostics! Fun! Used to have to splice them back together of they tore. <sigh>)
What a luxury!
Our RK06 disk was only 2.5 MB (4880 blocks of 512 byes) and we did later create our own bootstrap loader in hardware for that 11/10 PDP (32 KB CORE Memory)- a whopping 37 16-words were available for that!
It was in fact a card with 37X 16 resistors, meaning a "1", you had to cutout those you wanted to be a "0"
So we worked it out complete in assembler first and then cut the right ones out. Was quite a lot better better then having to switch in the whole bootstrap sequence through the front switches, we now only had to set the start address there.
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,672
Rep:
@ehartman
Quote:
Our RK06 disk was only 2.5 MB
I thought the RK06 was 14Mb, RK07 double that at 28Mb (I managed to get my disk type and size wrong above; RK05 not RK03 - Typo, plus 2.5Mb not 5Mb) Doh! Core memory was great, you could load diagnostics into core memory on your test system, drive to the customer's site and install the core then run the diagnostics in situ!
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,800
Rep:
Quote:
Originally Posted by Soadyheid
Er, not quite. Check out this description of Bootstrapping
I remember back on the good old days of DEC PDP11 computers having to toggle in a bootstrap program of several commands via toggle switches on the front panel to get the paper tape reader to load in the Absolute loader to access a 2.5Mb (Yup! Megabyte!) RK05 disk cartridge which gave me access to the diagnostics (or a huge fan-fold of paper tape diagnostics! Fun! Used to have to splice them back together of they tore. <sigh>)
You young whipper snappers who have everything held in ROM, PROM, Non volatile memory, etc, are spoiled rotten!
My
Play Bonny!
I recall having to talk a co-worker through toggling in the bootstrap loader on an 11/34a halfway across the country over the phone after a boot floppy was damaged by a magnetized screwdriver just so he could restore the boot sector of the RL02 disk holding the RT-11 OS... and make a new boot floppy. (Fortunately, it had the programmer's front panel; not all 11s did. Without that we would have been sunk and I'd have been on the next flight with boot media.) On another occasion, I got to toggle in the bootstrap for an RM03 disk to run XXDP+ diagnostics on an 11/70 after moving it and putting is all back together at another site.
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,672
Rep:
Sorry for derailing this thread and turning it into a "Fond memories of DEC PDP11s and how they boot." Lets not even think about VAX 11/780s and the LSI 11 console subsystem which I always thought of as as effectively the VAX "starter motor" Oh! Too late, I DID think of it.
I'm sure this post has now completely confused the OP and has imparted no useful information whatsoever to him/her.
@Skeletor2312
Welcome to Linux Questions by the way, I hope you're not regretting joining this merry band of reprobates!
Surely the point is that mainframes and minicomputers didn't have or need a bios because they were intended to run for weeks, and be rebooted only occasionally by people who knew what they were doing. The first PCs were designed to be booted every day by people who were not professional machine operators, so they really needed to be self-starting. Hence the point of having a tiny program on a chip of ROM that would be loaded and run automatically when someone switched the computer on.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.