Can't boot after notebook migration

Hello to all! I bought a new notebook and I tried to preserve my old installation(Leap 15.3 currently), the old notebook was set on legacy and had HDD.
I did the follow steps:

  • Follow install GUI and partition disk on swap, home, old_so and new so
  • I rsync from old notebook to new notebook on old_so partition
  • Update fstab and /etc/default/grub on old_so
  • Execue grub2-mkconfig -o /boot/grub2/grub.cfg

Then, I check /boot/grub2/grub.cfg and found old disk uuid on entries for old_so, I fix it manually and then try to boot old so. It fails and give me a rescue shell, journalctl at the ends show repeatly dracut-initqueue timeout - starting timeout scripts

Both / are btrfs and home is xfs.

Any ideas?

Thanks in advance

I miss step where you actually install bootloader. grub2-mkconfig does not do it.

I have 2 os on same notebook: a fresh install, and old_os. Bootloader was configured by the os installer(In fact, I have no problems to boot on the new os). If I was supposed to have configured something, I didn’t :shame:

Hello, I “fix” the problem. First, I have re-edit grub.cfg, I don’t know if this help but I add

load_video
setgfxpayload=keep
insmod gzio

Then, I have to re-edit fstab because old_so didn’t recognize the /home and /boot/efi partitions. This give me a real console on my old_os and not just a rescue terminal. Finally, I have to fix a driver video issue, cp’ing /etc/X11/xorg.conf.d from new_so to old_so do the magic.

Probably I remains having some little issues and have to move grub to the old_so and delete new_so, but I hope this part will be easy.