[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Grub Menu - tweak to identify hostname associated with bootable syst
From: |
Daniel Kiper |
Subject: |
Re: Grub Menu - tweak to identify hostname associated with bootable system |
Date: |
Wed, 2 Oct 2019 14:37:00 +0200 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On Mon, Sep 30, 2019 at 02:16:20AM +0000, ERIC MARCEAU wrote:
> Hello, I was wondering if someone could incorporate the logic to
> extract the hostname on each bootable partition and report those in
> the appropriate menu options presented by grub. I have hard coded
> this with simple shell logic based on a case statement matching UUID.
> Attached are the files (10_linux, 30_os-prober) which I have tweaked
> to achieve the UUID match and reporting.
>
> I also include a snapshot of what the menu looks like. I currently
> use Grub 2.
>
> But I recognize that is not logic which is dynamic to report correctly
> for anyone installing the distros, and that it would be better to
> probe each of the detected partition to locate the
> "${PartROOT}/etc/hostname" file to create the appropriate entries in
> 10_linux and 30_os-prober scripts by the grub-install script
>
> I hope that someone will be able to implement the more generalized
> logic some time in the near future.
In general idea looks interesting but code requires more work.
First of all please use "git format-patch" and "git send-email"
to send the patches. If we have your code in that form then we
can suggest what should be changed/improved.
Daniel
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Grub Menu - tweak to identify hostname associated with bootable system,
Daniel Kiper <=