VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: HOWTO: Poweroff old computers without ACPI  (Read 4010 times)

lagagnon

  • Global Moderator
  • Vectorian
  • *****
  • Posts: 1922
HOWTO: Poweroff old computers without ACPI
« on: November 21, 2007, 09:32:03 am »

Some computers of Pentium II (usually 300 MHz or less) vintage and older which have very old BIOS code do not have ACPI (Advanced Configuration and Power Interface). Instead, many of these machines use APM (Advanced Power Mangement). However, the APM module, although loaded by default in VectorLinux, will by itself not enable such computers to fully shutdown properly. To enable proper shutdown an APM parameter must be passed to the Kernel at boot.

If you have such a machine which does not shutdown properly then you should do the following:

a) if you use lilo as your bootloader:
-add "apm=power-off" to the kernel parameter append lines for each boot stanza in /etc/lilo.conf, for example:

# Partition 2: Linux GUI mode
image = /boot/vmlinuz
    root = /dev/hda5
    label = VL5.8SOHO
    append = "splash=silent apm=power-off"
    read-only
    initrd = /boot/initrd


-you must then run
Code: [Select]
lilo -v in a terminal as root after editing the lilo.conf file and then reboot.

b) if you run grub as your bootloader:
-add apm=power-off to the kernel parameter lines for each boot stanza in /boot/grub/menu.lst, for example:


title Vector Linux 5.8 (2.6.18.5)
root (hd1,0)
kernel /boot/vmlinuz-2.6.18.5 ro apm=power-off
initrd /boot/initrd-2.6.18.5
Logged
"As people become more intelligent they care less for preachers and more for teachers". Robert G. Ingersoll