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

Re: How to change menu entries in grub



The officially recommended way of changing the username in a live-build is via grub entry, which concerns exactly the information that you've already been provided with.

lb config --bootappend-live "boot=live components username=live-user"

https://live-team.pages.debian.net/live-manual/html/live-manual/customizing-run-time-behaviours.en.html

Tbh it's not cool that you keep mailing in when you still haven't even bothered to read basic documentation.

On Thu, Dec 9, 2021, 4:48 PM Elias Mobery <eliasmobery@gmail.com> wrote:
The officially recommended way of changing the username in a live-build is via grub entry, which concerns exactly the information that you've already been provided with.

lb config --bootappend-live "boot=live components username=live-user"

https://live-team.pages.debian.net/live-manual/html/live-manual/customizing-run-time-behaviours.en.html

Tbh it's not cool that you keep mailing in when you still haven't even bothered to read basic documentation.

On Thu, Dec 9, 2021, 4:18 PM Andrea - <andrea.carbonaro55@gmail.com> wrote:

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: