Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

  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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.