Hi Guys,
Some time ago with a great deal of help from Mark I managed to set up a dual boot system on my ageing Dell Inspiron 1540 Laptop, I would now like to increase the amount of disk space that is available to Peppermint4. The system is Peppermint 4 (64 bit) dual booted with XP. The laptop has a 120GB hard drive but only 7GB is devoted to Peppermint. Can I fairly simply change the amount available? The remaining 113 GB has some 50GB unused.
Sorry if this is rambling and unclear but your help/advice would be appreciated.
Hope this output helps:
derek@derek-MM061 ~ $ sudo fdisk -l
[sudo] password for derek:
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xe686f016
Device Boot Start End Blocks Id System
/dev/sda1 * 176715 220492124 110157705 7 HPFS/NTFS/exFAT
/dev/sda2 220493822 234440703 6973441 5 Extended
/dev/sda5 220493824 231315455 5410816 83 Linux
/dev/sda6 231317504 234440703 1561600 82 Linux swap / Solaris
derek@derek-MM061 ~ $
Yes you can resize your partitions using gparted but you would need to boot into a live CD
It wouldn’t do any harm to backup any important data on both the Windows & Linux installations first and I believe you should defragment the Windows partition as well before proceding
Thanks, Graeme and Sezo for your advice, will work my through it, I do have everything backed up anyway, but will double check. It would not be a total disaster if I do cock up and lose XP as I have only booted it about twice since installing Peppermint, would just prefer to still have it there just in case there is something obscure I might need it for before the support ends. Will get back to you if I need further advice,
Thanks,
Degsy
P.s. May take a while for me to get through your advice so bear with me.
Haven’t actually done the repartitioning yet, just reading through the instructions and came across the grub comment, so thought I would ask about it before I got to the situation of not knowing what to do, sorry but I am not a techie.
Hi Guys,
Finally got around to trying out your suggestions as above but am having problems.
Used a live Peppermint 4 CD to boot up and fired up GParted from it, no problem.
Resized /sda1 from 105.05 GiB to 59.51, no problem.
Tried to move /sda2 to left and grow into space and I continually get an error message saying “not allowed overlapping partitions”. Can someone please explain whatever it might be that I am stupidly doing wrongly?
Many thanks in anticipation of your help in this matter.
Ok, thanks Mark, started again, no problem shrinking /sda1, then tried expanding /sda2to the left using the double headed arrows, but almost immediately got the error message, "unable to satisfy all constraints on the partition. Can’t have overlapping partitions.
Your further thoughts would be appreciated.
Mark, on shrinking from the right the following warning was given: Moving a partition might cause your operating system to fail to boot. You have queued an operation to move the start sector of the partition /dev/sda1 Failure to boot is most likely to occur if you move the GNU/Linux partition containing /boot or if you move the Windows system partition C:"
Comments please.
Sorry, misread your instruction, however have now done the shrink from the right to the left, no problem, but again trying to expand sda2 into the free space results in the overlapping partitions error
First lets see the current state of the HDD (from a LiveCD)
sudo fdisk -l
[EDIT]
Come to think of it, it is possible that you need to disable the Swap partition first.
In Gparted, right click on the Swap partition and click on Swapoff.
Then try to move the extended partition to take up the slack in front of it.
Hi Sezo,
Ran sudo fdisk -l from live cd, the output was identical to the original I posted in first post of this thread except for /sda1 end now reads 220491775 and blocks now reads 110157530+ all the rest is identical. Hope this is helpful.