On Wed, Apr 17, 2024 at 11:48 AM Klaus-Peter Schrage via users <
users@lists.fedoraproject.org> wrote:

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

In preparation for converting my dual boot Win10+Fedora system
to Fedora only, I needed to expand the Win11 partition on another
dual boot system because some "mission critical" Adobe PDF documents
require Windows.

I used gparted to shrink the Linux partition, move a couple small
partitions
to the end of the resulting free space, and expand Win11 to use the free
space.
Fedora booted without issues, Windows did some "repairs", but everything
is working.

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

I assume you can still boot with manual grub commands.

Retrace your steps and double check UUID's, other typos, and
misplaced quotes.

Recheck /etc/fstab and /etc/default/grub.   You can also check
for errors in the /etc/grub.d/10_linux section of /boot/grub2/grub.cfg.

As a final resort, you can edit /etc/grub2/40_custom to boot Fedora so
you have two chances (trying different configs) to boot Fedora at each
attempt.




> BTW, I did NOT use the grub2-install command which shoud not be used on
> UEFI systems.
>
> --
> _______________________________________________
> 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
>


-- 
George N. White III
--
_______________________________________________
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