3

I've got a installation of Ubuntu running on a 3TB disk, during the installation I chose to use all of the available space (I don't remember if I checked LVM).

What I want to do now is shrink the partition to 2TB, and have 1TB as unallocated space , as eventually it will be used for storage for the main OS. I don't know how to do this, as it's the actively used partition, I tried to "Move/Resize" in Gparted, it let me go to 316mb then wouldent let me go further.

Could you please tell me:

1) How to shrink my hard disk to 2TB

2) How to save that unallocated space as storage, and "Mount" it to my Primary OS.

If you require further info, please ask.. Otherwise, please help!

Alex H
  • 31

3 Answers3

2

Your problem is related to the fact you can NOT change an active partition. Using a live dvd will not mount your partition giving you the possibility to shrink or enlarge primary partitions.

Shrinking is only possible for the amount of FREE space on the partition. And the more data is on the disk the longer it will take (since it will be moving files to space part of the new size). Also make sure to empty trash. If you never delete trash it piles up still using your disc.

Rinzwind
  • 309,379
2

I found a similar question here, but partition-growth centric.

Most important are the tools used. The drive must be unmounted, so to do this you could use a live CD.

Howtoforge hosts a howto, linked below: "If you want to resize partitions on production systems, please back up your data before, because it is possible you lose all your data if you don't calculate the size of your new partition correctly (especially when shrinking a partition)!"

A link about sizing partitions directly follows that disclaimer.

all of the commands must be run as super user, so, when you boot from the Live Disk, open the terminal and just run

sudo su

NOTE: If by main OS you mean Windows, know that when you install windows it will override the grub bootloader, so you may need to reinstall a (good) nother bootloader to boot your other 2TB of Ubuntu.

sage a.
  • 31
1

You can create a LiveUSB of Ubuntu and run gparted from it to resize your hard drive.

Since you have installed Ubuntu on your Primary partition, you won't be able to unmount it as long as you are running the operating system off it and, as a result, are unable to resize it.