On 2/29/24 06:08, Karlderletzte wrote:
On 2/28/24 08:54, karlderletzte wrote:
> Am 27.02.24 um 22:41 schrieb Samuel Sieb:
>> On 2/27/24 07:58, karlderletzte wrote:
>>> two days ago, i installed fedora jam 39 on an external drive. This
>>> runs successfully.
>>>
>>> BUT after restart and plug off the external drive Grub from my
>>> internal drive does not show my fedora39 installation.
>>
>> You installed Fedora on the external drive, but you also have an
>> installation on the internal drive?
> Yes this is correct. If i plugin the drive, fedora jam is correctly
> booting.
When you installed to the external drive, it replaced the Fedora entry
in the EFI boot list to point to that instead of the internal drive.
Yes i understand that.
But unconnected drive and running grub2-mkinstall i thought, that an
Entry with my fedora 39 from infernal disk is generated. But it doesnt.
You should not be running that command on a UEFI system. You need to
fix the UEFI boot entry.
> it seems, that the recovery scripts from the different tutorials
> (mostly in end grub2-mkinstall) are not recognizing the fedora39
> installation. i do not understand why.
Those are for legacy systems, not UEFI.
Go into the BIOS and check the boot list. I'm wondering if you
have a
Debian entry that is being used. You can also add another Fedora entry
that points to the internal hard drive.
Yes i have an Debian Entry and a Windows Bootmanager, but no fedora.
Before installing fedora Jam i Bad three: Debian, Windows and fedora.
And fedora was in the first place, so it starts from there.
But how could i insert a New Entry? I think, the BIOS does not recognize
the fedora one, or it is not there.
If i can install the Boot loader for fedora, then it will work again.
But how could i do that?
I assume that the Fedora one currently points to the external drive, so
it's possible that it's not listed because the drive isn't there.
Run "grep efibootmgr /var/log/anaconda/storage.log"
Copy the long line and run it (as root or use sudo), but change the
"Fedora" name to "Fedora2" or something so it will be a different
entry.
e.g. on my system it is:
efibootmgr -c -w -L Fedora -d /dev/nvme0n1 -p 1 -l \EFI\fedora\shimx64.efi
So I would run:
sudo efibootmgr -c -w -L Fedora2 -d /dev/nvme0n1 -p 1 -l
'\EFI\fedora\shimx64.efi'