Hi, you may find it easier to do the work using the SYSLINUX/EXTLINUX boot loader. In my experience, it takes less time to learn how to use syslinux from zero, compared to doing anything at all non-standard in grub/grub2. And with grub2 even having custom order of boot entries is now non-standard. This is addition to all the cases where grub/grub2 just plain does not work (gives you a blank screen, or tells you that existing files do not exist, or goes to the wrong disk, or in one case corrupted the CMOS settings, and etc of course). I am a happy SYSLINUX user and I would recommend it to everybody - for network booting, for booting from disk, for booting from USB, for booting from anything. My latest success was EFI boot from a pcie ssd, where grub2 at best gave me a "grub>" prompt and nothing more. K.O. On Mon, Apr 03, 2017 at 02:26:36PM -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 RHEL 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 > > -- > Keith Lofstrom [log in to unmask] -- Konstantin Olchanski Data Acquisition Systems: The Bytes Must Flow! Email: olchansk-at-triumf-dot-ca Snail mail: 4004 Wesbrook Mall, TRIUMF, Vancouver, B.C., V6T 2A3, Canada