LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 08-04-2016, 12:58 AM   #1
sinar.kk
Member
 
Registered: Nov 2015
Location: Cochin , Kerala , India
Distribution: Slackware
Posts: 80

Rep: Reputation: Disabled
pacman trap in booting takes too much time , compact command on lilo.conf not effective


My machine runs on AMD Quad Core 64 bit processor with 4 GB ram , slackware 14.2 linux loading pacman trap (..........) takes more than 20 seconds , i have tried the compact option in lilo.conf and it was not effective , is there any other method to avoid this ? I also tried hdparm -d1 /dev/sda5 (sda5 is my root partition) but its was showing error such as incorrect ioctl etc. It could be helpful if anyone could suggest me away , post the linux loading i have compacted every services so it loads faster.

I saw another thread here similar to mine , but their problem was solved by adding compact in lilo.conf , not mine
 
Old 08-04-2016, 01:17 AM   #2
moesasji
Member
 
Registered: May 2008
Distribution: Slackware Current / OpenBSD
Posts: 322

Rep: Reputation: 104Reputation: 104
Just to be sure: when you changed to the compact mode in lilo.conf. Did you remember to update lilo using something like: "lilo -v"?
 
1 members found this post helpful.
Old 08-04-2016, 01:20 AM   #3
sinar.kk
Member
 
Registered: Nov 2015
Location: Cochin , Kerala , India
Distribution: Slackware
Posts: 80

Original Poster
Rep: Reputation: Disabled
@moesasji , No , i did'nt see it mentioned anywhere , is that the full command to execute? i mean just "lilo -v" ?
 
Old 08-04-2016, 02:00 AM   #4
moesasji
Member
 
Registered: May 2008
Distribution: Slackware Current / OpenBSD
Posts: 322

Rep: Reputation: 104Reputation: 104
Yes, just typing in "lilo -v" as root is all that is needed. A bit more background explanation can be found in the slackbook under lilo, see: http://docs.slackware.com/slackbook:booting
 
1 members found this post helpful.
Old 08-04-2016, 02:20 AM   #5
sinar.kk
Member
 
Registered: Nov 2015
Location: Cochin , Kerala , India
Distribution: Slackware
Posts: 80

Original Poster
Rep: Reputation: Disabled
Thank you @moesasji , currently i am not in my machine , once i get back to my machine i will test and will let you know , if it works then i will mark this thread as solved , but my only doubt is that in the lilo conf file on the compact line it is commented that it does not work on all machine , so let me try my luck :-)
 
Old 08-04-2016, 05:08 AM   #6
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by sinar.kk View Post
Thank you @moesasji , currently i am not in my machine , once i get back to my machine i will test and will let you know , if it works then i will mark this thread as solved , but my only doubt is that in the lilo conf file on the compact line it is commented that it does not work on all machine , so let me try my luck :-)
When you edit your /etc/lilo.conf then you must run the command "lilo" to write the changed configuration to the boot block of your harddisk. The "lilo -v" command suggested above is just a more verbose version of the command "lilo".

In this regard, LILO is different from GRUB. If you modify the grub configuration file then GRUB will read that file when your computer boots because GRUB has built-in support for several fileystems (and therefore knows where to find the configuration file). LILO on the other hand, does not know about filesystems at all and only keeps a list of pointers into your storage device where it finds the configuration information, the kernel, the initrd etc. That is why you have to run "lilo" after modifying its configuration, so that lilo can store this information in the boot block.
 
1 members found this post helpful.
Old 08-04-2016, 07:44 AM   #7
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by sinar.kk View Post
but my only doubt is that in the lilo conf file on the compact line it is commented that it does not work on all machine
I think this is just Pat playing it safe. All computers should work with having compact commented out, but if some computers can't boot with compact enabled, then it is pretty serious.

But in my 10+ years using Slackware, I haven't had a computer that doesn't work with compact. I'd imagine it is only seriously old computers that would run into problems with it.
 
1 members found this post helpful.
Old 08-04-2016, 09:16 AM   #8
sinar.kk
Member
 
Registered: Nov 2015
Location: Cochin , Kerala , India
Distribution: Slackware
Posts: 80

Original Poster
Rep: Reputation: Disabled
It worked !!!!!! after running lilo command.... it was so fast that it did'nt even show the pacman thing.....!!! thank you all.
 
  


Reply

Tags
boot time, slackware 14.2



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
linux booting takes long time nesta Linux - Laptop and Netbook 1 12-07-2007 06:31 PM
LILO, Dual Booting, LILO.CONF... :(... CharlesWinston Linux - Software 6 04-23-2007 10:10 PM
lilo.conf for compact flash bhomass Debian 1 02-19-2006 08:54 PM
how to add the line 'compact' to /etc/lilo.conf. kuertensun Linux - Newbie 6 06-23-2005 10:02 PM
initial load looks like a pacman trap and takes forever no matter what kernel theskunk Slackware 10 04-30-2005 11:23 AM

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

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