LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   grub or lilo bootloader selection during boot (https://www.linuxquestions.org/questions/linux-newbie-8/grub-or-lilo-bootloader-selection-during-boot-326850/)

pcandpc 05-25-2005 01:37 AM

grub or lilo bootloader selection during boot
 
Hello?

Can I select either a GRUB or LILO bootloader during a boot?

Thanks.

makuyl 05-25-2005 01:58 AM

Erm,... yes.
Seriously, I have no idea of what you're talking about. During boot of what? Which distro? Are you about to install?

syg00 05-25-2005 02:08 AM

Strictly speaking, No.

Whatever is in the code section of the MBR of the boot disk gets invoked by the BIOS.
You don't get any choice.
Once it presents the menu you can elect to chainload another loader.
People who choose to use XP to load Linux, or vice versa do this all the time.

pcandpc 05-25-2005 12:10 PM

Hi makuyl and syg00,

Thanks for your quick tips, great!

Makuyl,
What I meant was to know if I can choose either a GRUB or a LILO
during the system boot, not selecting which distros to boot.

I'm more interested in syg00's idea. So, I can "chainload" other Linux
boot loader? For instance, I start out GRUB in the MBR and chain load
LILO as a boot option?

Syg00,
Can you give me a more specific example such as the "menu.lst" file
that lists GRUB/LILO as a boot option? Also, instead of chain loading,
is there a way I can boot to either GRUB or LILO during the MBR boot?

Regards,

makuyl 05-25-2005 12:52 PM

You don't need to chainload between lilo and grub. You pick which one you want to use and install it to the MBR. menu.lst is grubs config and lilo.conf is lilos config. You can add as many distros and kernels and windows in them as you like, then at the splash screen you pick which OS and kernel to boot.
Have a look at this: http://en.wikipedia.org/wiki/Boot_loader#Boot_loader

pcandpc 05-25-2005 03:25 PM

Hi makuyl,

Thanks for your comment. I'll have a look at your link more carefully.

So, it appears I can only place either GRUB or LILO in the MBR, but
not both and have an option to choose either one or the other during
the MBR boot process.

Regards,

makuyl 05-25-2005 03:59 PM

Quote:

Originally posted by pcandpc
So, it appears I can only place either GRUB or LILO in the MBR, but
not both

Correct. There are other bootloaders as well, but I think for now it's best to stick with those two that are most common way of booting linux.

Quote:

and have an option to choose either one or the other during
the MBR boot process.

Hopefully correct. That is, you get the one that you installed to the MBR.
Read from the link this part at least: Boot sequence on standard PC (IBM-PC compatible)

pcandpc 05-25-2005 04:38 PM

Hi makuyl,

Great! And, thanks for the Wikipedia link info.

Regards,


All times are GMT -5. The time now is 05:11 AM.