LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-18-2004, 11:19 AM   #1
daceo
LQ Newbie
 
Registered: Jun 2003
Location: cambridge uk
Distribution: slackware 9.0
Posts: 25

Rep: Reputation: 15
little lilo slack 9.1start pause question


my problem is this: I am making my slack box in to a server, with no monitor or keyboard, and it works very well, apart from the 2 minute pause in the lilo. I first tried to pyt the timeout to 20, but this made no difference, and next i tried adding the delay 20, and that didin't change anything either...

here are the salient points of my lilo.conf which lives in /etc. I can't remembre if the lilo is in my mbr, but it probably is.

boot = /dev/hda
delay = 20
message = /boot/boot_message.txt
prompt
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# Normal VGA console
vga = normal
image = /boot/vmlinuz
root = /dev/hda2
label = Linux
read-only

any help would be apriciated

cheers
 
Old 02-18-2004, 11:27 AM   #2
subekk0
Member
 
Registered: Sep 2003
Location: Dallas, TX.
Distribution: Slacking since '94
Posts: 153

Rep: Reputation: 32
Not sure what you are asking... but if you want to remove the delay then remove the:
"prompt" and "timeout = 1200" and "delay = 20"

-------------------------------------------------------------
#sample
# lilo.conf custom for ntlab machine 0
# global options
boot=/dev/hda
lba32
vga=normal
root=/dev/hda5
read-only
image=/boot/vmlinuz
label=ntlab-0
# end global
# end lilo.conf
 
Old 02-18-2004, 11:32 AM   #3
masterJ
Member
 
Registered: Jun 2003
Location: London
Distribution: Debian Sarge & Slack 10.0
Posts: 52

Rep: Reputation: 15
Think it's the timeout value you want to change, but remember it's in tenths of a second (eg 100=10sec).

Are you remembering to run /sbin/lilo as root to commit the changes?
 
Old 02-18-2004, 11:53 AM   #4
daceo
LQ Newbie
 
Registered: Jun 2003
Location: cambridge uk
Distribution: slackware 9.0
Posts: 25

Original Poster
Rep: Reputation: 15
hi again

my lilo .conf looks like this now, and it still pauses for 2 minutes, (at the boot loader screen that says "hit any key to continue" but I can't with no keyboard!).

masterj, i don't think I know what you mean about the "run /sbin/lilo as root", but it sound like it might be important. I am accessing the machine by slogon as root through my network from this machine



# Start LILO global section
boot = /dev/hda
#delay = 20
#message = /boot/boot_message.txt
#prompt
#timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# Normal VGA console
vga = normal

# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda2
label = Linux
read-only
 
Old 02-18-2004, 12:00 PM   #5
Phathead
Member
 
Registered: Sep 2003
Distribution: Slackware 10.1, Slamd64 10.1, IpCop 1.4
Posts: 125

Rep: Reputation: 15
Quote:
Originally posted by daceo
#timeout = 1200
Remove the # in front of timeout and change the value to something small like 20 (2 second wait). This line controls that pause for lilo. As mentioned, it's in tenths of a second, so divide by 10 to get the number of seconds.

It should look something like this:
Code:
timeout = 20
After you make that change, run "lilo" when you're logged in as root. (The full path is /sbin/lilo, but if you're logged in as root, /sbin is in your path)

I'm pretty sure there's a way to make lilo not pause at all, but I've never done that, so if you want essentially no pause, you could make timeout = 1.

If this does not work, repost your edited /etc/lilo.conf and the output of running lilo as root.

Last edited by Phathead; 02-18-2004 at 12:01 PM.
 
Old 02-18-2004, 12:19 PM   #6
subekk0
Member
 
Registered: Sep 2003
Location: Dallas, TX.
Distribution: Slacking since '94
Posts: 153

Rep: Reputation: 32
uhh. the lilo.conf that I posted will allow you to straight-boot into Slackware.

daceo,
After you make your modification to lilo.conf run the following command

lilo

It will then say something like "MACHINE * added"

Then reboot.
 
Old 02-18-2004, 12:24 PM   #7
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
daceo, you have to run /sbin/lilo after you make any change to /etc/lilo.conf for the changes to have any effect.

I use /sbin/lilo -v
to see what is going on.
 
Old 02-18-2004, 12:43 PM   #8
daceo
LQ Newbie
 
Registered: Jun 2003
Location: cambridge uk
Distribution: slackware 9.0
Posts: 25

Original Poster
Rep: Reputation: 15
wow, gosh etc, I entered

root@serviette:/etc# /sbin/lilo
Added Linux *

and now it comes up straight away.... with no pause! which is ok

so if i understand corectly you have to run lilo as root to put in to effect changes to the lilo.conf.

the lilo conf looks like this:

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
#delay = 20
#message = /boot/boot_message.txt
#prompt
timeout = 20
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# Normal VGA console
vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda2
label = Linux
read-only
# Linux bootable partition config ends

thanks very much for your help
 
Old 02-18-2004, 02:22 PM   #9
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
Quote:
Originally posted by daceo

so if i understand corectly you have to run lilo as root to put in to effect changes to the lilo.conf.
Yes, any changes you make will not take effect until you run /sbin/lilo as root.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slack 10.1 Lilo problems KeithKessler Slackware 7 11-26-2005 03:26 PM
Slack Newbie: lilo Help pibby Slackware - Installation 10 01-31-2004 11:03 AM
installing slack on new hard disk, lilo question fobius Slackware 10 01-19-2004 07:09 PM
RH & HP4050N PCL - page, pause, page, pause, page andguent Linux - Hardware 0 11-10-2003 08:35 AM
Instaling LILO of Slack 9.0 ACJunior Slackware 8 07-20-2003 12:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration