I just purchased a new Dell Inspiron 5558 laptop with built-in installed Ubuntu 14.04, that has a single partition and I have only one problem: I want to shrink my 1TB drive partition; this Partition has installed Ubuntu and all of my user data installed in it. I want to make a second 500GB partition.

How do I create a second partition from this single one without losing any data?

See the attached image of <code>gparted</code> output.

  • Which file-system are you using on root? ext4, btrfs? Nov 4 '15 at 15:51
  • I am using ext4, this is by default, bro Nov 4 '15 at 16:01
  • Then check the duplicate question I have given. it has the answer you require. Nov 4 '15 at 16:04
  • 1
    @WeareBorg They don't want to reinstall. Only option left is resize. They don't want to do that, they can just leave things as is instead. (They should be backing up data anyways). And what "risks" do you speak of? I've safely resized ext4 partitions multiple times from a gparted disk without any issues whatsoever.
    – Thomas Ward
    Nov 4 '15 at 16:50
  • 1
    @ThomasW. +1 --- I really can't understand how someone can live without a backup. That simply means their data is not important at all. Puzzled. (And BTW --- never had a problem with a resize also --- but You Never Know --- cat pushing the power switch anyone?)
    – Rmano
    Nov 4 '15 at 18:26

You have to boot to a LiveUSB in order to safely resize the partition. Using gparted on the LiveUSB, you can shrink the existing ext4 partition down to make room for another partition. You can then add a new partition for storing data there (if Windows needs to read it, then that new partition needs to be NTFS).

Back up your OS before messing with the partitioning though, sometimes you can lose data, although you should be OK if all you're doing is shrinking the partition (and the process doesn't get interrupted).

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