LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-17-2019, 05:58 PM   #1
LinuxDude319
LQ Newbie
 
Registered: Mar 2019
Posts: 11

Rep: Reputation: Disabled
Root partition way too small!


Hi Forum:

I have a dual-boot HP Compact 8000 Elite computer, with Win 10 Pro x64 and Linux Mint 19 x64 installed on it.

Before I installed LM19 I googled to see how large the root and home partitions should be. And since these numbers seemed to be a little on the low end I increased them by maybe 70% (root now has almost 19Gb, home 48Gb).

A few days later I did some Timeshift snapshots after which the system told me that for root there was less than 2Gb of space available (G-Parted, 3rd screenshot).

I was able to empty (or uninstall?!) the Timeshift folder (thereby gaining almost 10Gb) and delete the snapshots. A few days later, though, Linux started nagging about low disk space again (now less than 1Gb).

With AOMEI Partition Assistant (Windoze software) I resized (made samller) partition G, "Movies 4", thereby gaining 25Gb. Hopefully, G-Parted (Linux) or DiskGenuis (Windoze) will be able to merge the 2 partitions (25Gb and 18.63Gb). AOMEI couldn't do it because of the ext4 format : (AOMEI, 1st screenshot).

According to AOMEI Partition Assistant the two partitions to be merged are right next to each other, according to DiskGenius, though, they're 2 partitions apart from each other... (DiskGenius, 2nd screenshot).

Last but not least, my 2nd computer, a Lenovo also has dual boot with LM18 x64 and Windoze 7 Pro, x64 installed. I managed to misplace my password , with the result that I can't do software updates anymore. I tried the two ways I found online to change it, for some reasons they just didn't work (one for example was "https://community.linuxmint.com/tutorial/view/339").

Any help with these issues would be greatly appreciated!

Thanks so much.

John aka LinuxDude
Attached Thumbnails
Click image for larger version

Name:	AOMEI Partition Assistant Screenshot.jpg
Views:	40
Size:	68.4 KB
ID:	30367   Click image for larger version

Name:	DiskGenius Screenshot.jpg
Views:	35
Size:	151.8 KB
ID:	30368   Click image for larger version

Name:	Screenshot from 2019-04-16 09-58-04.jpg
Views:	37
Size:	46.2 KB
ID:	30369  
 
Old 04-17-2019, 06:57 PM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
primary and extended cannot be joined together.

I put my windows on a primary partition, mim space for a clean install and some room to grow for updates, and a few apps. extended to Linux for everything else, even a data and ntfs share between the two. I do not use anything other than what comes in windows to deal with their partitions if I needed to. and gparted for everything else. Even my ntfs share partition.

You cannot be running a distro that needs root to be resized because it have to stay mounted.

You have to boot a live distro linux that has gparted with it because the partitions have to be unmounted to move and such.

sda1 , 2, 3, are primary, and you have linux root on primary sda3 with swap, and home on extended. Without redoing it. your only option is to use some off of your movies partition, move the left over to make that free space to move it to your root via a live usb distro with gparted.

taken from your 3rd image using gparted

Last edited by BW-userx; 04-17-2019 at 07:03 PM.
 
Old 04-17-2019, 07:02 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,125

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
From a LM19 terminal run this and post the output. Use [code] tags in-line is better than thumbnails for me.
Code:
 sudo parted /dev/sda "print free"
 
Old 04-17-2019, 07:38 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,698

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
I am unfamiliar with DiskGenius but there are a few inconsistencies with the posted screenshots.

Your root partition sda3 is listed as a primary but from the start/end cylinder information it is contained within the extended partition. Although you shrunk the Movies 4 partition by 25GB I would think that free space should be after and adjacent to Movies 4, it is a logical partition and formatted it as FAT32. In addition the disk pictorial of partitions shows some free space of 66.9GB while the partition listing shows the disk for all practical purposes as completely allocated.

Quote:
I tried the two ways I found online to change it, for some reasons they just didn't work
What did not work?

Last edited by michaelk; 04-17-2019 at 08:39 PM.
 
Old 04-18-2019, 01:04 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
(maybe) easier solution:
  • locate the directories that contain the most data (usually media or backups)
  • copy the data to the large partition
  • rename the old folders
  • symlink the new folders on the data partition to where the old folder used to be
  • check that everything works and no data is missing in the new location
  • delete the old folders


oh, and really delete, do not move the trash bin.
trash bin needs to be emptied regularly anyhow.
 
1 members found this post helpful.
Old 04-19-2019, 09:30 AM   #6
ceantuco
Member
 
Registered: Mar 2008
Location: New York
Distribution: Debian
Posts: 809

Rep: Reputation: 88
Question

Quote:
Originally Posted by BW-userx View Post
I put my windows on a primary partition, mim space for a clean install and some room to grow for updates, and a few apps. extended to Linux for everything else, even a data and ntfs share between the two. I do not use anything other than what comes in windows to deal with their partitions if I needed to. and gparted for everything else. Even my ntfs share partition.
BW-userx,

