Klaus-Peter Schrage via users composed on 2024-04-17 16:48 (UTC+0200): > After many years of maintaing dual boot setups (Fedora/Windows) my > harddisk layout got a bit confusing: Linux and Windows partition were > scattered on mainly two harddisks (all gpt). I was able to free a third > harddisk (ssd) and copied the linux partitions boot, root and home over > to the new disk, where they now reside as /dev/sda1, /dev/sda2 > and /dev/sda3. > I left the efi-partition on the disk /dev/sdc together with Windows 11. > As in /etc/fstab all partitions are identified by their UUID, I didn't > feel a need to adjust that file. > Trying to boot brought me to the grub command line prompt. After some > trial and error, the appropriate sequence of grub commands (set > root=..., linux ..., initrd ...) made the system boot into a fully > working Fedora 39 installation. > From there I tried to repair GRUB2, following the guidelines at > https://fedoraproject.org/wiki/GRUB_2?rd=Grub2#Updating_GRUB_2_configuration_on_UEFI_systems > namely those three steps:
> # rm /boot/efi/EFI/fedora/grub.cfg > # rm /boot/grub2/grub.cfg > # dnf reinstall shim-* grub2-efi-* grub2-common > But rebooting still gets me to the dreaded grub>. > So what am I missing? > BTW, I did NOT use the grub2-install command which shoud not be used on > UEFI systems. It seems like you're using UEFI, yet remain unaware of the efibootmgr command. -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata -- _______________________________________________ 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