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

Re: How to change menu entries in grub?



On 2020-05-03 04:16, Michael . wrote:
Grub 2 reads various files for its naming system. Files such as
/etc/issue, /etc/lsb-release, /etc/debian-version, and various others
all contribute to what you are refereing to. There is a page somewhere
written by Paul (pabs) maybe in the census that tells maintainers what
files they need to change so not to infringe Debian copyright notices.
Grub reads the output of 'lsb_release' to determine how to name the menu entry. See /etc/default/grub in a typical Debian system, this line:
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`

You can change what lsb_release reports by providing a customized /usr/lib/os-release file, or alternatively directly edit that line in /etc/default/grub.

But yes it would also be good to check about the copyright implications. I think it's OK for a debian derivative to have /etc/debian-version, but eg dpkg vendor should be changed. Some help here: https://wiki.debian.org/Derivatives/Guidelines

--
John


Reply to: