On 3/18/20 12:04 PM, Patrick O'Callaghan wrote:
On Wed, 2020-03-18 at 11:09 -0400, Robert McBroom via users wrote:
> Cloning Fedora 31 on different computer. Fixed the UUID entries in
> /etc/fstab, /etc/grub2.cfg, /boot/grub2/grubenv, but attempting to start
> finds an entry for the original / UUID and drops into dracut. dracut
> seems to implicate initramfs as the location of the legacy UUID and says
> regenerate it.
>
> I can use a live system to chroot to the new filesystem and do any
> necessary edits.
>
> Is there a way to edit or regenerate initramfs?
sudo dracut -f --kver `uname -r`
The kernels from a cloned system areĀ far
different from what is
executing by doing a chroot from a live system, so `uname -r` is not useful.