Code:
[root@localhost ~]# sudo mkdir /mnt/maps
[root@localhost ~]# sudo mount /dev/mapper/fedora00-root /mnt/maps
[root@localhost ~]# sudo mount /dev/sda8 /mnt/maps/boot
[root@localhost ~]# sudo mount /dev/sda1 /mnt/maps/boot/efi
[root@localhost ~]# sudo mount --bind /dev /mnt/maps/dev
[root@localhost ~]# sudo mont --bind /proc /mnt/maps/proc
sudo: mont: command not found
[root@localhost ~]# sudo mount --bind /proc /mnt/maps/proc
[root@localhost ~]# sudo mount --bind /sys /mnt/maps/sys
[root@localhost ~]# chroot /mnt/maps
[root@localhost /]# grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
Generating grub configuration file ...
WARNING: Failed to connect to lvmetad. Falling back to device scanning.
WARNING: Failed to connect to lvmetad. Falling back to device scanning.
Found linux image: /boot/vmlinuz-4.18.16-300.fc29.x86_64
Found initrd image: /boot/initramfs-4.18.16-300.fc29.x86_64.img
Found linux image: /boot/vmlinuz-0-rescue-2d4676bd015b4f5abbaf0c2cf564f92b
Found initrd image: /boot/initramfs-0-rescue-2d4676bd015b4f5abbaf0c2cf564f92b.img
WARNING: Failed to connect to lvmetad. Falling back to device scanning.
WARNING: Failed to connect to lvmetad. Falling back to device scanning.
device-mapper: reload ioctl on osprober-linux-sdc1 failed: Device or resource busy
Command failed.
done
does this mean that the entire command failed, even though it generated several images?
rebooting after exit still just loaded the live linux