Peppermint OS Community Forum

Support => Advanced Topics => Topic started by: zebedeeboss on September 01, 2015, 04:51:19 am

Title: re-designing partitioning on drive that holds Linux
Post by: zebedeeboss on September 01, 2015, 04:51:19 am
Hi

I have a number of partitions that I now want to get rid of and just have Peppermint6 and A.n.Other distro installed.   This will allow me to re-size the partitions as well.

Is it a simple case of removing the older partitions and moving root and home to a new location and with a bigger size ? Currently 12 / 24   I was thinking 25 and 75. bios_grub (I cant remember why I created a grub_bios partition {maybe whilst distro hopping one of them needed it}) and swap will stay where they are.  I am also assuming I will have to do this with a separate booted gparted ISO USB stick

I seem to remember being able to do something like this in GParted ?  http://gparted.org/display-doc.php?name=moving-space-between-partitions (http://gparted.org/display-doc.php?name=moving-space-between-partitions)

Worst case scenario... re-install Peppermint

Advise and guidance please  ;D
Title: Re: re-designing partitioning on drive that holds Linux
Post by: Slim.Fatz on September 01, 2015, 06:19:32 am
Hi zebedeeboss,

Your link looks very good. Gparted is the way to go and you are best to run it in from a live session (e.g. from your Peppermint Six USB installation medium) because you should NEVER modify a mounted partition (like the one running Peppermint Six after booting into the installed version).

As AndyInMokum will confirm: backup, backup and BACKUP  your important data just in case some does go wrong!

If you end up moving your Peppermint Six root (/) partition you will need to go into grub and have it point to the new partition (it will have a different name if you move it: for example it might have been on /dev/sda5 and after resizing & deleting partitions and then moving Peppermint Six to a new partition (let's say it now is on /dev/sda3) then grub will not know this unless you change the scripts or reinstall grub).

Have fun and don't forget: backup!

Regards,

-- Slim
Title: Re: re-designing partitioning on drive that holds Linux
Post by: zebedeeboss on September 01, 2015, 08:12:03 am
Thanks Slim.Fatz

That all went swimmingly well.  One quick trip into a grub rescue iso to boot into Peppermint 6.

Then used Grub-customizer to re-find everything and re-install grub  and viola....  here we are and all seems good and Well.
Title: Re: re-designing partitioning on drive that holds Linux
Post by: PCNetSpec on September 01, 2015, 08:26:54 am
Great stuff guys .. happy it all went well and you're back with us with a larger Peppermint.

Actually, now you have a larger Peppermint, can I have some of it .. I only have half a Peppermint on my menu button and I want a full one.
Title: Re: re-designing partitioning on drive that holds Linux
Post by: zebedeeboss on September 01, 2015, 11:34:35 am
Help yourself big fella   ;D ;D ;D

(http://images.wisegeek.com/three-peppermint-candies.jpg) seems apply named too  :P
Title: Re: re-designing partitioning on drive that holds Linux
Post by: PCNetSpec on September 01, 2015, 12:01:52 pm
(https://dl.dropboxusercontent.com/u/11876059/roflmao.gif)
Title: Re: re-designing partitioning on drive that holds Linux
Post by: Slim.Fatz on September 01, 2015, 12:22:11 pm
WOW!! I'll take some of that as well!!

Regards,

--Slim
Title: Re: re-designing partitioning on drive that holds Linux
Post by: PCNetSpec on September 01, 2015, 12:30:34 pm
That's better....

(http://i.imgur.com/wH2Oa01.png)