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.
Hi,
This is a general question. I know that we can set boot order in BIOS setting and the system boots up according to that. But recently I have come across the term "secondary boot order"? What I gathered so far is that using secondary storage device for booting. Is my understanding correct? Also please elaborate. Thanks in advance.
This certainly won't help you. It depends on where you found the term.
In your bios, you set up the devices you want to boot from in order. Second & subsequent options are the secondary boot order
In bootloader literature, in can mean your other configured boot options in the boot loader
In other places, It can mean anything you boot off except the primary hard disk.
Give it to Groucho Marx, and I am sure he could add a twist to it
(1st Stage Bootloader) Primary bootloader generally means "MBR" while Secondary Bootloader(2nd Stage Bootloader) means "GRUB or LILO" which lets you to select Operating system.
Also,we have 1.5 stage bootloader which I let you to explore for homework
Most simply, a boot loader loads the operating system. When your machine loads its operating system, the BIOS reads the first 512 bytes of your bootable media (which is known as the master boot record, or MBR). You can store the boot record of only one operating system in a single MBR, so a problem becomes apparent when you require multiple operating systems. Hence the need for more flexible boot loaders.
The master boot record itself holds two things -- either some of or all of the boot loader program and the partition table (which holds information regarding how the rest of the media is split up into partitions). When the BIOS loads, it looks for data stored in the first sector of the hard drive, the MBR; using the data stored in the MBR, the BIOS activates the boot loader.
Due to the very small amount of data the BIOS can access, most boot loaders load in two stages. In the first stage of the boot, the BIOS loads a part of the boot loader known as the initial program loader, or IPL. The IPL interrogates the partition table and subsequently is able to load data wherever it may exist on the various media. This action is used initially to locate the second stage boot loader, which holds the remainder of the loader.
The second stage boot loader is the real meat of the boot loader; many consider it the only real part of the boot loader. This contains the more disk-intensive parts of the loader, such as user interfaces and kernel loaders. These user interfaces can range from a simple command line to the all-singing, all-dancing GUIs.
Boot loaders are usually configured in one of two ways: either as a primary boot loader or as a secondary boot loader. Primary boot loaders are where the first stage of the boot loader is installed on the MBR (per the previous description). Secondary boot loaders are where the first stage of the boot loader is installed onto a bootable partition. A separate boot loader must then be installed into the MBR and configured to pass control to the secondary boot loader.
Quote:
Originally Posted by ajeetsinghraina
(1st Stage Bootloader) Primary bootloader generally means "MBR" while Secondary Bootloader(2nd Stage Bootloader) means "GRUB or LILO" which lets you to select Operating system.
Also,we have 1.5 stage bootloader which I let you to explore for homework
If you look at the above explanation for boot loader then your definition is not quite right. Either 'Lilo' or 'Grub' could have a bootloader at the 'MBR' with a secondary on the partition of choice. Of course the BIOS does recognize the hardware initially but the passing to the 'IPL' on the 'MBR' is the general means we use today to initialize our systems.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.