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

Re: How to change menu entries in grub



Solved.... Just edit the file in lsb-release etc or create it and add these strings:

DISTRIB_ID=Debian
DISTRIB_RELEASE=11
DISTRIB_CODENAME=bullseye
DISTRIB_DESCRIPTION="Debian"

then edit the file: etc/hostname

and put your distro the name you want and finally inside the folderetc/default c'è un file chiamato grub

open it and edit the string 8

GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`"

with

GRUB_DISTRIBUTOR="`lsb_release -d -s 2> /dev/null || echo Debian`"

put everything in includes.chroot by first creating a folder called etc and inside etc put the lsb-release and hostname files then create a folder inside etc called default and copy the grub file modifying it as I wrote above



Reply to: