On 11/23/26 3:46 AM, Barry wrote:

On 23 Nov 2026, at 04:58, Robert McBroom via users 
<[email protected]> wrote:

Installed f45 workstation from live usb. Trying to fix a boot problem. The 
install is on a btrfs system I see /home and /root on the partition.

used the following sequence of commands

mount /dev/src /mnt/sysimage                                for the system 
partition

mount /dev/btpft /mnt/sysimage/root/boot          for the boot partition

mount /dev/efipt  /mnt/sysimage/root/boot/efi    for the efi partition

for dir in /dev /proc /sys; do mount --bind $dir /mnt/sysimage/root/$dir;done

chroot /mnt/sysimage/root

ls -l shows the expected directory

grub2-mkconfig -o /boot/grub2/grub.cfg    fails with not being able to find /

What changes do I need to do to successfully rebuild grub.cfg
I think you are missing the mount options to pick the btrfs subvol to mount for 
/.

Barry

Found the mount sequence for btrfs with subvolumes

mount -t btrfs -o subvol=root /dev/sdx3 /mnt/sysimage
mount -t btrfs -o subvol=home /dev/sdx3 /mnt/sysimage/home
mount /dev/sdx2 /mnt/sysimage/boot
mount /dev/sdx3 /mnt/sysimage/boot/efi

success

--
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to