Ubuntu – Is it safe to resize home and root partition

bootgpartedpartitioningresize

I'd like to shrink my root partition as it is 20gb and I only use 5-6 gb. I was going to shrink it with gparted and use the free space for my home partition (root and home partitions are sda6 and sda7 respectively). But upon choosing the new size for the home partition, gparted mentions that when resizing the partition containing '/boot', linux might be unable to boot. As I don't know much about it, I ask here whether I can continue resizing the partitions without having to risk to re-install ubuntu again. Also, if this ain't possible, how should I resize my partitions as I need more space for '/home'.

thanx in advance

Best Answer

Ignore the warning, it is obsolete. With a correctly installed grub ( Ubuntu does it correctly ), resizing isn't a problem.

Note that assuming your /home partition comes after your / partition, all of the data there will first have to be moved to the left and then the partition extended. Depending on the size of /home, this can take quite some time, and if it is interrupted ( power fail? ), the whole fs will be trashed.

Related Question