Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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 friends,
I started reading about Linux,started from the scratch...(Boot loader).After understanding abt GRUB and LILO, I want to know few things :
1) If i am having a dual OS system, and i find both GRUB and LILO
conf files are available, how do i confirm which one is in MBR?
2) How to view the Master boot record ?
Don't blame me for my silly questions, Please help me..........
If I wasn't sure whether GRUB or LiLo was being used I would edit GRUB's menu.lst and change the name of one of the options, then reboot to see if the menu I was offered reflected the change I had made. For example, if one of the options was
title Fedora
change it to
title Fedoraora
It won't affect anything other than what GRUB displays at the GRUB screen when you reboot. If you edit LiLo's files it won't have any effect unless you run LiLo, so don't do that.
Dear Benton,
I have done that, and found that is GRUB only, not necessarily to do like that, even we can restart the system, and then while it asks for OS to be loaded, then we can see that it is GRUB(it gives options to edit,etc...)..
but my question, without doing that modification, can we find which is in MBR, or can we read what is there in MBR?????????
One more thing is after copying into my-MBR
I have given the command strings my-MBR | grep GRUB it gave GRUB,
and also executed the command strings my-MBR|grep LILO
it did not give any LILO,
so can we confirm from this that the MBR contains GRUB.
I am able to copy into a file my_MBR , but that was not readable
Of course it's not readable. It's a binary file (actually an image of your boot sector), that's why you have to use strings to find the type of bootloader you use.
Hi please explain how can i change my MBR form GRUB to LILO. I am not having lilo.conf , so I copied lilo.conf from lilo.conf.anaconda and i also executed #lilo ..Even then GRUB is only there in my MBR , please assist me....
You should edit your lilo.conf to define your boot disk, so lilo will be written to the mbr and overwrite grub. If your boot disk is /dev/hda then use something like:
Code:
boot = /dev/hda
at the top of lilo.conf. Also running:
Code:
lilo -v
will produce more verbose output to help you understand what's happening.
Not that we normally question peoples' reasons for wanting to do a particular thing, but why do you want to change (in my mind backwards) from GRUB to LILO?
why do you want to change (in my mind backwards) from GRUB to LILO?
As i said i am new to this Linux, I wnat to experience everything, so i wanted to test how it will be with LILO , so requesting you tell how to change from GRUB to LILO.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.