LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-08-2008, 08:19 AM   #1
Exil
LQ Newbie
 
Registered: Mar 2008
Posts: 11

Rep: Reputation: 0
System halt


Hi,

I am rather new to Linux, even though I have been running Ubuntu on my old computer for a while I never really played around with the console very much.

Now, my computer is old, so Ubuntu got kind of big for it finally so I decided to install Absolute Linux (based upon Slackware).

Off course some adaptions are needed, and I got stuck on my first try, and it is to get my computer to shut completely down when I shut it down.

When I shut it down it comes with "System halt" and I have to push the button to close it down completely.

I found that I should add append="acpi=force" And that I should do that through lilo -v and edit it. And I did, but then I have read somewhere that I should run it, and I do not know how to do so.

It would be of great help if you could give me a step by step indication from the very start of how to go about with this whole process.

Thank you.
 
Old 04-08-2008, 08:38 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
The "acpi=force" is a kernel parameter, which "forces" loading the acpi modules (you'll get a better explanation from somebody else, I admit, but in short that's what it does -- like "acpi=off" ought to disable acpi). That needs to be passed to the kernel when it is booted, and thus it is added to the bootloader configuration - Lilo configuration in your case (some systems use Grub which is, in my opinion, a lot easier to configure). Not sure why it is not loaded by default, but anyway..acpi deals with power management (like apm, which is more or less deprecated I guess), and if it is not loaded, your system can't automatically power off - it will just halt, and will power off when you press the button yourself. That's why you need to load it.

The lilo configuration file is usually /etc/lilo.conf and it's a plaintext file (i.e. not encoded) which you can edit - as root, or with root privieges - with any text editor of your choice. The syntax is rather easy, so that should not be a problem. After you have edited the file with a text editor of your choice, added the acpi=force option to the kernel parameters list among the other ones and saved the file, you need to run
Code:
lilo
as root, which "installs" lilo to MBR, saving the configuration. Without running it no changes take effect. After doing that reboot and see if it works. If you used Grub as your bootloader, you would only need to modify /boot/grub/menu.lst (same sort of thing, the file syntax just is slightly different, though not difficult either) and that would be sufficient because Grub reads it's configuration from the disk.
 
Old 04-08-2008, 01:37 PM   #3
Exil
LQ Newbie
 
Registered: Mar 2008
Posts: 11

Original Poster
Rep: Reputation: 0
Ok I found how it is done. The "lilo" command was of good help.

This is what I did:
1. Open a Xterm window
2. write nedit /etc/lilo.conf
3. add append="acpi=force" on a new line under where it says label="linux" *or whatever you chose to call it.
4. Then save and close Nedit
5. run lilo -v to test it
6. and then lilo to finally run the kernel

Shut the system to test that it really works.

Now I need to find how to change the keyboard. I thought I had chosen the correct keyboard, but I obviously did not
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
how to halt a system with private ip from a system in other net work seabark99 Linux - Networking 3 03-20-2005 09:36 AM
System going down for system halt NOW! (hangs) jdh77 Yoper 14 12-07-2004 04:28 AM
All users can halt system Equin Linux - Security 2 10-17-2004 02:15 PM
Halt System Kaninchen Mandriva 5 05-11-2004 04:01 PM
Halt system kpraveen Linux - General 2 08-10-2002 09:40 AM


All times are GMT -5. The time now is 04:07 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration