On Wed, 2019-05-22 at 20:00 +0100, ja wrote:
On Wed, 2019-05-22 at 20:16 +0300, Kevin Wilson wrote:
Hi all,
I had installed Fedora 30, on a dual boot machine which has a second partition with Fedora 28. Fedora 30 comes by default with a new boot loader spec.
I found under /boot/loader/entries/ the following:
ls /boot/loader/entries/
ec1b8b7719964c8b9a1d8db430c63fd6-0-rescue.conf ec1b8b7719964c8b9a1d8db430c63fd6-5.0.9-301.fc30.x86_64.conf0
I want to be able to boot by default into Fedora 28.
Is there a way by some utility to generate entries under /boot/loader/entries/ for the Fedora 28 and choose Fedora 28 as the default ?
Or should I disable the boot loader spec in order to boot to Fedora 28 on this machine ?
Regards, Kevin
I have had exactly this problem I have made some notes - attached
This is vital reading https://www.freedesktop.org/wiki/Specifications/BootLoaderSpec/
If they help or if you have a better insight than me please let me know!
The reason I investigated this was that during installation of F30 no additional entries were generated for other partitions - by grub2-mkconfig. I added my comments to https://bugzilla.redhat.com/show_bug.cgi?id=1600778 Many subsequent attempts to use grub2-mkconfig failed to add extra options. The grub.cfg and associated files successfully boot F30.
During investigation of this I found the following that may be useful. I do not understand the significance!
When grub2-mkconfig is run os-prober seems to create entries of the form [root@naxos:/boot/efi/EFI/fedora]$ dmsetup ls osprober-linux-nvme0n1p7 (253:2) These entries seem to stop the mounting of the partitions [root@naxos:~]$ blkid -c /dev/null shows them as /dev/mapper/osprober-linux-nvme0n1p7: LABEL="naxos7_F29" UUID="1a9ccef1-af1c-4c26-8e4d-64a25bc56fcc" TYPE="ext4" These entries can be "removed" and hence the partition "mounted" by using dmsetup remove /dev/mapper/osprober-linux-nvme0n1p7