LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-24-2006, 10:20 PM   #16
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67

Yep. Keep the old, add in the new. That way when your compile blows up in your face, you can still boot and recompile
 
Old 07-25-2006, 10:57 AM   #17
ahmed gamal
Member
 
Registered: Aug 2005
Location: Egypt
Distribution: slackware + XP
Posts: 591

Original Poster
Rep: Reputation: 30
now after installing kernal 2.6
i have a problrm when i was on my krenal2.4 the computer turns off probably
now after installation it hangs at power off
but kernal 2.6 works good
 
Old 07-25-2006, 12:27 PM   #18
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519

Rep: Reputation: 63
is
Quote:
/sbin/modprobe apm
un-commented in /etc/rc.d/rc.modules
 
Old 07-26-2006, 07:54 AM   #19
ahmed gamal
Member
 
Registered: Aug 2005
Location: Egypt
Distribution: slackware + XP
Posts: 591

Original Poster
Rep: Reputation: 30
thank u very much for reply
but it didn't work

Last edited by ahmed gamal; 07-26-2006 at 10:16 AM.
 
Old 07-26-2006, 02:17 PM   #20
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519

Rep: Reputation: 63
ahmed,

I'm not 100% sure of this, so don't do this until someone else can confirm if this is a good option to you or not.

Hopefully cwwilson or one of the other guys who have been here a while can confirm this.

I have seen that people use the following command to their lilo boot loader.

I think you may need to add this to your lilo file:
append="apm=power-off"

so that as root you would edit the top section of your "/etc/lilo.conf" file to look like something like this (this is mine modified to demonstrate where the changes would take place):

Quote:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
#compact # faster, but won't work on all systems.
prompt
append="apm=power-off"
then after you save your changes to the lilo file, you simply run as root in your console "lilo" and it updates the bootloader.

the reason that I caution you to wait and verify is that lilo is your boot loader, and if the file get's messed up there is the chance of you not being able to boot your pc up.

be sure you have a slackware boot disk &/or slackware-install-cd1 whenever you make changes to your lilo.

but I think this might help you.
 
  


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
Installing drivers and the kernal BrandoAZ Fedora - Installation 2 07-13-2006 03:43 PM
after installing kernal 2.6.10 bruse Mandriva 4 03-13-2005 11:06 PM
installing kernal source... pharmd Linux - Newbie 2 02-26-2005 11:23 AM
Installing new Kernal TheRiddler Debian 5 01-28-2004 06:36 AM
need help with installing new kernal quadboot_SMP Linux - Newbie 2 07-20-2001 05:32 PM

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

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