Hi,
It’s as title says. When I ran sudo dnf update
today on a fresh install of Fedora, the GRUB screen on boot now shows two options for rescue. Is there a way to tell which one I am able to remove and how I can remove the second one?
Hi,
It’s as title says. When I ran sudo dnf update
today on a fresh install of Fedora, the GRUB screen on boot now shows two options for rescue. Is there a way to tell which one I am able to remove and how I can remove the second one?
Would you like to run sudo grubby --info ALL
and paste the result here? It will show all available booting list from your grub.
Hi,
Here is the output when running sudo grubby --info ALL
index=0
kernel="/boot/vmlinuz-6.2.9-300.fc38.x86_64"
args="ro rootflags=subvol=root rd.luks.uuid=luks-2e3b7979-705c-4fbd-a2e7-1afb8bfdc21c rhgb quiet"
root="UUID=b1bf7638-a9cf-47ae-a4ea-f8ae78398265"
initrd="/boot/initramfs-6.2.9-300.fc38.x86_64.img"
title="Fedora Linux (6.2.9-300.fc38.x86_64) 38 (Workstation Edition)"
id="e78c3f795c4d4df58730a544e3f4ea38-6.2.9-300.fc38.x86_64"
index=1
kernel="/boot/vmlinuz-0-rescue-e78c3f795c4d4df58730a544e3f4ea38"
args="ro rootflags=subvol=root rd.luks.uuid=luks-2e3b7979-705c-4fbd-a2e7-1afb8bfdc21c rhgb quiet"
root="UUID=b1bf7638-a9cf-47ae-a4ea-f8ae78398265"
initrd="/boot/initramfs-0-rescue-e78c3f795c4d4df58730a544e3f4ea38.img"
title="Fedora Linux (0-rescue-e78c3f795c4d4df58730a544e3f4ea38) 38 (Workstation Edition)"
id="e78c3f795c4d4df58730a544e3f4ea38-0-rescue"
index=2
kernel="/boot/vmlinuz-6.4.10-200.fc38.x86_64"
args="ro rootflags=subvol=root rd.luks.uuid=luks-2e3b7979-705c-4fbd-a2e7-1afb8bfdc21c rhgb quiet"
root="UUID=b1bf7638-a9cf-47ae-a4ea-f8ae78398265"
initrd="/boot/initramfs-6.4.10-200.fc38.x86_64.img"
title="Fedora Linux (6.4.10-200.fc38.x86_64) 38 (Workstation Edition)"
id="b08dfa6083e7567a1921a715000001fb-6.4.10-200.fc38.x86_64"
index=3
kernel="/boot/vmlinuz-0-rescue-b08dfa6083e7567a1921a715000001fb"
args="ro rootflags=subvol=root rd.luks.uuid=luks-2e3b7979-705c-4fbd-a2e7-1afb8bfdc21c rhgb quiet"
root="UUID=b1bf7638-a9cf-47ae-a4ea-f8ae78398265"
initrd="/boot/initramfs-0-rescue-b08dfa6083e7567a1921a715000001fb.img"
title="Fedora Linux (0-rescue-b08dfa6083e7567a1921a715000001fb) 38 (Workstation Edition)"
id="b08dfa6083e7567a1921a715000001fb-0-rescue"
It looks like the machine id as found in /etc/machine-id has been changed.
should that value not be modified at all?
It is used in various places to uniquely identify your computer. If you change it, it gets very confusing indeed.
Is there a recommended way to changing that value?
There is no recommended way to change the machine id, as you are not supposed to change it.
Does a fresh install mean an install on a formatted btrfs partition and an accidentally not formatted separate boot partition? That could explain a 6.2 and 6.4 kernel, change of machine-id and dual rescue kernel. Solution: check /etc/machine-id and delete rescue stuff labelled with the other one. It’s generated during kernel install and does not belong to any package.
By fresh install, I mean I wiped the SSD clean via Windows, left it unformatted, and then ran the fedora installer via a USB drive to install Fedora. I’ll attempt to delete any rescue stuff later on if I decide to change that value again.