Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #242890

Re: Clarification Re: Customizing Grub menus

From Brian <ad44@cityscape.co.uk>
Newsgroups linux.debian.user
Subject Re: Clarification Re: Customizing Grub menus
Date 2021-12-10 11:50 +0100
Message-ID <DsLDs-5kE-13@gated-at.bofh.it> (permalink)
References <Ds4oN-3Wk-5@gated-at.bofh.it> <Dstnb-2xN-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu 09 Dec 2021 at 09:09:42 -0600, Richard Owlett wrote:

> On 12/08/2021 06:33 AM, Richard Owlett wrote:
> > I have a machine set aside for experimenting with different
> > configurations of Debian. The default Grub2 menu will display OS(with
> > version) and partition designation in /dev/sdXY format.
> > 
> > I give all partitions descriptive labels.
> > I want the Grub menu to display OS and the partition label.
> > I want it to update appropriately after using update-grub.
> > 
> > Is there an appropriate tool?
> > TIA
> > 
> 
> Received answers did not seem to answer my question.
> That suggests a unclear question ;}
> 
> On my test system partition labels are:
>   /dev/sda7	full-10
>   /dev/sda9	minimal-11
> 
> Default Grub menu after install of buster reads:
>   Debian GNU/Linux 10 (buster) (on /dev/sda7)
> 
> I wish it to read:
>   Debian GNU/Linux 10 (buster) (full-10)
> 
> After installing bullseye and running update-grub without any manual
> intervention, I wish appropriate lines to read:
>   Debian GNU/Linux 10 (buster) (full-10)
>   Debian GNU/Linux 10 (bullseye) (minimal-11)
> 
> Possible?
> If so, how?

Devise a script to replace "root=..." in grub.cfg. Run the script from
/usr/sbin/update-grub.

-- 
Brian.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Customizing Grub menus Richard Owlett <rowlett@cloud85.net> - 2021-12-08 13:40 +0100
  Re: Customizing Grub menus Dan Ritter <dsr@randomstring.org> - 2021-12-08 15:50 +0100
    Re: Customizing Grub menus Richard Owlett <rowlett@cloud85.net> - 2021-12-08 16:40 +0100
      Re: Customizing Grub menus songbird <songbird@anthive.com> - 2021-12-08 18:20 +0100
        Re: Customizing Grub menus David Wright <deblis@lionunicorn.co.uk> - 2021-12-09 16:50 +0100
  Clarification Re: Customizing Grub menus Richard Owlett <rowlett@cloud85.net> - 2021-12-09 16:20 +0100
    Re: Clarification Re: Customizing Grub menus Brian <ad44@cityscape.co.uk> - 2021-12-10 11:50 +0100
    Re: Clarification Re: Customizing Grub menus David Wright <deblis@lionunicorn.co.uk> - 2021-12-11 05:20 +0100

csiph-web