Ubuntu – How do i shrink and divide the ubuntu partition after installing it alongside windows XP

11.10partitioning

i wanted to shrink the partition of my ubuntu to 20gb after i used the "install alongside windows" option and divided my HD into 2 partitions: (WINOS-60gb, ubuntu-100gb) my goal is to split HD into 3 partitions: WINOS-60gb, ubuntu-20gb, storage space-80gb. how do i do this?

Best Answer

  1. Back up your data first. Resizing your partitions usually goes without any problem, but there is always a small chance something will go wrong and you will need to restore from backup.

  2. Boot the live, desktop CD.

  3. Unmount your swap partition, either from gparted or from the command line.

    sudo swapoff -a

  4. Start gparted and reduced the size of your Ubuntu partition -> apply changes -> make a new data partition -> apply changes.

  5. When you boot Ubuntu you may want to add the new partition into fstab.

If it is a ntfs partition, use the following options:

/dev/your_data_partition  /media/data  ntfs-3g auto,permissions  0  0

You can then set ownership and permissions with chown and chmod

See:

https://help.ubuntu.com/community/Fstab

https://help.ubuntu.com/community/FilePermissions

Related Question