Jump to content

Linux: Difference between revisions

334 bytes added ,  21 January 2023
Line 820: Line 820:
</syntaxhighlight>
</syntaxhighlight>
}}
}}
==Cloning to a new disk==
The easiet way is to use gparted.
To copy a root partition, make sure you change the following:
* Update the UUID and mount options in <code>/etc/fstab</code>
* Update the UUID in <code>/boot/grub/grub.cfg</code> and run <code>grub-update</code>
* Update the UUID in <code>/boot/EFI/ubuntu/grub.cfg</code>