On 25. 12. 21 01:16, Sam Varshavchik wrote:
cen writes:

# copy partition map from good disk to new disk
sfdisk -d /dev/sde | sfdisk /dev/sdd

This only works if the new disk is identical to the old one, geometry-wise.

Otherwise you can simply create partitions of the same size using parted, on the new drive.

By geometry you mean block size or something more?

# install bootloader on new disk
grub2-install /dev/sdd1

This should be /dev/sdd.
Thanks, precisely the thing I was afraid of doing wrong.
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to