Re: Installed Fedora 38 (sway) / grub2 on a new HD - boots OK but does not have a menuentry item in grub.cfg ?

2023-04-22 Thread Philip Rhoades via users

Francis,


On 2023-04-22 17:18, francis.montag...@inria.fr wrote:

Hi.

On Sat, 22 Apr 2023 16:37:53 +1000 Philip Rhoades via users wrote:

- but why is there is not a line like this in /boot/grub2/grub.conf 
for

Fedora 38 Sway?


I can see that the appropriate other Sway files are in the /boot tree 
so
I am guessing that grub2 somehow knows the proper, default boot image 
-

even though the default does not have a menuentry in grub.cfg?


I bet it's related to BootLoaderSpec. If you look at the

  ### BEGIN /etc/grub.d/10_linux ###

section of grub.cfg you will see:

  # The blscfg command parses the BootLoaderSpec files stored in
  # /boot/loader/entries and populates the boot menu. Please refer to 
the Boot

  # Loader Specification documentation for the files format:
  # https://systemd.io/BOOT_LOADER_SPECIFICATION/.



Ah - that sounds promising! - I will have a look at that - I would like 
a better understanding of how grub2 operates before I start messing 
around with adding entries to grub.cfg manually . .


Thanks!

Phil.
--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Installed Fedora 38 (sway) / grub2 on a new HD - boots OK but does not have a menuentry item in grub.cfg ?

2023-04-22 Thread Francis . Montagnac

Hi.

On Sat, 22 Apr 2023 16:37:53 +1000 Philip Rhoades via users wrote:

> - but why is there is not a line like this in /boot/grub2/grub.conf for 
> Fedora 38 Sway?

> I can see that the appropriate other Sway files are in the /boot tree so 
> I am guessing that grub2 somehow knows the proper, default boot image - 
> even though the default does not have a menuentry in grub.cfg?

I bet it's related to BootLoaderSpec. If you look at the

  ### BEGIN /etc/grub.d/10_linux ###

section of grub.cfg you will see:

  # The blscfg command parses the BootLoaderSpec files stored in
  # /boot/loader/entries and populates the boot menu. Please refer to the Boot
  # Loader Specification documentation for the files format:
  # https://systemd.io/BOOT_LOADER_SPECIFICATION/.

-- 
francis
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Installed Fedora 38 (sway) / grub2 on a new HD - boots OK but does not have a menuentry item in grub.cfg ?

2023-04-21 Thread Philip Rhoades via users

People,

My Fedora WS has 4 drive bays and I access old boot and other HDs in 
bays 2-4.  I just did a clean install of Fedora Sway to /dev/sda - 
everything is fine and the system boots OK but I am confused:


- cat /etc/os-release

NAME="Fedora Linux"
VERSION="38 (Sway)"
.
PRETTY_NAME="Fedora Linux 38 (Sway)"
ANSI_COLOR="0;38;2;60;110;180"
.
VARIANT="Sway"
VARIANT_ID=sway

- The install picked up old Fedora boot setups which show up in 
/boot/grub2/grub.conf like this:


menuentry 'Fedora Linux 37 (KDE Plasma) (on /dev/sde3)' --class 
gnu-linux --class gnu --class os $menuentry_id_option 
'osprober-gnulinux-/boot/vmlinuz-6.0.7-301.fc37.x86_64--f6f43412-e6ed-4dff-808b-fe013691c3b6' 
{


- but why is there is not a line like this in /boot/grub2/grub.conf for 
Fedora 38 Sway?


I can see that the appropriate other Sway files are in the /boot tree so 
I am guessing that grub2 somehow knows the proper, default boot image - 
even though the default does not have a menuentry in grub.cfg?


A pointer to a link for info would be great . .

Thanks!

Phil.
--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue