LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-30-2010, 01:32 PM   #1
kapz
Member
 
Registered: Mar 2009
Location: kernel space
Distribution: Slackware_x64
Posts: 191

Rep: Reputation: 16
Zap!!! boot slackware , how can I do it?


Alright guys I used slack on my system for a while(when it was new) then used openSuse 11.3..slack used to boot in 65 secs while opensuse in 32 secs! that to with login sound!!(KDE 4.4.4 SC)

Now am back on slack..how can I achieve that kind of speed with default + vbox modules installed?

OPensuse boots into KDE with login sound ~32 secs...

while slack boots in kde with login sounf ~42 secs(I have followed after http://www.linuxquestions.org/questi...t-time-820654/

can I reduce those those extra 10 secs that opensuse cuts by default?

Thanks

Last edited by kapz; 12-08-2010 at 09:02 PM. Reason: Iuuse resolved.
 
Old 11-30-2010, 02:00 PM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
The first thing would be to uncomment/add the line 'compact' at the top of /etc/lilo.conf
Then run 'lilo'

Also check this thread
http://www.linuxquestions.org/questi...t-time-820654/

In the past I tried some of the solutions above and it really made it quicker.

Last edited by sycamorex; 11-30-2010 at 02:02 PM.
 
Old 11-30-2010, 02:05 PM   #3
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Are you using the generic kernel + initrd and lilo compact ? If so, that's about as fast as it will get, or ...

You may be able to squeeze out some more seconds by using something like dash:
http://www.linuxquestions.org/questi...13-0-a-778084/

However, be careful, because you can mess things up.
 
Old 11-30-2010, 02:06 PM   #4
kapz
Member
 
Registered: Mar 2009
Location: kernel space
Distribution: Slackware_x64
Posts: 191

Original Poster
Rep: Reputation: 16
Quote:
The first thing would be to uncomment/add the line 'compact' at the top of /etc/lilo.conf
Then run 'lilo'
How? I don't see any such line commented out(or existing) in default lilo.conf in slackware 13.1 x64?

Thnx
 
Old 11-30-2010, 02:07 PM   #5
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Quote:
Originally Posted by kapz View Post
How? I don't see any such line commented out(or existing) in default lilo.conf in slackware 13.1 x64?

Thnx
Just add it. This is the top of my lilo.conf
Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
# Append any additional kernel parameters:
append=" vt.default_utf8=0"
boot = /dev/sda
compact
# Boot BMP Image.
# Bitmap in BMP format: 640x480x8
  bitmap = /boot/slack.bmp
# Menu colors (foreground, background, shadow, highlighted
# foreground, highlighted background, highlighted shadow):
  bmp-colors = 255,0,255,0,255,0
# Location of the option table: location x, location y, number of
# columns, lines per column (max 15), "spill" (this is how many
# entries must be in the first column before the next begins to
# be used.  We don't specify it here, as there's just one column.
  bmp-table = 60,6,1,16
# Timer location x, timer location y, foreground color,
# background color, shadow color.
  bmp-timer = 65,27,0,255
 
Old 11-30-2010, 02:16 PM   #6
kapz
Member
 
Registered: Mar 2009
Location: kernel space
Distribution: Slackware_x64
Posts: 191

Original Poster
Rep: Reputation: 16
Quote:
Are you using the generic kernel + initrd and lilo compact ? If so, that's about as fast as it will get
H_TeXMeX_H : yes I am using generic kernel + initrd. But not lilo compact..

Okay now I have add compact like this:

Quote:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
# Append any additional kernel parameters:
append=" vt.default_utf8=1=0 quiet"
boot = /dev/sda
compact
# Boot BMP Image.
# Bitmap in BMP format: 640x480x8
bitmap = /boot/slack.bmp
# Menu colors (foreground, background, shadow, highlighted
# foreground, highlighted background, highlighted shadow):
# bmp-colors = 14,0,15,0,14,0
# Location of the option table: location x, location y, number of
but it has'nt changed boot time a bit..
 
Old 11-30-2010, 02:17 PM   #7
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Quote:
but it has'nt changed boot time a bit..
As root run 'lilo' to implement the changes.
 
Old 11-30-2010, 02:20 PM   #8
kapz
Member
 
Registered: Mar 2009
Location: kernel space
Distribution: Slackware_x64
Posts: 191

Original Poster
Rep: Reputation: 16
oh, sorry but I did run lilo as root after the above changes...
 
Old 11-30-2010, 02:26 PM   #9
kapz
Member
 
Registered: Mar 2009
Location: kernel space
Distribution: Slackware_x64
Posts: 191

Original Poster
Rep: Reputation: 16
my lilo.conf looks like this:
Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
# Append any additional kernel parameters:
append=" vt.default_utf8=1=0 quiet"
boot = /dev/sda
compact
# Boot BMP Image.
# Bitmap in BMP format: 640x480x8
  bitmap = /boot/slack.bmp
# Menu colors (foreground, background, shadow, highlighted
# foreground, highlighted background, highlighted shadow):
# bmp-colors = 14,0,15,0,14,0
# Location of the option table: location x, location y, number of
# columns, lines per column (max 15), "spill" (this is how many
# entries must be in the first column before the next begins to
# be used.  We don't specify it here, as there's just one column.
  bmp-table = 60,6,1,16
# Timer location x, timer location y, foreground color,
# background color, shadow color.
  bmp-timer = 1,1,1,1
#65,27,0,255 - original bmp-timer colour

# Standard menu.
# Or, you can comment out the bitmap menu above and 
# use a boot message with the standard menu:
#message = /boot/boot_message.txt

# Wait until the timeout to boot (if commented out, boot the
# first entry immediately):
prompt
# Timeout before the first entry boots.
# This is given in tenths of a second, so 600 for every minute:
timeout = 30
# Override dangerous defaults that rewrite the partition table:
change-rules
  reset
# VESA framebuffer console @ 1024x768x256
vga = 791
# 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


image = /boot/vmlinuz-generic-2.6.33.4
  initrd = /boot/initrd.gz
  label = Slackware
  read-only

Last edited by kapz; 12-01-2010 at 04:16 AM.
 
Old 11-30-2010, 02:26 PM   #10
brixtoncalling
Member
 
Registered: Jul 2008
Location: British Columbia
Distribution: Slackware current
Posts: 403

Rep: Reputation: 67
You can add "&" to the end of some lines in /etc/rc.d/rc.M (such as the line which updates the font cache) though the benefits will probably be quite limited.
 
Old 11-30-2010, 05:28 PM   #11
P42
LQ Newbie
 
Registered: Aug 2010
Location: Germany
Distribution: Slackware
Posts: 16

Rep: Reputation: 0
there was this bootup analyzation software that checked dependencies on the init tasks and made them execute more parallely. i don't remember the name or if it only worked on a particular distro or init-style though...
 
Old 11-30-2010, 05:42 PM   #12
brixtoncalling
Member
 
Registered: Jul 2008
Location: British Columbia
Distribution: Slackware current
Posts: 403

Rep: Reputation: 67
Quote:
Originally Posted by P42 View Post
there was this bootup analyzation software that checked dependencies on the init tasks and made them execute more parallely. i don't remember the name or if it only worked on a particular distro or init-style though...
Ubuntu uses upstart to do something like that. Apparently it is quite fast.
 
Old 11-30-2010, 06:56 PM   #13
chytraeus
Member
 
Registered: Dec 2008
Distribution: slackware64 openbsd
Posts: 105

Rep: Reputation: 11
A custom kernel can speed things up by eliminating loading modules and/or things you don't need.
 
Old 11-30-2010, 08:54 PM   #14
bonixavier
Member
 
Registered: Sep 2010
Distribution: Slackware
Posts: 320

Rep: Reputation: 69
Quote:
Originally Posted by H_TeXMeX_H View Post
Are you using the generic kernel + initrd and lilo compact ?
What difference would changing from huge to the generic bring in terms of speed?
 
Old 11-30-2010, 09:07 PM   #15
brixtoncalling
Member
 
Registered: Jul 2008
Location: British Columbia
Distribution: Slackware current
Posts: 403

Rep: Reputation: 67
Quote:
Originally Posted by bonixavier View Post
What difference would changing from huge to the generic bring in terms of speed?
The huge kernel has modules built in that are not normally needed but are included for maximum compatibility with hardware. The generic kernel is much smaller and loads modules only as necessary.
 
1 members found this post helpful.
  


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
DVB-T usb stick, ZAP/SV-3420D not working THOR_Fedora Linux - Hardware 5 08-19-2009 09:25 AM
Get Zap usb dvb-t to work in ubuntu sirnose Linux - Newbie 4 05-15-2009 11:48 AM
Lightning zap=stupid boot-up behavior southsibling Linux - Hardware 5 08-19-2007 02:47 PM
About Slackware 9.1 boot disk?? ftp://ftp.kpn.be/pub/linux/slackware/slackware-9.1-is AL3OMDAH Slackware 4 04-18-2007 09:54 AM

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

All times are GMT -5. The time now is 05:41 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