![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
|
|
Absolute Beginner Talk The perfect starting place to find out more about computers, Linux and Ubuntu. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
5 Cups of Ubuntu
![]() Join Date: Mar 2008
Beans: 27
|
I have a problem with my laptop not turning off when after shutting down Ubuntu 7.10 desktop i386 for 32bit.
Via the search web and forums, it was suggested that adding acpi=force to defoptions it would sort the problem out. It has not. The original line was # defoptions=quiet splash This is how I added it # defoptions=quiet splash acpi=force I am new to Linux. I don't know what the # means some lines have have ### others ## and this only #. Other line do not have any. Is it that lines with no # are executed and all others with # are not. Only simple answers please not technical ones. Regards Peter |
|
|
|
|
|
#2 |
|
Run, little guy, run...
![]() |
Re: # symbol in grub menu.lst
You need to remove the # in front of the line.
__________________
In the world of Linux, who needs Windows and Gates... Got most of my golden beans at an auction on eBay (with a couple of free drinks). |
|
|
|
|
|
#3 |
|
First Cup of Ubuntu
![]() Join Date: Mar 2008
Beans: 4
|
Re: # symbol in grub menu.lst
There's a very simple answer to that:
Everything behind a # are comments. They are just ignored by the program using the file. This means it wouldn't have made a difference if you would have written: # defoptions=quiet splash acpi=force or # SOMETHING ELSE Try to remove the # if you want the line to have any effect, like: defoptions=quiet splash acpi=force |
|
|
|
|
|
#4 |
|
Chocolate-Covered Ubuntu Beans
![]() Join Date: May 2006
Location: Switzerland
Beans: 2,216
Ubuntu 9.10 Karmic Koala
|
Re: # symbol in grub menu.lst
Not for the "# defoptions" line! That was bad advice!
Taken from "menu.lst" itself: Code:
### BEGIN AUTOMAGIC KERNELS LIST ## lines between the AUTOMAGIC KERNELS LIST markers will be modified ## by the debian update-grub script except for the default options below ## DO NOT UNCOMMENT THEM, Just edit them to your needs |
|
|
|
|
|
#5 |
|
Chocolate-Covered Ubuntu Beans
![]() Join Date: May 2006
Location: Switzerland
Beans: 2,216
Ubuntu 9.10 Karmic Koala
|
Re: # symbol in grub menu.lst
|
|
|
|
|
|
#6 | |
|
Chocolate-Covered Ubuntu Beans
![]() Join Date: May 2006
Location: Switzerland
Beans: 2,216
Ubuntu 9.10 Karmic Koala
|
Re: # symbol in grub menu.lst
Quote:
sudo update-grub (when it asks for a password: that should be your own password. And the password is never ever echoed back, e.g. no stars, no question marks, no sign that whatever is being typed is being accepted ... Just type it in blindly and hit the enter key). A few messages should fly-by over the screen about stuff having been written to your boot loader. As long as none of those messages say "Error!"-something, everything is OK. When you reboot the options should now be active. You can check after the reboot with this command: cat /proc/cmdline That should spit out all the parameters that were used to boot your kernel and it should therefore also mention the new parameter "acpi=force" which you added above. If I do that here I get this: Code:
root=UUID=169b894f-8c23-41b5-a895-a9c7d101c6a8 ro splash vga=791 resume=/dev/sda10 So if the line is there but your laptop is still having trouble to properly turn off after a shutdown, we could try a few other things too. The "acpi=force" command may help in some cases, but in some other cases it doesn't. Could you tell us more about your laptop? Make + model? Year it was built? BIOS versions? CPU type? ... To know these things can help a great deal. Last edited by scorp123; March 17th, 2008 at 12:45 PM.. |
|
|
|
|
|
|
#7 |
|
Fresh Brewed Ubuntu
![]() |
Re: # symbol in grub menu.lst
HOLY CRAP... i cant beileve not only someone, but many ones, said to remove that #
word, keep that # im not sure if its been mentioned, but its probably not taking effect yet, because you have to add it also, further down in the file, for each kernel entry, like you did in defoptions... all the defoptions does, is sets default options that will be added if/when there's a grub update (like when you install a new kernel) also the effects wont take place untill you reboot... sorry if that was a double up on the info, but i was to blown away by people instantly spamming "remove the #" people, if you arent familiar with what the poster is asking, for the love of god, dont respond |
|
|
|
|
|
#8 |
|
Fresh Brewed Ubuntu
![]() Join Date: May 2005
Location: Indiana
Beans: 1,322
Hardy Heron (Ubuntu Development)
|
Re: # symbol in grub menu.lst
Well, in most configuration files, # does mean it's a comment. Grub is slightly different.
Not having any #'s at all means it's an entry for a kernel or OS to boot to. Only having one # means it's an overall grub option. Having more than 1 # means it's a comment. But in most config files, it only takes 1 # to comment. So people really shouldn't be bashing the ones who said to remove it. If you don't already know grub works that way, it's a logical thought. And it is right that you do need to reboot before it takes effect. If it still doesn't work, try putting # acpi=force on a different line. Last edited by forrestcupp; March 17th, 2008 at 01:02 PM.. |
|
|
|
|
|
#9 | |
|
Ubuntu Guru
![]() |
Re: # symbol in grub menu.lst
Put the acpi=force on the kernel line and reboot.
Like this ; Quote:
In gurb: ## Two hash = comment # One hash = configuration Typically, in most config files, # One hash = comments One last piece of general advice, when editing config files 1. Make a back up copy first 2. Comment your changes. 3. Read the comments teh authors put into them, they are there to help you. 4. Back up your manually configured file (config files are sometime over written by updates).
__________________
A person with ubuntu is open and available to others, affirming of others, does not feel threatened that others are able and good, for he or she has a proper self-assurance that comes from knowing that he or she belongs in a greater whole and is diminished when others are humiliated or diminished, when others are tortured or oppressed. ~ Archbishop Desmond Tutu, 1999 ![]() |
|
|
|
|
|
|
#10 |
|
5 Cups of Ubuntu
![]() Join Date: Mar 2008
Beans: 27
|
Thank you for your replies
I have done this as suggested sudo update-grub cat /proc/cmdline and added the acpi=force to the kernal and the update worked, in that when I did the cat /proc/cmdline it said root=UUID=790d6d30-ebca-482a-b08e-132746698f2d ro quiet splash acpi=force But (big BUT) my laptop still does not shutdown. The backlight is still on and the fan is running. It stops at that point and the only way I can turn it off is to hold the power button down until it turns off. Then same happens when I use Hibernate. Are ther any other suggestions? Regards Peter Last edited by pjhartt; March 17th, 2008 at 07:18 PM.. |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|