[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

GRUB2 - automatically generating extra entries



I use runlevel 3 for non-X boots (gdm, etc is disabled), and to boot
into it I append "3" to my "normal use" entry in the GRUB2 menu. I'd
like to just automatically generate the extra line, so that even after
a kernel upgrade it'll still be there (but obviously for the new
kernel).

There was a way to do this in legacy GRUB, but it's been so long I
can't remember what it was (I think there was an automagic kernel
entry generation section in menu.lst?).

Is there an easy way to do this with GRUB2? I know my way around the
GRUB2 config scripts and defaults file to some extent, but I'm no
expert.

Cheers,
Jason Heeris


Reply to: