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

1 Answer 1

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.

https://help.ubuntu.com/community/Grub2#Reinstalling_GRUB2

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. –  Elfy Apr 14 '12 at 20:43

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.