Home Blog Archive Software Ubuntu: Home move – how to

Ubuntu: Home move – how to

  • Oct 01, 2025
  • 512
  • 0

The space on your hard disk is too tight, you can move in Ubuntu with "Home" on another Partition. How to do this, we will show you in this practical tip.

Home move under Ubuntu so it works

Before the move, you should make a Backup of the Home directory. The directory is on the system partition.
  1. First of all you should find out if the selected Partition is not large enough for the Home directory. You therefore start the Terminal and type the command "du-sh /home". So you know the size of the Home directory of the new Partition should have at least this volume.
  2. To avoid unwanted side effects, you must log out of the graphical user interface. Press the key combination [Ctrl]+[Alt]+[F1] to the text console and log in with your user name and password.
  3. For the following commands, you need Root-rights. You can get it temporarily by typing the command "sudo-s cd/".
  4. You can use the command "fdisk -l" is a list of the existing partitions and make a note of the name of the desired Partition. In our example it is "/dev/sda5". For the following commands, replace this with the name of your own Partition.
  5. With the command line "mkdir /mnt/tmp mount /dev/sda5 /mnt/tmp" mount the Partition on the mount point.
  6. Start copying with "rsync -avx --progress /home/ /mnt/tmp". Very important is the Slash at the end of "home is here": Without this you can not only copy the contents of the folder, but the folder itself.
  7. Then you can mount the Partition with "mount /dev/sda5 /home" in the /home directory. With "du-sh /home; mount|grep /home" allows you to check that everything was copied correctly. As an output, then the size of the Partition should be (in our case 2.5 GB) and the following: "2.5 G /home /dev/sda5 on /home type ext3 (rw)"
Ubuntu: open Terminal

So you use the new Home Partition

  • The old /home directory, you can delete it now. The command for this is: "umount /home rm-rf /home/*".
  • The new Partition to be integrated into the system start-up, you need to determine the UUID with the command "blkid". As the output shows "[...] /dev/sda5: UUID="YOUR ID number" TYPE="ext3" [...]" Instead of "identification number", you should have a number and letter combination to see. Copy this UUID and enter it with "UUID=YOUR identification number /home ext3 defaults 0 2" in "/etc/fstab".
  • This step you can perform before you go to the console level, and the Home directory move. Since /etc/fstab is on every system start to read, you can edit it easily from within the running System.
In a further practical tip around Ubuntu, we will show you how to use the installation process to view can.

YOU MAY ALSO LIKE

0 COMMENTS

LEAVE A COMMENT

Human?
1 + 3 =