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'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

share|improve this question
add comment

4 Answers

up vote 1 down vote accepted

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.

share|improve this answer
add comment

Resizing usually works, and although rare, problems can occur. Back up your data first and you probably need to resize in steps (resize / -> apply changes -> resize /home -> apply changes).

share|improve this answer
    
ok, thanks for your advice. I always do backups before repartitioning, but thanks for pointing it out. I'll do as you say tomorow. Also, can I do this from gparted runing on ubuntu, or should I better use a live-version of gparted? –  wouter205 Jan 19 '12 at 18:43
    
You can not resize a partition if it is in use, so you will need to resize / and /home from a live CD. Well, you could work around /home, but as you need to resize / in a live CD anyways, not worth the effort. –  bodhi.zazen Jan 19 '12 at 19:10
add comment

You can always resize from a liveCD/USB, just remember, only do one task at a time. And don't use any other programs than gparted.

If you don't change the beginning of the root partition (just cut space from the end) there won't be any boot problems.

If you messed up your boot, you can correct it from a live cd/usb with this application: Boot-Repair

share|improve this answer
add comment

i also had the same doubt...use gparted from live CD/USB Stick....it should not cause problems when 1 task is done at a time

share|improve this answer
add comment

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.