news at pointerstop.ca
Thu Mar 29 23:03:12 UTC 2007
Tommy Trussell wrote:
> On 3/28/07, Derek Broughton <news at pointerstop.ca> wrote:
>> There are a number of
>> commented lines in the menu.lst:
>> ## default kernel options for automagic boot options
>> # kopt=root=UUID=b317f8bc-4594-41e7-ba00-e5563f533330 ro
>> These are not so much comments as directives to "update-grub", which gets
>> executed when you install a kernel. Add your "acpi=force" to the end of
>> the kopt line. If you only wanted it on the default or alternate boot
>> stanzas, you'd use the "defoptions" or "altoptions" lines, respectively,
> Thank you very much for your tip! Very helpful.
> but I have one question which has bothered me for awhile:
>> and of course there is :-) After adding the option to menu.lst, run
>> "sudo update-grub".
> Is it ever necessary to run update-grub manually in Ubuntu? If it does
> what the man page says, I can't see why it's necessary.
Well, if you change an option like this, then update-grub just ensures that
you can see the new menu.lst before an update. If you know what you're
doing, and never make a typo :-), then obviously it's just as easy to add
the option to every boot command while you're editing the menu.lst. But,
no, you really never _need_ to run update-grub yourself.
More information about the ubuntu-users