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 had Windows 8 installed on my system, which I screwed up, and now I run Ubuntu 12.04. While installing, Ubuntu used all the 461 GB of HDD space (one partition).

Now I want to make a new partition of maybe 100 GB or so, in order to install Windows 7 alongside Ubuntu (with a dual-boot). But I can't even get a partition done. I can't change the partition in GParted either - the option is disabled.

share|improve this question
    
please attach the output of sudo fdisk -l –  Aaditya Bagga Sep 14 '13 at 17:23

1 Answer 1

You cannot resize a partition while it is in use (mounted). Hence its greyed out.

To resize your partition, you would need to boot from your Ubuntu 12.04 LiveDVD,

open Gparted, and then resize your Ubuntu partition.

Depending upon your current partition setup, you may want to shrink different partitions

If you have a large home partition (/home), you may shrink it by 100 gb, and in the free space created, create a ntfs partition which you could use for Windows.

Post your output of

sudo fdisk -l

so that I could better advice you in partitioning.

Edit-

As you stated that you only have single partition, just resize (shrink) it by 100 gb.

share|improve this answer
    
"Ubuntu used all the 461 GB of HDD space (one partition)."? Doubt you need more information... –  Braiam Sep 14 '13 at 17:39
    
no swap partition even ? perhaps.. –  Aaditya Bagga Sep 14 '13 at 17:41
    
@Braiam, point taken, thnx. –  Aaditya Bagga Sep 14 '13 at 17:43
    
When I run the sudo command it asks for a password but never inputs it when I type. –  Rahul Sep 16 '13 at 3:57
    
the password will be typed but it will not be displayed. This is a security feature. So when asked, just type your password and press enter. If the password is correct, it will be accepted and command will execute. –  Aaditya Bagga Sep 16 '13 at 8:33

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.