Re: Stuck at grub prompt after reordering partitions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Am 17.04.24 um 17:51 schrieb Go Canes:
Step by step:
I recently had similar problems.  These are the things to check:
o use blkid to get the current UUID(s)
The current UUIDs correspond to the ones in /etc/fstab, that hadn't been
changed btw.
o check /etc/kernel/cmdline if it exists - make sure the UUID (if
used) is correct for the new root disk
root=UUID=047db84f-e100-4696-9c6b-b2e48fb11c55 ro
That points to the new (and old) root partition
o check /boot/efi/EFI/fedora/grub.cfg for correct UUID(s) - as far as
I am aware you would have to edit the file to fix
"search --no-floppy --root-dev-only --fs-uuid --set=dev
set prefix ..."
This UUID points to my /boot paretition - that should be ok?
o check /boot/grub2/grub.cfg for correct UUID(s) - you should be able
to update if needed with "grub2-mkconfig -o /boot/grub2/grub.cfg"
There was one suspicious UUID concerning the kernel resume parameter. It
pointed to a swap partition which was no longer present for a while. I
deleted the corresponding line from /etc/default/grub and updated
o update /etc/fstab with any changed UUIDs
see above
o these things get recorded in the initramfs - update with "dracut
--force --regenerate-all"  [or use "man dracut" for commands to just
regenerate a single initramfs]
I did that again, no success

In your other post, you mentioned PARTUUIDs. Frankly, I didn't know much
about them, and I definitely didn't use them.
But, as Felix had proposed in his post, I dived a bit deeper into
efibootmgr (also new to me up to know), and found out that entries point
to PARTUUIDs, in my case:
Windows Boot Manager

And I found, that two partitions (EFI, Windows) on my third harddisk
have the same PARUUID:

/dev/sdc1: LABEL="WIN" BLOCK_SIZE="512" UUID="A1C61D016294FB66"
TYPE="ntfs" PARTUUID="1ca6f5ea-cbea-11e9-a525-4ccc6ad8789c"
/dev/sdc3: UUID="BEAD-09C3" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI
System Partition" PARTUUID="1ca6f5eb-cbea-11e9-a525-4ccc6ad8789c"
I don't know if that really matters ...

users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct:
List Guidelines:
List Archives:
Do not reply to spam, report it:

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux