[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: at boot-time echoed kernel is older that started kernel
From: |
poma |
Subject: |
Re: at boot-time echoed kernel is older that started kernel |
Date: |
Tue, 19 Feb 2013 21:31:14 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 |
On 02/18/13 21:39, Reindl Harald wrote:
[…]
> i would be thankful if even "grub2-mkconfig" would not create
> this "advanced" submenu at all
>
Actually there is a patch proposal at 'grub-devel' by Prarit Bhargava,
for such a case - disable submenu[1][2].
>From this I made two for testing directly without compiling the entire
grub's trunk repository[3][4].
Those who would do such test should make a backup of the corresponding
files:
patch --backup /usr/sbin/grub2-mkconfig <
grub2-mkconfig-disable-submenu.patch
patch --backup /etc/grub.d/10_linux < 10_linux-disable-submenu.patch
chmod -x /etc/grub.d/10_linux.orig
/etc/default/grub:
# submenu disabled
GRUB_DISABLE_SUBMENU=true
# submenu enabled
#GRUB_DISABLE_SUBMENU=false
--
cp /boot/grub2/grub.cfg /boot/grub2/grub.cfg.orig
/usr/sbin/grub2-mkconfig --output=/boot/grub2/grub.cfg
Cheers,
poma
[1] http://lists.gnu.org/archive/html/grub-devel/2013-01/msg00126.html
[2] grub2-disable-submenu.patch
[3] 10_linux-disable-submenu.patch
[4] grub2-mkconfig-disable-submenu.patch
grub2-mkconfig-disable-submenu.patch
Description: Text Data
grub2-disable-submenu.patch
Description: Text Data
10_linux-disable-submenu.patch
Description: Text Data
- Re: at boot-time echoed kernel is older that started kernel,
poma <=