the "default" ( as we have in grub.conf ) option of lilo.conf ???
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.
It's been a while since I've seen LILO, however, as far as I can remember, there should be a line in lilo.conf similar to default in grub. Please see below, on this example I have a linux option to boot as default . But then again it's been a while I saw a lilo.conf file:
It's been a while since I've seen LILO, however, as far as I can remember, there should be a line in lilo.conf similar to default in grub. Please see below, on this example I have a linux option to boot as default . But then again it's been a while I saw a lilo.conf file:
default=name
Uses the specified image as the default boot image. If `default' is omitted, the image appearing first in the configuration file is used.
So in other words, you don't need a default line.
If it's not there then the first image in the list is default.
If you want to change this, then add in "default=whatever" in the global section.
Originally posted by geeman2.0 From the lilo.conf man page
Code:
default=name
Uses the specified image as the default boot image. If `default' is omitted, the image appearing first in the configuration file is used.
So in other words, you don't need a default line.
If it's not there then the first image in the list is default.
If you want to change this, then add in "default=whatever" in the global section.
Its working man !!!
I tried both the methods.
1. in the global section i added a line ....default="whatever was the name of distro in lilo.conf"
and
2. instead of adding "default" line.......i cut paste the entries for a distro and placed it at first positions.
In both ways its working......
noticed one more thing that unlike in grub.conf......default=0 or default=1 doesn't work in case of lilo.conf.
the name should be specified instead of numeric value
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.