[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help with custom Grub2 menu
From: |
Andrey Borzenkov |
Subject: |
Re: Help with custom Grub2 menu |
Date: |
Thu, 3 Oct 2013 06:44:50 +0400 |
В Wed, 02 Oct 2013 14:48:55 -0500
Richard Owlett <address@hidden> пишет:
> I have a machine set aside for experimenting with OS
> installs/configuration.
>
> I'm currently experimenting with Debian Squeeze and Wheezy.
> Debian's installer defaults to
> 1. making the last install the default when booting - can be
> bad idea if
> you mess up the installation. I want the first OS installed
> to be loaded
> by default.
> 2. creating menu title from id of installed kernel. As
> multiple installs may
> use the same kernel, I wish to use meaningful label.
>
> Is there a tool &/or documentation to make life simpler?
>
When using grub-mkconfig menu is built using scripts in /etc/grub.d.
They are run sequentially and their output put into grub.cfg. You can
modify or remove any of them, or do not use grub-mkconfig at all and
maintain grub.cfg manually. There are several attempts to create
different tools to maintain grub.cfg.