Solved Mint 17.3 low on disk space
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Solved Mint 17.3 low on disk space
Hi all,
I have a Dell Optiplex 780 running Mint 17.3. I have used this OS for several years now. I originally was setup to dual boot Win XP Pro. each partition was about 40 gig out of a total of 320gig. About a year ago I got rid of Windows and now I'm down to about 9gig of space left for Mint. Attached is a screeprint of my hard drive.
I would like to add/merge the 240gig partition to my Mint file system without losing any data. Would someone be so kind as to show me how to do this? Many thanks in advance. I have Gparted installed.
I have a Dell Optiplex 780 running Mint 17.3. I have used this OS for several years now. I originally was setup to dual boot Win XP Pro. each partition was about 40 gig out of a total of 320gig. About a year ago I got rid of Windows and now I'm down to about 9gig of space left for Mint. Attached is a screeprint of my hard drive.
I would like to add/merge the 240gig partition to my Mint file system without losing any data. Would someone be so kind as to show me how to do this? Many thanks in advance. I have Gparted installed.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
- catweazel
- Level 19
- Posts: 9763
- Joined: Fri Oct 12, 2012 9:44 pm
- Location: Australian Antarctic Territory
Re: Mint 17.3 low on disk space
Nobody can guarantee that you won't mess something up. Backup your treasured stuff before proceeding. You will need to delete the 240GB partition and extend the extended partition into that space, then delete the swap partition, then extend partition 5, then recreate swap. I doubt you'll come out unscathed. The alternative is to mount the 240GB partition and soft link to it from your /home directory. This option will save you lots of potential heartache.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Re: Mint 17.3 low on disk space
Another alternative to finagling with the partitions or symlinks is to move the /home folder to that partition
sudo du -sh /home/
will show how much space that folder is using.Re: Mint 17.3 low on disk space
Since it is only smart to backup your treasures I think it would be easier to just re-install after the backup.
"Tune for maximum Smoke and then read the Instructions".
-
- Level 1
- Posts: 41
- Joined: Fri Dec 22, 2017 12:03 pm
Re: Mint 17.3 low on disk space
I assume Mint 17.3 and your home directories are on Partition 5 and you want to expand partition 5 by using partition 1. Do you currently have anything on partition 1 that you want to keep? If there is you will need to back it up because you are going to lose everything on that partition.
You mentioned Gparted, and you can use that to accomplish the steps catweazel outlined for you. The safer alternative he mentioned keeps your OS on partition 5 and places your home directory on partition 1. You would need to use a program like rsync to copy the contents of your home directory to partition 1. Then edit your /etc/fstab file and add a line to mount partition 1 on /home. After rebooting and making sure your home directory is working from partition 1, you can unmount it and delete the original copy on partition 5 to free up the space.
Another possible solution is to move everything from partition 5 to partition 1 and delete partition 5 as you have your 41 GB of Free Space. I assume that used to be windows. You would then be running Mint 17.3 and your home directories on the 240 GB of partition 1. If you chose this option you will need to edit your /etc/fstab file so / is mounted on partition 1 instead of partition 5. You will also need to reinstall grub from partition 5 with grub-install or you will end up with a system that will no longer boot.
You mentioned Gparted, and you can use that to accomplish the steps catweazel outlined for you. The safer alternative he mentioned keeps your OS on partition 5 and places your home directory on partition 1. You would need to use a program like rsync to copy the contents of your home directory to partition 1. Then edit your /etc/fstab file and add a line to mount partition 1 on /home. After rebooting and making sure your home directory is working from partition 1, you can unmount it and delete the original copy on partition 5 to free up the space.
Another possible solution is to move everything from partition 5 to partition 1 and delete partition 5 as you have your 41 GB of Free Space. I assume that used to be windows. You would then be running Mint 17.3 and your home directories on the 240 GB of partition 1. If you chose this option you will need to edit your /etc/fstab file so / is mounted on partition 1 instead of partition 5. You will also need to reinstall grub from partition 5 with grub-install or you will end up with a system that will no longer boot.
Re: Mint 17.3 low on disk space
don't over-complicate this.
run Gparted from a live medium
1. expand the boundary of the Extended partition all the way to the left.
2. move the partitions within all the way to the left
3. move the boundary of that Extended partition over as desired.
now the un-formatted area adjoins the BIG 240...
4. expand the 240 to consume it all
yes it is slow, but it works.
Yes, backup first... but that is a given.
Personally I prefer GPT partition tables, much smaller partitions (purpose specific)...much more flexible. And I would make a fresh install.
alternatively the partitions can be Copied to another drive and Copied back as desired.
Gparted does it all, simply.
run Gparted from a live medium
1. expand the boundary of the Extended partition all the way to the left.
2. move the partitions within all the way to the left
3. move the boundary of that Extended partition over as desired.
now the un-formatted area adjoins the BIG 240...
4. expand the 240 to consume it all
yes it is slow, but it works.
Yes, backup first... but that is a given.
Personally I prefer GPT partition tables, much smaller partitions (purpose specific)...much more flexible. And I would make a fresh install.
alternatively the partitions can be Copied to another drive and Copied back as desired.
Gparted does it all, simply.
Peter
Mate desktop https://wiki.debian.org/MATE
Debian GNU/Linux operating system: https://www.debian.org/download
Mate desktop https://wiki.debian.org/MATE
Debian GNU/Linux operating system: https://www.debian.org/download
Re: Mint 17.3 low on disk space
+1sdibaja wrote: ⤴Thu Oct 18, 2018 9:53 am don't over-complicate this.
run Gparted from a live medium
1. expand the boundary of the Extended partition all the way to the left.
2. move the partitions within all the way to the left
3. move the boundary of that Extended partition over as desired.
now the un-formatted area adjoins the BIG 240...
4. expand the 240 to consume it all
yes it is slow, but it works.
Yes, backup first... but that is a given.
...
Re: Mint 17.3 low on disk space
i would first check and delete the extra leftovers and uninstall extra kernels you have.
in
also in var/cache/apt/archives/ and var/cache/apt/archives/partial/ you can delete everything
in
/boot/
folder how many kernels do you have? how many files starting with initrd.img- are there?also in var/cache/apt/archives/ and var/cache/apt/archives/partial/ you can delete everything
Re: Mint 17.3 low on disk space
I have a large external HD. Could I just copy the Home folder to that drive. I was also thinking about upgrading to mint 18.3 or 19 then put the copied Home folder back in?JerryF wrote: ⤴Thu Oct 18, 2018 11:15 am+1sdibaja wrote: ⤴Thu Oct 18, 2018 9:53 am don't over-complicate this.
run Gparted from a live medium
1. expand the boundary of the Extended partition all the way to the left.
2. move the partitions within all the way to the left
3. move the boundary of that Extended partition over as desired.
now the un-formatted area adjoins the BIG 240...
4. expand the 240 to consume it all
yes it is slow, but it works.
Yes, backup first... but that is a given.
...
Re: Mint 17.3 low on disk space
Be careful with regards to your hidden folders (the ones that start with a period) in your home folder.
Some of those have settings for your apps. As of now, they're for 17.3 and may not play well if you install a higher version like 18 or 19.
Some of those have settings for your apps. As of now, they're for 17.3 and may not play well if you install a higher version like 18 or 19.
-
- Level 1
- Posts: 41
- Joined: Fri Dec 22, 2017 12:03 pm
Re: Mint 17.3 low on disk space
I figured that was what you were going to use your free space for since 17.3 will stop being supported next year. You can install 18.3 or 19 there for now and duel boot until you make sure the new OS works with your hardware. You can move the stuff over from your 17.3 home directory any time. If you need more space you can set up partition 1 as your home directory during the installation.
Re: Mint 17.3 low on disk space
Sounds like a good plan to me. The only thing I have on partition 1 is a save from Timeshift. I can run Timeshift again to a thumb drive.puddleglum wrote: ⤴Thu Oct 18, 2018 12:55 pmI figured that was what you were going to use your free space for since 17.3 will stop being supported next year. You can install 18.3 or 19 there for now and duel boot until you make sure the new OS works with your hardware. You can move the stuff over from your 17.3 home directory any time. If you need more space you can set up partition 1 as your home directory during the installation.
Re: Mint 17.3 low on disk space
the partitions can be Copied to another drive and Copied back if desired.
Gparted does it all, simply.
Peter
Gparted does it all, simply.
Peter
Peter
Mate desktop https://wiki.debian.org/MATE
Debian GNU/Linux operating system: https://www.debian.org/download
Mate desktop https://wiki.debian.org/MATE
Debian GNU/Linux operating system: https://www.debian.org/download
Re: Mint 17.3 low on disk space
So you will essentially clear up 14gig of your mint filesystem and anything you save to the /home folder will not impact your Mint filesystem.
So you have some choices and good advice and instructions here so the decision is yours.
If you decide to move /home to the 240gig partition I can provide you with the term commands.
Good luck
Re: Mint 17.3 low on disk space
I've thought about this situation and have decided to backup my /home/ folder and format the drive to get it straight then reinstall linux. I'm going to mark this solved. Thank you guys for all of your help. My Linux knowledge is limited so many of the instructions here are over my head.WharfRat wrote: ⤴Thu Oct 18, 2018 4:53 pmSo you will essentially clear up 14gig of your mint filesystem and anything you save to the /home folder will not impact your Mint filesystem.
So you have some choices and good advice and instructions here so the decision is yours.
If you decide to move /home to the 240gig partition I can provide you with the term commands.
Good luck
Re: Solved Mint 17.3 low on disk space
Good choice. Best of luck.
Remember, first thing... get a backup program going and rest easy in the future.
shameless plug for LuckyBackup with scheduled automatic backup
Remember, first thing... get a backup program going and rest easy in the future.
shameless plug for LuckyBackup with scheduled automatic backup
Peter
Mate desktop https://wiki.debian.org/MATE
Debian GNU/Linux operating system: https://www.debian.org/download
Mate desktop https://wiki.debian.org/MATE
Debian GNU/Linux operating system: https://www.debian.org/download