LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   lilo (https://www.linuxquestions.org/questions/slackware-14/lilo-34439/)

nautilus_1987 11-02-2002 03:50 PM

lilo
 
Hi
Maybe I repeating.....sorry in advance :)
I an not going to compile my kernel in soon time, so practically I won't need LILO booting every time. I wan to close it:
Can I do it commenting 'prompt' line in lilo.conf and setting timeout=1 (if I'll need that)?
ideas?

acid_kewpie 11-02-2002 04:10 PM

what do you mean "every time"?? just leave it there, it's always useful incase something goes wrong. wether you are going to compile a kernel or not is pretty irrelevant.

nautilus_1987 11-02-2002 04:27 PM

Acid I just want to hide LILO for a some weeks. How can I do it?

acid_kewpie 11-02-2002 04:37 PM

hide? well set the timeout to zero then... or change the boot message to be text, it'll at least look a lot more subtle. but like i said, you should *always* be able to get into lilo in case of problems

nautilus_1987 11-02-2002 04:45 PM

I am wondering if commenting 'prompt' line will help?

acid_kewpie 11-02-2002 04:50 PM

tried reading the manpage??

nautilus_1987 11-02-2002 05:23 PM

Right now once again I have read the man........You mean I can comment 'prompt' or 'timeout'?

acid_kewpie 11-02-2002 05:25 PM

look, the manpage says that without prompt it will instantly boot to the default. but that is a pretty dumb thing to do, especially for a newbie like yourself.

lopezjo49 11-02-2002 05:27 PM

man lilo.conf

/delay

delay=tsecs
Specifies the number of tenths of a second the boot loader should wait before booting the first image. This is useful on systems that immediately boot from the hard disk after enabling the keyboard. The boot loader doesn't wait if `delay' is omitted or is set to zero.

suggest you make a boot disk for future

nautilus_1987 11-02-2002 05:42 PM

I think you cannot get my idea.......anyway thnx

acid_kewpie 11-02-2002 05:46 PM

the idea that you want to lock yourself out of your system...? ;)

nautilus_1987 11-03-2002 03:13 AM

uhhhhhh....
Ok here it is:
If you ever seen winbloze it starts automatically after BIOS initializes all hardware, blahblah (I think you know this routine) So I want Linux to start the same way.....

moses 11-03-2002 04:49 AM

edit your /etc/lilo.conf file and comment out any reference to a delay,
prompt, or timeout, and when you are done with that, run /sbin/lilo

from the man page:
(man lilo.conf)
Code:

.
.
.
delay=<tsecs>
              Specifies the number of tenths of a second the boot
              loader should wait before automatically  booting  a
              locked  command  line, a command line pre-stored by
              "lilo -R", or the  default  `image='  or  `other='.
              When `delay' is non-zero, the boot loader will wait
              for an interrupt for the specified interval. If  an
              interrupt  is  received, or is already waiting, the
              boot: prompt will be be issued,  and  no  automatic
              boot  will  take place. The setting of CAPS LOCK or
              SCROLL LOCK, or any  of  the  keys  ALT,  CTRL,  or
              SHIFT, when held down, are taken as interrupts.

              This action is modified by specifying `prompt' (see
              below).
.
.
.
      prompt Automatic booting (see `delay' above) will not take
              place unless a locked  or  pre-stored  ("lilo  -R")
              command  line  is present. Instead, the boot loader
              will issue the boot: prompt and wait for user input
              before  proceeding (see timeout below).  Unattended
              default image reboots are impossible if `prompt' is
              set  and  `timeout' is not, or the default image is
              password  protected  at  a  higher  level  than
              `restricted'.
.
.
.
      timeout=<tsecs>
              sets a timeout (in tenths of a second) for keyboard
              input  at  the  boot:  prompt.  "timeout" only has
              meaning if "prompt" is mentioned.  If  no  key  is
              pressed  for  the specified time, the default image
              is automatically booted.  The  default  timeout  is
              infinite.


nautilus_1987 11-03-2002 05:17 AM

Yes that's the thing I wanted to hear to make sure I am right...thnx Moses and everyone else

jtshaw 11-04-2002 10:46 AM

Just so you know, Windows doesn't just boot immediatly after bios, it goes through it's own boot loader but covers it with a graphic. A good idea is probably to cover yours with a graphic (like you said you wanted to in a previous post). Get ride of prompt, and make a short delay (but not 0). That way if you do have a problem you can hit tab and boot off another kernel if you wish.

As was said before, it is very dangerous to not leave yourself any way of getting into lilo and doing something manually.....

John


All times are GMT -5. The time now is 11:19 PM.