Resize partition in linux (dual-boot)

ablabs

New Member
hi people,

i really dont have any experience with dual-booting. but i have dualbooted my new pc with windows 7 pre-installed with linux mint.
since i dont have many experience i didnt know what way to partition my hard drive and let the linux installation do it for me.
all turned out good except for that linux now uses 500 of my total 750 GB of memory.
it seems that i cant resize that partition from windows, because i dont have the rights to do that or something..

so i tried it from linux with gparted, but now i dont know what to do. let me show you:
10231295

i think i dont know how the image thing works, so :
http://picturepush.com/public/10231295
so i want to shrink the ext4 partition to enlarge my partition for windows data. (ntfs i believe)
so when i trie to unmount ext4 it gives me an error because of the mounit point.

so my question here is how to fix this? i think i can unmount the second ntfs and linux-swap without taking too many risk. so that i can unmount and resize ext4 afterwards. but as i said i dont know much about this..
so please tell me what to do.

great thanks in advance!
 
Last edited:
Did you install GParted on Linux Mint and then try it from there? If so, that's your problem. You're going to need to find a Live CD with GParted on it and try it from there.
 
okay i used gparted live on an usb to unallocate about 450GB.
but neither from gparted or from the standard windows disk management i can enlarge my OS(C:) partition. so i tried making a new partition of that unallocated space to store my data on. that works fine so there isnt that much of a problem, except for that i problably will be intalling quite some programs, which would be easier just doing on my C drive. So if there someone that knows how to enlarge my C drive without having to delete any partitions/data i would like to know. otherwise: lucas, thank you very much:)
 
All you need to do is drag your Linux partition and make it smaller, and then drag your main C drive over to make it larger in place of the free space you now have.

When you shrink your Linux partition, you need to first shrink the Linux OS partition, then shrink the extended partition Linux is housed in (because it creates two partitions layered on each other). Then you will successfully be able to extend your Windows partition.
 
voyagerfan99, as i said, i dont know much about this. so i dont entirely knwo what you mean.. however since i thought you meant i had to go into gparted again. i first removed my newly made partition (with no data on it) and shut down my pc.
so i started up my pc again but forgot to use my usb with gparted on it, so just tried to boot into linux. but now it said: Error: unknown filesystem; grub rescue!!!
fortunately i didnt have much data yet on linux. so i think i have to install linux again, dont i?
 
Yes, you'll need to reinstall Linux now. This will make life a little easier though. When you install Linux Mint, choose the dual boot option, and make the partition sizes yourself by dragging the slider around to size the partitions as you'd like them. Hold on, I'll boot to a live CD and take a screenshot for you.

Granted this is from LM9, but it should be similar: Just drag the slider to allocate partition sizes for the two OS'.
captureues.jpg
 
Last edited:
Just checked LM13. It's similar. Just drag the slider to select how large you want your partitions.

scaled.php
 
Oh wow, that looks real easy!
I thought you world have to create all partitions yourself, which i dont know how to do.. Okay i Will try that then.
Only problem now is that i have to uninstall/remove my old Linux.
I googled This problem and saw that you can remove partitions Linux uses and that the only problem is the bootloader or something?
When i boot my pc it automatically boots into Windows except for when i press escape to select Linux. So Will This be à problem for me?

Or is it easy to just install Linux and remove the partitions while doing the linux installation?
 
In Windows 7, go into Disk Management and just delete all the Linux partitions (right click > Delete) then right click the Windows 7 partition and mark it as the active partition. Then just boot to the Linux CD and reinstall Linux Mint.
 
aaarhg! why wont it work!
so i deleted the linux partitions and somehow was able to enlargen my C partition with that new free space.
burned an linux mint iso on an usb and installed linux as you said.
all looked okay and my hard disk was partitioned well (although i did have 1 very small partition of 1mb that i didnt have before)
i had to reboot my pc to have the installation take effect, and again: Error: unknown filesystem; grub rescue

what the * do i do know?
 
i tried again. and again that error while booting...
so frustrating!
btw, what i forgot to in my last post is that when i boot up in windows again i takes some time to check if the C drive is ok, or something like that. that also happened this time.
 
That's normal when the Windows drive changes size.

As far as your booting issue, someone more familiar with Linux will need to help you with that.
 
Back
Top