In the past, except for/boot AND/swap, the Ubuntu partition is/. Now, the/home in/is separated by the following steps: 1. start with the Ubuntu installation CD and enter the liveCD mode. All work is done in this mode. Then run the command line to start the partition tool Gparted. You must use the superuser: sudogparted2. in Gparted, you can easily adjust the partition size.
In the past Ubuntu 8.04 partition, except for/boot,/swap, that is,/, the/home in/is now separated by the following steps:
1. Use the Ubuntu installation CD to start and enter the liveCD mode. All work is done in this mode. Then use the command line to start the partition tool Gparted. You must use the superuser:
Sudo gparted
2. You can easily adjust the partition size in Gparted. It is best to back up the data in the/home partition to reduce the/capacity, and s makes the adjustment more flexible.
3. Reduce the/capacity and set the free space, including the file system format. After the adjustment, the application adjustment scheme will take a long time and you need to wait patiently.
4. after the adjustment is completed, Gparted stops working and exits. Execute sudo fdisk-l in the terminal, and you will find that there is one more disk, that is, the new one, for example, sda6.
5. Move all users in the/home directory to sda6. In liveCD mode, both/and sda6 are mounted to the/media directory, and the root user is used to complete user transfer.
6. Modify/etc/fstab, Mount sda6 to/home, and add the following line:
UUID = × ext3 relatime 0 2
The UUID of sda6 can be obtained through this command: sudo blkid
7. After restarting, the partition is adjusted.