![]() |
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.
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
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...
![]() Join Date: Oct 2005
Location: Jacksonville, FL
Beans: 29,273
Ubuntu 9.04 Jaunty Jackalope
|
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 |
|
Chocolate-Covered Ubuntu Beans
![]() Join Date: May 2006
Location: Switzerland
Beans: 2,096
Ubuntu 9.04 Jaunty Jackalope
|
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 |
|
|
|
|
|
#4 |
|
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 |
|
|
|
|
|
#5 |
|
Chocolate-Covered Ubuntu Beans
![]() Join Date: May 2006
Location: Switzerland
Beans: 2,096
Ubuntu 9.04 Jaunty Jackalope
|
Re: # symbol in grub menu.lst
|
|
|
|
|
|
#6 | |
|
Chocolate-Covered Ubuntu Beans
![]() Join Date: May 2006
Location: Switzerland
Beans: 2,096
Ubuntu 9.04 Jaunty Jackalope
|
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,321
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 | |
|
Skinny Extra Sweet Ubuntu
![]() Join Date: Jun 2006
Location: Syracuse, NY
Beans: 3,258
Ubuntu Karmic Koala (testing)
|
Re: # symbol in grub menu.lst
Quote:
@ the OP, a little reasoning behind why this is a special config file and "breaks the rules": Most config files are read by the operating system once it is booted up. They are read in by a program and parsed, and the linux standard uses a # to signify comments. I suspect (although do not know) that this goes back to the shell interpreter using a # to signify comments. Either way, it is a convention of the OS alone. Grub is a stand-alone program, it doesn't even run with the kernel booted. It uses its own standards for naming drives, reading config files, and pretty much everything else. It is not a part of linux, as you could (in theory) install it to multi-boot any number of operating systems, without having any of them be linux. As such, the linux standards do not apply to grub. In the future, when grub 2 is the standard (instead of the current version), I believe it will comply more with linux standards and things could change, but for the time being consider anything to do with grub to be its own entity.
__________________
Desktop: AMD Athlon64 X2 3600+, Nvidia 8600GT, 3GB RAM, 80GB hd, Windows 7 Beta Lappy: Sony Vaio FW-140E, Intel P8400 2.26Ghz, 3GB Ram, 250GB HD, Intel x4500MHD, Windows 7 Beta & Kubuntu 8.10 w/ KDE 4.2 |
|
|
|
|
|
|
#10 | |
|
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 ![]() |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|