Did you create a NTFS partition to use a shared storage for your Linux and Windows installs? If yes, do you auto mount the NTFS partition on Linux?

Thank you!
 
Old 04-19-2019, 10:35 AM   #7
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by ceantuco View Post
BW-userx,

Did you create a NTFS partition to use a shared storage for your Linux and Windows installs? If yes, do you auto mount the NTFS partition on Linux?

Thank you!
II got two hdds on my laptop, I use one for my distros, and the secondary for storage. I split the secondary data1, and ntfs1, labeled respectively. then mount them in fstab via /media/ntfs1 and /media/data1
 
Old 04-24-2019, 05:21 PM   #8
LinuxDude319
LQ Newbie
 
Registered: Mar 2019
Posts: 11

Original Poster
Rep: Reputation: Disabled
Root partition way too small!

Hi 'BW-userx', 'syg00', 'michaelk', 'ondoho' and 'ceantuco':

Thanks so much guys for all your feedback and my sincere apologies for not replying sooner.

All things considered and after reading and mulling over your feedbaCk I felt it best to just reinstall Linux and make sure I get everything right this time.

With AOMEI Partition Assistant (on Win 7) I created a 90GB partition (with root being 64GB and home 19GB) on a different disk than the C:/ partition is on. If I remember correctly you then first create the root partition, then SWAP and then home. Since LM18 has been behaving very well so far I must've gotten it right this time. And I did take quite a few notes some of which I've yet to transcribe (including your feedback).

I really hope that you don't feel that your feedback was provided in vain. I certainly don't think so. Now I feel I have a much better idea of the ins and outs of installing Linux.

Many thanks again,

John aka LinuxDude
 
Old 04-24-2019, 06:05 PM   #9
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,501

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Quote:
I created a 90GB partition (with root being 64GB and home 19GB
Not sure what that means? If you have a separate root and home you have 2 partitions. Generally, most users will create a much larger /home partition, larger than / (root). The /home partition will be where you generally store all your personal data, the / partition is where the Linux system is and unless you are installing an awful lot of new software, 20-30GB should be more than enough. It's basically a user choice/decision though.

You were probably creating your Timeshift snapshots and saving them somewhere on the / partition. I would think it would be safer or more realistic to put them on a separate drive.
 
Old 04-24-2019, 06:14 PM   #10
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
root should be about an average of 10 to 30 GB /home whatever size needed per user.
 
Old 04-28-2019, 09:01 AM   #11
LinuxDude319
LQ Newbie
 
Registered: Mar 2019
Posts: 11

Original Poster
Rep: Reputation: Disabled
Exclamation

Hi 'Yancek' and 'BW-userx':

Many thanks for your feedback and sorry for not having been all that clear in my last post .

What I meant to say was that I booted up Windows and created a 90GB partition. When I then installed Linux Mint 19 I used the 90GB space to create three smaller partitions, one for root, one for home and a SWAP partition.

Because Linux had complained before the new install that root had less than 1GB space left I decided to make it much larger this time.

And yes, you're right, Yancek. Linux created the Timeshift snapshots and saved them somewhere on the / partition. Because I didn't know any better I didn't save the snapshots somewhere else. Next time round, though, I'll make use of your suggestion .

Many thanks again.

John aka LinuxDude
 
Old 04-28-2019, 10:05 AM   #12
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Timeshift isn't a requirement - I run it because it might be useful one day & I have lots of spare disk space.
It doesn't use much resources.
Make sure the backup schedule is changed - the defaults cause many backups to be kept.
Mine is:-
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2019-04-28 16-00-33.png
Views:	15
Size:	38.3 KB
ID:	30432  
 
Old 04-28-2019, 05:33 PM   #13
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
sense you split your system, I do hope you put swap on either end and not in the middle of the three partitions. So, if ever need be you can take from home and add to root, or visa versa without having to worry about that swap partition being in the way.
 
Old 04-29-2019, 08:16 AM   #14
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Yet another reason to use LVM (Logical Volume Manager). If you used your disks/partitions as PVs (physical volumes) within a VG (volume group) you could add another PV on the fly without having redo your partitions and then grow your LV (logical volume) without even having to unmount the filesystem.
 
Old 04-29-2019, 09:23 AM   #15
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
There is a problem with using LVM on multiple disks.

An error on one disk can cause a situation in which no disk can be accessed.
Obviously, recovery is possible, but it is more difficult than simply putting separate filesystems on separate disks.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: My Nerd Life: Too Loud, Too Funny, Too Smart, Too Fat LXer Syndicated Linux News 0 01-24-2014 05:21 AM
a too small root partition:( riccisit Linux - Desktop 9 01-16-2008 07:31 AM
root partition too small! help! hueofwind Linux - General 13 11-09-2005 11:26 PM
Small Fonts... Too much small! cubax Debian 3 03-28-2005 11:31 AM
fips Crashed Now Partition Way Too Small rdarlotto Linux - General 1 03-20-2004 10:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration