On 2/27/24 11:25, Robert McBroom via users wrote:

On 2/27/24 10:58, karlderletzte wrote:

Hello,

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.

i have to choose the efi file directly via bios and loading efi file. then it runs.

tried the different tips and tutorials from fedora, but in the end after running the script grub2-mkconfig it always recreates the grub menu without my fedora.

very annoying.

does anyone know, in which way this script identify the different os on my disk?

here is the output of lsblk

NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda           8:0    1 483,9M  0 disk
└─sda1        8:1    1 483,7M  0 part /run/media/held/40f020fb-33eb-406b-a3b0-7f7ba297557b
zram0       252:0    0     8G  0 disk [SWAP]
nvme0n1     259:0    0 476,9G  0 disk
├─nvme0n1p1 259:1    0   512M  0 part
├─nvme0n1p2 259:2    0   4,9G  0 part
├─nvme0n1p3 259:3    0   510M  0 part [SWAP]
├─nvme0n1p4 259:4    0   600M  0 part /boot/efi
├─nvme0n1p5 259:5    0     1G  0 part /boot
└─nvme0n1p6 259:6    0 469,5G  0 part /var/lib/docker/btrfs
                                      /home
                                      /
if any further infos are neccessary, then pls ask.

i will try to deliver.

hope i will, i am not a developer.


Regards

Karl

boot up and rerun grub2-install from the internal system.

When you installed to the external disk, the /boot/efi/EFI/fedora/grub.cfg file was written to point to the external disk grub.cfg.using the uuid of that disk. The contents of the file are in the form of

------

search --no-floppy --fs-uuid --set=dev 61ee38e0-19db-4122-b49c-23794abe1479

set prefix=($dev)/grub2
export $prefix

configfile $prefix/grub.cfg

-------

This file should have the uuid of your boot partition. The correct grub install program should repair it but there are a number of them.  You can use blkid to get the uuid of your boot partition and edit the /boot/efi/EFI/fedora/grub.cfg file to point to the internal drive.

--
_______________________________________________
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

Reply via email to