Comment 7 for bug 213006

Revision history for this message
Derek White (d-man97) wrote :

Forgot to say I have version 1.9.11-1~hardy1 from hardy-updates.

Also, I did a bit more testing and found that when I ran 'sudo startupmanager' from gnome-terminal, the post-config correctly launches the DOS-style diff for menu.lst and does not stall when it does so.

This only occurs when major items are changed in the GUI, such as boot splash/boot text, resolution, depth; which all change entries like 'defoptions' in menu.lst. These are then translated to the Automagic Kernel List at the bottom of menu.lst by update-grub. Agreeably, this is much better than trying to parse through the list and make the changes manually with startupmanager alone.

However, the default Gnome menu launcher does not seem to allow ucf to come to the users attention to make the needed changes to update the Automagic Kernel List. Alternatively, if ucf has a option to force the use of the newly created menu.lst (they call it the package manager's version), then that option should be used when ucf/update-grub is called.

I believe I have explained this error quite well. I have not looked at the source in order to verify my line of thought, nor would I be very qualified to; so, I leave that up to you guys. Please let me know if I can be of anymore help.

TEMP. BUG WORK-AROUND
----------------------------------
NOTE: If you have custom boot options for Windows/Etc. make sure they are above the "### BEGIN AUTOMAGIC KERNELS LIST" and/or below the "### END DEBIAN AUTOMAGIC KERNELS LIST" lines in your /boot/grub/menu.lst file PRIOR to using any program that runs update-grub, including StartUp-Manager, OR ELSE YOU WILL LOSE THEM.

1) Launch StartUp-Manager from a terminal (gnome-terminal) using "sudo startupmanager".
2) Make your changes, close, and wait for your terminal to come back to you while post-config runs.
3) If the ASCI-style window comes up in the terminal window, select the option to use the package maintainer's version. This will replace your old menu.lst with the updated menu.lst that StartUp-Manager created for you.