[PLUG] Examples of customized grub2 configuration files?

Tom tomas.kuchta.lists at gmail.com
Tue Apr 4 02:17:37 UTC 2017


Would these articles help you to get started?
https://www.suse.com/documentation/sled-12/singlehtml/book_sle_admin/bo
ok_sle_admin.html#cha.grub2
https://nnc3.com/mags/LM10/Magazine/Archive/2010/111/058-060_grub2/arti
cle.html
http://www.linuxjournal.com/article/10830 - page 2
Tomas
On Mon, 2017-04-03 at 14:30 -0700, Keith Lofstrom wrote:
> I'm looking for examples (with explanatory comments) of
> customized configuration files to use in the /etc/grub.d
> directory, somewhere out there on the intertubes.
> 
> Specifically, what I hope to add is a "11_single" file
> to /etc/grub.d that adds a boot menu option for booting
> the most recent kernel in single user mode. 
> 
> Yes, I know I can select a menu entry with "e", and
> then edit "SINGLE" onto the end of the kernel line.
> However, I will typically only do this when something
> is wrong, I am in a hurry to fix it, and prone to
> mistakes.  I prefer to prepare for emergencies in
> advance, when I am calm and have time to think things
> through, so I will have more brain cells to focus on
> on the specifics of an unplanned emergency.
> 
> I do best by copying and understanding examples.  The
> example "41_custom" file has almost no useful comments;
> they are there to remind the grub2 maintainer, not teach
> a newbie to make safe tweaks.  Ditto the documentation.
> 
> Completely implemented and explained, the new grub2
> setup could be a lot safer and easier to use than the
> old grub setup.  But old grub was simple vi tweaks of
> a single grub.conf file, and the new setup requires
> far more knowledge to operate properly.  I prefer to
> learn from multiple tested examples.  I'd rather spend
> an hour than a week learning to do this.
> 
> Any suggestions?  I did find an almost-germane
> explanation of a particular grub2 customization at
> https://help.ubuntu.com/community/Grub2/CustomMenus
> but my brain is too small to translate that into the
> solution that I am hoping for.
> 
> Keith
> 


More information about the PLUG mailing list