Manual fix of Grub2 impossible
luis.barbas at gmail.com
Thu Apr 1 16:56:04 UTC 2010
Agree, You "just" have to remeber to chmod +x, update-grub, check grub.cfg
and add what's new to 40_custom. :)
I had a thing with grub1. I like to remove splash and quiet options from the
kernel/linux line. Every time I update kernel, there was always a question
about menu.lst being changed, and what I would like to do about it.
With grub2, I've set GRUB_CMDLINE_LINUX_DEFAULT="" and no more of that.
I also like:
and so on.
That is, I'm feeling fine and hopeful with grub2. Hope it gets closer to
yours and others needs soon. Didn't find any sort mecanism, and for sure no
menu GUI, I agree.
What follows is from https://wiki.ubuntu.com/Grub2:
To prevent a file in */etc/grub.d* from adding items to the menu, remove
the *executable* bit or remove the applicable file.
*memtest86+*: If you don't want to have *memtest86+* displayed in your
menu, run sudo chmod -x /etc/grub.d/20_memtest86+. The file will remain
but will not be acted upon by *update-grub*.
*Recovery mode:* If you don't want *Recovery mode* entries for your linux
kernels, edit */etc/default/grub* and add this line:
If a custom script in the */etc/grub.d/* folder contains multiple menu
entries, individual items may be removed and others retained.
Tip: If the user wants his custom entries to appear at the top of the
menu, the file can be named a value less than *"10_linux"*, such as *
"07_custom"*. Check that the *"DEFAULT"* value in
*/etc/default/grub*points to the correct
*menuentry* after making this change.
Changes will not take effect on the Grub 2 menu until "update-grub" is
run to update *grub.cfg*
On Thu, Apr 1, 2010 at 5:18 PM, Liam Proven <lproven at gmail.com> wrote:
> On Thu, Apr 1, 2010 at 4:33 PM, Luis Paulo <luis.barbas at gmail.com> wrote:
> > Liam
> > If you copy entries on boot.cfg to 40_custom and disable 10,20 and 30
> > entries with chmod -x, you'll be able to configure every entry as you
> > please. I think, didn't try it, just looking for solutions.
> > Understand your questions, hope some GUI will come along, and I don't
> > shares on grub2.
> Thanks for the suggestion, but I fear it sounds a bit drastic! I do
> want to still get automatic kernel updates and so on. If I have to
> install them manually into Grub, one day, I am certain to forget &
> then get an unbootable system if I remove the old ones.
> Liam Proven • Profile: http://www.linkedin.com/in/liamproven
> Email: lproven at cix.co.uk • GMail/GoogleTalk/Orkut: lproven at gmail.com
> Tel: +44 20-8685-0498 • Cell: +44 7939-087884 • Fax: + 44 870-9151419
> AOL/AIM/iChat/Yahoo/Skype: liamproven • LiveJournal/Twitter: lproven
> MSN: lproven at hotmail.com • ICQ: 73187508
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ubuntu-users