wael
11 April 2023 21:31
22
After reading README in ‘/etc/grub.d’, I did the following:
❯ sudo chmod -x 10_linux_proxy
❯ sudo chmod -x 06_grub-customizer_menu_color_helper
❯ sudo mkinitcpio -P
❯ sudo grub-mkconfig
❯ sudo update-grub
now everything is cleaned up and kernel 62 is used
finally I removed these files, because they are most likely from grub-customizer’ (see modification date above)
/etc/grub.d🔒
❯ sudo rm 10_linux_proxy
❯ sudo rm 06_grub-customizer_menu_color_helper
❯ sudo rm -r backup
❯ sudo rm -r bin
❯ sudo rm -r proxifiedScripts
❯ sudo update-grub
thanks to all, without you I would soon have had big problems !
cscs
11 April 2023 21:55
23
Glad you fixed it. As an FYI the script just prints information.
Example output
$ ./gcspt.sh
...Bite-Sized Boot-Info...
Currently Running Kernel:
5.15.106-1-MANJARO
Grub Configuration File:
2023-04-09 01:01 /boot/grub/grub.cfg
Installed Kernels:
2023-04-05 16:15 /boot/vmlinuz-5.10-x86_64
2023-04-05 19:18 /boot/vmlinuz-5.15-x86_64
2023-04-07 18:40 /boot/vmlinuz-linux-amd-raven
Initramfs Images:
2023-04-05 16:15 /boot/initramfs-5.10-x86_64-fallback.img
2023-04-05 16:15 /boot/initramfs-5.10-x86_64.img
2023-04-05 19:18 /boot/initramfs-5.15-x86_64-fallback.img
2023-04-05 19:18 /boot/initramfs-5.15-x86_64.img
2023-04-07 18:41 /boot/initramfs-linux-amd-raven-fallback.img
2023-04-07 18:40 /boot/initramfs-linux-amd-raven.img
mkinitcpio:
2022-08-01 06:47 /etc/mkinitcpio.conf
2023-04-01 04:16 /etc/mkinitcpio.conf.pacnew
2020-12-31 14:37 /etc/mkinitcpio.d/linux510.preset
2022-08-10 13:36 /etc/mkinitcpio.d/linux515.preset
2023-04-06 03:52 /etc/mkinitcpio.d/linux-amd-raven.preset
2022-01-05 07:02 /etc/mkinitcpio.d/linux-amd-raven.preset.pacsave
Module Directories:
2023-04-07 18:40 /lib/modules/ 671M
2023-04-05 16:14 /lib/modules/5.10.177-1-MANJARO 94M
2023-04-05 19:18 /lib/modules/5.15.106-1-MANJARO 284M
2023-04-07 18:40 /lib/modules/6.2.10-RAVEN 294M
2023-04-05 16:14 /lib/modules/extramodules-5.10-MANJARO 8.0K
2023-04-05 19:18 /lib/modules/extramodules-5.15-MANJARO 8.0K
2023-04-07 18:39 /lib/modules/extramodules-6.2-amd-raven 8.0K
2023-04-05 19:34 /lib/modules/.old 4.0K
Hibernation:
No "resume=" option found in /etc/default/grub
It’s all much simpler:
Go to Settings - Manjaro Settings Manager, double click on Kernel and remove everything that you don’t need, then reboot.
It’ll remove those from the grub entries as well.
Or if you’ve got efi system and only one OS on your drive, you can use efibootmgr to boot straight from start into your kernel without any need for Grub or any other boot loader.
victorlysak:
It’s all much simpler:
No, it’s not. Read the thing about grub customizer. Your comment is not helpful here.
Why would one need any customizer?
You install new kernel - it’ll update Grub.
Then you remove the old kernel, and it’ll update Grub again by removing the old entry and that’s it.
cscs
12 April 2023 01:26
27
Because you didnt read the thread you dont understand the context of the situation.
Since you continue to do so … you continue to miss the point.
Hint: The kernels were not present according to mhwd-kernel.
1 Like
system
Closed
14 April 2023 15:26
28
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.