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.

This question already has an answer here:

enter image description here

I wanted to install ubuntu alongside windows but it formatted the disk completely, now I want to install windows alongside ubuntu, above is the link to present status of harddisk (gparted)

Please help me how to resize the partition and install windows, I am a complete newbie to linux/ubuntu as such.

share|improve this question

marked as duplicate by NikTh, Alvar, Radu Rădeanu, Eric Carvalho, Avinash Raj Jan 5 at 2:40

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
see this askubuntu.com/questions/196125/… to resize lvm2-pv partition. –  Avinash Raj Jan 4 at 14:04
    
Thanks.. but the problem for me is its the same disk where ubuuntu is booted from and secondly the lvm partition is inside(sub-partition) of extended partition sda2 –  Jagjeet Singh Thukral Jan 4 at 14:41
    
boot ubuntu live-cd and try the above link. –  Avinash Raj Jan 4 at 14:44
    
It doesn't work... bcoz most of the commands are giving errors that the disk is being used even after unmounting –  Jagjeet Singh Thukral Jan 5 at 5:46

1 Answer 1

You have an tutorial here : http://www.howtogeek.com/114503/how-to-resize-your-ubuntu-partitions/ , did you try ?

Be carreful, nou need boot to live CD/USB

Else, you can try this : How can I resize an LVM partition? (i.e: physical volume)

share|improve this answer
    
Thanks.. but gparted does not shrink a lvm partition..i have already tried this step but to no avail.. –  Jagjeet Singh Thukral Jan 5 at 5:44
    
Try this : askubuntu.com/questions/196125/… –  Nymeria Jan 5 at 11:18

Not the answer you're looking for? Browse other questions tagged or ask your own question.