Answer the question
In order to leave comments, you need to log in
How can I move the system from one partition to another?
I have two partitions:
/dev/sda1 20G /
/dev/sda9 68G /dev/sda9 68G /dev/sda9 68G where I want to move the system to have more space
How can I do that?
I had an idea to do rsync and then change /etc/fstab /dev/sda1 to /dev/sda9.
What files / folders can not be copied? For example, I can't copy /proc/kcore.
Answer the question
In order to leave comments, you need to log in
Use dd. Make an image of the root partition and write to a larger partition, then resize the FS.
And why not resize and move the partitions through GParted?
exclude /dev /lost+found /proc /run
plus look at the output of df and exclude all unnecessary mounts.
as an option to boot from live-sd. your root is used in it, the excess is not mounted. you mount it and the section where you are going to copy. sink the root there.
also in live-sd you edit fstab, and after chrooting to a new root and "restoring" rough from there - it will correctly prescribe the boot from the new partition. (google - a lot of information).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question