LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   How to make power off (https://www.linuxquestions.org/questions/fedora-35/how-to-make-power-off-437735/)

satimis 04-22-2006 10:04 AM

How to make power off
 
Hi folks,

FC5_64

# shutdown -h now

the PC is halted but not power off. Which file has to be edited for taking effect. TIA

B.R.
satimis

Lenard 04-22-2006 10:10 AM

Use poweroff instead.

satimis 04-22-2006 10:24 AM

Hi Lenard,

Tks for your advice. But still failed.

# poweroff

....
.....
Halting system ....
md: stopping all md device
md: md0 switched to read-only mode
Synchronizing SCSI cache for disk sda:
System halted


B.R.
satimis

Gethyn 04-22-2006 10:46 AM

So, it says "System halted" but the power doesn't switch off? Try adding the option 'apm=on' (without quotes) to your kernel boot options.

satimis 04-22-2006 11:03 AM

Hi Gethyn,

Tks for your advice.

This FC5_64 box boots automatically whenever switched on. Can I add it on /boot/grub/grub.conf
Code:

...
.....
title Fedora Core (2.6.16-1.2096_FC5)
        root (hd0,0)
        kernel /vmlinuz-2.6.16-1.2096_FC5 ro root=LABEL=/ rhgb noapic apm=on quiet
                                                                      ^^^^^^

TIA

B.R.
satimis

Samoth 04-22-2006 11:23 AM

maybe...i dont use grub. it should work.


All times are GMT -5. The time now is 10:15 AM.