Monday, September 29, 2008

[SOLVED] 09-29-08: Ubuntu Would Not Shutdown Powerdown

System > Quit > Shutdown

All I see is a black background and the word "Ubuntu". My optical mouse's red LED is still alive and the hard drives fan still spinning. This is on Ubuntu Hardy 8.04.

Hardware is the same with PIII 650 Mhz, and 256 RAM. Gee I really need that upgrade.

Googleing over, I found this and it worked for me:

Thanks to RedEyes_Gambit


Step 1: Add

Code:
apm power_off=1

to your /etc/modules

Mine already had an entry so I just added the code directly below it and then hit enter to add 1 blank space at the end of the file. Basically it should look like this:

Code:

# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.


lp
apm power_off=1

You may have other modules like fuse or p4_clockmod or whatnot. That's ok. So long as you put in "apm power_off=1" and keep a blank entry at the end of the file you should be ok. The blank entry might not be needed, but it was there when I started so I kept it.

Step 2: Add

Code:

acpi=off apm=power_off

to your /boot/menu.lst so it looks like this:

Code:
## ## End Default Options ##


title Debian GNU/Linux, kernel 2.6.18-3-k7
root (hd0,1)
kernel /boot/vmlinuz-2.6.18-3-k7 root=/dev/hda2 ro acpi=off apm=power_off
initrd /boot/initrd.img-2.6.18-3-k7

You probably have other entries in your boot stanza like quiet splash and the like, but that's ok. So long as the acpi=off apm=power_off is there it should work.

Please note that just about all the code and what not are shameless rips from Kross's excellent posts. PM him a pat on the back if this worked for you, since it looks like he really took initiative and tracked this problem down well.




The only difference I have made was to change the directory from /boot/menu.lst to /boot/grub/menu.lst

No comments:

Post a Comment

EventId's in Nostr - from CGPT4

The mathematical operation used to derive the event.id in your getSignedEvent function is the SHA-256 hash function, applied to a string rep...