LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Turn on ACPI on boot (https://www.linuxquestions.org/questions/linux-newbie-8/turn-on-acpi-on-boot-184760/)

smokylux 05-23-2004 05:57 AM

Turn on ACPI on boot
 
Found a hint on Inet that you must add "acpi=on" to grub.conf in the kernel parameters to turn on ACPI on boot...

is it the file /etc/grub.conf?

in the grub.conf there is a line :
kernel /vmlinuz-2.6.5-1.358 ro root=LABEL=/ rhgb quiet

do I simply add "acpi=on" at the end of this line, so that it becomes:
kernel /vmlinuz-2.6.5-1.358 ro root=LABEL=/ rhgb quiet acpi=on
??

Don't want to mess up a correct booting ;)


smokylux

Axo 05-23-2004 06:20 AM

I dont use Grub but this should work
Code:

append= acpi=on

b0uncer 05-23-2004 06:23 AM

first of all you must know that ACPI is enabled in your kernel; this isn't a fact always. but you'll see it when you add the line and if it doesn't become enabled, you know you'll have to deal with the kernel first....anyway, let's assume your kernel has enabled ACPI.

usually Grub's "config" file should in my opinion be in your boot partition...and called menu.lst (at least on my pc). so, as root,

cd /boot/grub

and if you don't get any errors telling you that you don't have such dir, do

ls

and see if you have menu.lst or grub.conf or something. if you do, that's our file...now open it with some text editor and locate the line that tells grub about your linux kernel, like

kernel /boot/bzImage root=/dev/discs/disc0/part1 hdd=ide-scsi

or similar (it looks a bit different on your config, of course), and then apply the option at the end of the line like this (using the example line above)

kernel /boot/bzImage root=/dev/discs/disc0/part1 hdd=ide-scsi acpi=on

then save and reboot..grub doesn't need to be re-run/re-installed like lilo after making changes, so that should be enough. and again, if this won't help, then you don't have ACPI support compiled in your kernel..

if you don't have /boot/grub/menu.lst or /boot/grub/grub.conf or like that, you have to search for where your grub is installed..I guess it is usually in /boot/grub, so that's why using some /etc/grub.conf doesn't help I think. except, of course, if you have installed your grub into /etc, but that'd be somehow weird.. :) so see your /boot/

and one more thing: if you happen to accidentally edit a wrong file, or make a typing error and save it in the real config file, it shouldn't stop your booting...the last option then just (I think) gets ignored, and perhaps you get an error message telling you it's not ok. so you can't mess up your boot with this, unless you really work hard for it ;)

muxman 05-23-2004 06:32 AM

When your computer first boots and you are at the grub menu press the e key. This will put grub into edit mode. Choose the line you want to edit and press enter, in this case you kernel line. Add your extra settings to that line and try it out. This will only be in effect for this boot. This allows you to try out an option without making a permant chage to your grub settings and that way if the change does not work, reboot and you are back to the settings you had before you changed anything. If all works out then make a change to your menu.lst or grub.conf so the new settings will be permanent.

smokylux 05-23-2004 06:44 AM

thx to all for help!

the menu.lst is just a symbolic link to grub.conf by the way...

got it working, got starting acpi deamon in boot sequence!

b0uncer 05-23-2004 07:39 AM

good :)

ratishkurian 05-24-2004 08:35 PM

thanks guys..needed to use the option acpi=off in GRUB

and this was just the right answer

:D ;)


All times are GMT -5. The time now is 06:38 AM.