You are not logged in.
Hi,
I'm using GRUB2 with dm-crypt, and there are 3 auto-generated entries in my grub.cfg. I added 2 entries (regular and fallback) that can load my encrypted root partition to /etc/grub.d/50_custom, but they show up at the bottom of my GRUB2 menu. Is there a way to disable the auto-generated entries?
Thanks!
Offline
Remove the executable flag (chmod -x <file>) from /etc/grub.d/10_linux and /etc/grub.d/20_linux_xen and re-run grub-mkconfig. Also you can always manually edit /boot/grub/grub.cfg .
My new forum user/nick name is "the.ridikulus.rat" .
Offline
Remove the executable flag (chmod -x <file>) from /etc/grub.d/10_linux and /etc/grub.d/20_linux_xen and re-run grub-mkconfig.
OK, looks like this works. Will that get reset when the GRUB2 package is upgraded?
Also you can always manually edit /boot/grub/grub.cfg .
Yeah, but from the wiki page it sounded like using the /etc/grub.d files was a good practice.
Offline
skodabenz wrote:Remove the executable flag (chmod -x <file>) from /etc/grub.d/10_linux and /etc/grub.d/20_linux_xen and re-run grub-mkconfig.
OK, looks like this works. Will that get reset when the GRUB2 package is upgraded?
Yes, it may get reset because of difference in permissions of /etc/grub.d/{10_linux,20_linux_xen} in the package and in the filesystem. You may have to remove the executable flag upon package upgrade.
skodabenz wrote:Also you can always manually edit /boot/grub/grub.cfg .
Yeah, but from the wiki page it sounded like using the /etc/grub.d files was a good practice.
Its your call. I never use grub-mkconfig. I always type /boot/grub/grub.cfg manually.
My new forum user/nick name is "the.ridikulus.rat" .
Offline