Can move unallocated space to my linux partition , urgent

enter image description here

That's the condition of my disks seen from live ubuntu cd.

On /dev/sd8 my ubuntu os is Installed

On /dev/sd1 windows 7 is Installed.

And i want to merge the unallocated space on top of /dev/sd7 to my ubuntu partition because I'm running out of space.

I tried solutions mentioned in internet but i couldn't figure out how to do it.

3

1 Answer

This should strait forward: Delete the swap partition on /dev/sda7 and then resize the ext4 on /dev/sda8.

There is one important step before that: The live CD auto mounts the swap space, so you need to disable swap before you can remove the partition:

$ sudo swapoff

An then you can remove the swap space. If you have enough memory, you don't need it anyway. With only 2GB you will need a swap partition. So after deleting the swap partition and resizing/moving /dev/sda8, boot Windows and shrink /dev/sda5. Than you can create a new swap partition. Ubuntu doesn't care were it is.

Also shrinking the /dev/sda5 partition might be a good idear anyway, since it would solve all your problems.

7

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like