Moving Fedora system to new disk

Timothy Murphy gayleard at eircom.net
Thu May 29 11:31:42 UTC 2014


Heinz Diehl wrote:

>> I'm planning on moving the Fedora-20 system on my laptop
>> to a new hard disk (500GB instead of 80GB).

> I've done that quite often, and it's no problem.
> 
> 1. Boot from an external medium, e.g. www.sysresccd.org
> 2. Mount both disks
> 3. Use "rsync -avxHSAX /source/ /target" to copy the partitions
> 4. Install grub2 on the new disk:
>    - mount /dev/sdaX /mnt
>    - grub2-install --root-directory=/mnt /dev/sda
>    - grub2-mkconfig -o /mnt/boot/grub2./grub.cfg
> 
> Reboot, and you're done.

Don't you have to correct UUIDs in /etc/fstab on the new disk?

-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
School of Mathematics, Trinity College, Dublin 2, Ireland




More information about the users mailing list