Bug 28700 - update-grub has no effect
Summary: update-grub has no effect
Status: RESOLVED DUPLICATE of bug 28699
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-02 00:06 CEST by peter lawford
Modified: 2021-04-02 12:58 CEST (History)
1 user (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description peter lawford 2021-04-02 00:06:53 CEST
Description of problem:the command update-grub doesn't configure /boot/grub2/grub.cfg
[root@mga6-64 alain4]# mv -v /boot/grub2/grub.cfg /boot/grub2/grub.cfg.old
[root@mga6-64 alain4]# LANGUAGE=C update-grub
Création du fichier de configuration GRUB…
Thème trouvé : /boot/grub2/themes/maggy/theme.txt
[root@mga6-64 alain4]#
[root@mga6-64 alain4]# LANGUAGE=C cat /boot/grub2/grub.cfg
cat: /boot/grub2/grub.cfg: No such file or directory
[root@mga6-64 alain4]# ls -l /etc/grub.d/
total 148
-rwxr-xr-x 1 root root  9346 févr. 17 12:43 00_header*
-rwxr-xr-x 1 root root   236 févr. 17 12:43 01_users*
-rwxr-xr-x 1 root root   259 avril  3  2018 02_grub-customizer_menu_color_helper*
-rwxr-xr-x 1 root root   835 févr. 17 12:43 08_fallback_counting*
-rw-r--r-- 1 root root 11771 févr. 17 12:43 10_linux
-rw-r--r-- 1 root root   833 févr. 17 12:43 10_reset_boot_success
-rwxr-xr-x 1 root root  5151 avril  1 23:12 11_custom*
-rw-r--r-- 1 root root   892 févr. 17 12:43 12_menu_auto_hide
-rw-r--r-- 1 root root   410 févr. 17 12:43 14_menu_show_once
-rwxr-xr-x 1 root root 12285 févr. 17 12:43 20_linux_xen*
-rw-r--r-- 1 root root  4136 sept. 28  2018 20_memtest86+
-rwxr-xr-x 1 root root  2562 févr. 17 12:43 20_ppc_terminfo*
-rwxr-xr-x 1 root root  4136 mai   31  2016 21_memtest86+*
-rwxr-xr-x 1 root root  2559 déc.   1  2017 22_ppc_terminfo*
-rw-r--r-- 1 root root 10673 févr. 17 12:43 30_os-prober
-rwxr-xr-x 1 root root  1415 févr. 17 12:43 30_uefi-firmware*
-rwxr-xr-x 1 root root  5183 avril  1 23:12 40_custom*
-rw-r--r-- 1 root root   218 mai   11  2019 40_custom.rpmnew
-rwxr-xr-x 1 root root   220 févr. 17 12:43 41_custom*
-rwxr-xr-x 1 root root  6131 avril  1 23:13 50_custom*
drwxr-xr-x 4 root root  4096 mars  30  2018 backup/
drwxr-xr-x 2 root root  4096 mars  30  2018 bin/
drwxr-xr-x 2 root root  4096 juin  20  2018 proxifiedScripts/
-rw-r--r-- 1 root root   483 févr. 17 12:43 README


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
Comment 1 peter lawford 2021-04-02 00:37:44 CEST
to reproduce:
1-slightly modify your directory /etc/grub.d (by adding a void file named xy_custom for example)
2-run the command update-grub
3-see the difference: cat /boot/grub2/grub.cfg
Comment 2 Aurelien Oudelet 2021-04-02 12:58:55 CEST
Duplicate

*** This bug has been marked as a duplicate of bug 28699 ***

Resolution: (none) => DUPLICATE
Status: NEW => RESOLVED
CC: (none) => ouaurelien


Note You need to log in before you can comment on or make changes to this bug.