Decrease Windows partition and increase Ubuntu partition data loss?

by Super12464   Last Updated June 25, 2019 13:02 PM

I currently have no space left on my hard drive, but I want to increase my Ubuntu partition which would also require me to decrease the size of my Windows partition, but will doing this with Gpart or the standard windows partition manager cause any loss of data? If it will, is there a safe way of doing this?



Answers 3


You may want to double check, but I think you would want to use Windows to make its own partition smaller, and linux to use up that free space afterwards.

Duncubuntu
Duncubuntu
June 09, 2014 00:10 AM

Only use Windows partition manager to reduce the size of that partition. Windows 8 (and probably windows 7) will shrink its partition while the operating system runs, and ensure that there is minimal data loss. There is always a possibility that this will not work, so backup what you need to.

GParted can be used to increase the size of, or add a partition to, your Ubuntu system. You will probably need to boot from a live CD (or USB) to be able to perform this task, and it does take a goodly amount of time to complete. After booting from the USB, open a terminal and type

sudo apt-get install gparted

which will install gparted onto your USB. You can then run the program from the USB to dismount the HDD Ubuntu partition, resize it, and remount it.

Charles Green
Charles Green
June 09, 2014 00:16 AM

Before shrinking a Windows volume,it's a good idea to use Windows disk defragmentation before shrinking the partition, as Windows will put the files together at the beginning of the disk.

Then, as others mentioned earlier, you can use gparted, but also you must have ntfs support:

sudo apt install ntfs-3g ntfs-config gparted -y

Also, be sure your Windows 10 is completely turned off and don't forget to turn off fast startup as it will otherwise lock the disk.

Then boot into Ubuntu and use gparted.

xCovelus
xCovelus
June 25, 2019 12:33 PM

Related Questions





Allocation Unit Size for New Drive

Updated September 20, 2017 00:02 AM