Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need some guidance with partitioning my machine which is running Ubuntu 11.10. I have try using gParted within Ubuntu, but I keep getting a root access error. Eventually, after a few hours of tinkering, I managed to get gParted to load. The problem now is that when i try to unmount HDD through gParted, in order to partition it, I am unable to do so. Help. :(

share|improve this question

If you are in ubuntu trying to unmount the system partition, you'll have trouble.

You need to do so through a livecd or liveusb - the one you used to install ubuntu has gparted. Boot with that to work with the install.

Be aware that once you have partitioned and installed windows you will need to reinstall grub.

Once you have resized the system partition to allow for windows I would check that the UUID has not changed.

Run the following command before and after you run gparted then compare the UUID's.

sudo blkid

If the partiton which has Ubuntu on has changed you will need to edit fstab.

share|improve this answer
The result was this: /dev/sda1: UUID="28bf9d20-b732-423f-875c-01e4ecfcc1e8" TYPE="ext4" – Nyx Apr 14 '12 at 20:37
How can i know if the partition has changed? – Nyx Apr 14 '12 at 20:37
Run it again after the resize operation. – 23 93 26 35 19 57 3 89 Apr 14 '12 at 20:43

Your Answer


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.