You are not logged in.

#1 2021-12-18 14:21:27

Automath
Member
Registered: 2016-05-16
Posts: 115

How to correctly clone a functional arch-linux system installation?

Please help me, my system partition isn't booting and I fear that the slightly fsck would break it.

I still don't dominate this technique and sometimes works and sometimes it doesn't.

I made a full backup of my system partitions with ddrescue:

 ddrescue -r3 /dev/sdX /dev/sdY 

It's a uefi gpt partition and it  didn't get listed at uefi menu so it didn't boot, so I reinstalled grub:

grub-install --target=x86_64 ...
grub-mkconfig /boot/grub/grub.cfg

didn't boot so I reinstalled image hooks:

mkinitcpio -p linux

but I think that the magik phrase has a missing parameter because I couldn't boot the clone. The curious thing is that the bios show's the partition as bootable but removes it after first boot failure, damn uefi systems, I don't understand them!

Offline

#2 2021-12-18 19:38:19

Automath
Member
Registered: 2016-05-16
Posts: 115

Re: How to correctly clone a functional arch-linux system installation?

Solved, don't try to kick a dead horse. If you did all this and the disk won't boot, the disk is failed, backup and replace.

Offline

Board footer

Powered by FluxBB