gpart to change partition size for ubuntu and windows

Asked by homeskool

I have Windows 7 and I installed Ubuntu 11.10 for dual boot.

I set the partition for Ubuntu for a small size and want to use more of my hard drive for Ubuntu now.

I did open gpart to change the size of the partition but I'm not sure what partition to change and how to change it without affecting my files for windows.

Would it be better just to uninstall Ubuntu then start over or can this be done without messing anything up for my Windows OS?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gparted Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Keith Buono (strikethebag) said :
#1

I ran into a similar problem today. Go into your windows admin user and use the partition program in it. it will show the partition lables for you and how much space is alloted. you can then change it from there or use your linux partitioner. I recommend the latter. what you will need to do is free some space in windows using windows first. then repartition that free space. make sure you use the free space so the repartitioning dosen't corrupt the windows files. you can rename the space you free up so you can find it later. if you don't think you can do it, get someone to help you so your system dosen't go down the drain.

Revision history for this message
homeskool (homeskool) said :
#2

Thank you! I'll try that and post again if I run into problems.

Revision history for this message
michael (yellupcm-gmail) said :
#3

Good idea to defrag Windows, and back up important files. Can never be to safe.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

Windows7 can resize its own partitions, you can then boot to liveCD and resize the Ubuntu partition into the free space.
If you uninstall unused kernels and apps, you can free a lot of space. You should also run:

sudo apt-get clean

To free more space.

Can you help with this problem?

Provide an answer of your own, or ask homeskool for more information if necessary.

To post a message you must log in.