On Sun, 17 Apr 2022 19:50:41 -0400, Rich Freeman wrote:

> grub-mkconfig just runs a bunch of shell scripts to generate
> everything, so you can have it autogenerate anything you want.  It
> seems like a rough way to do it would be to just copy the regular
> linux once for each runlevel so that you end up with each kernel show
> up more than once, and then the individual runlevels can be tweaked
> accordingly.  Obviously it would be more elegant to add a loop over a
> configuration variable.
> 
> I'm not aware of anybody having actually done this, however, so you'd
> have to DIY.

Actually, that's how I do it on my remaining MBR/BIOS systems. A script
that loops through the kernels and writes the relevant configs after
reading settings from a config file (that makes it easier to use the same
script on differing machines).


-- 
Neil Bothwick

When companies ship Styrofoam, what do they pack it in?

Attachment: pgp7lrYrqbF6X.pgp
Description: OpenPGP digital signature

Reply via email to