LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 01-26-2018, 01:34 AM   #31
borgward
Member
 
Registered: Apr 2005
Location: Austin, Texas
Distribution: Feather, Darn Small Linux
Posts: 504

Original Poster
Rep: Reputation: 21

/ $ df -hT
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 2.0G 0 2.0G 0% /dev
tmpfs tmpfs 395M 6.2M 389M 2% /run
/dev/sda5 ext4 28G 6.5G 20G 25% /
tmpfs tmpfs 2.0G 27M 1.9G 2% /dev/shm
tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
/dev/sda7 ext4 657G 180G 444G 29% /home
cgmfs tmpfs 100K 0 100K 0% /run/cgmanager/fs
tmpfs tmpfs 395M 36K 395M 1% /run/user/1000
 
Old 01-26-2018, 12:18 PM   #32
Wade Patton
Member
 
Registered: Jan 2018
Location: Southern Rural EEUU
Distribution: MXLinux, Mint, CrunchBang++, et al.
Posts: 83

Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
I would advise you to keep at least 3 kernels at any one time in case regressions force you to restore a previous kernel (I usually keep the 3 latest).

The safest way to remove kernels is through Mint's Update Manager.

Howdy.


I cannot find anything in Update Manager GUI that says anything about purging or removing old kernels. I also cannot use any automated process because my /boot is too full.


Sorry to horn in on this thread but am experiencing the same difficulty as OP, BUT that I let Mint 18 set all the partitions and install updates every time it wants to. The result is a 500mb /root that gets OVERstuffed at about 8 kernel updates. I'm here trying to find out why I cannot seem to use the proper nomenclature for the system to remove those kernels (or packages) as it shows them to me. No matter what I ask it to remove, it cannot find it.

This has fouled my whole morning, but i hope to learn something from it. (and have I shall NEVER run another kernel update without doing some removal maintenance (which can be automated but hasn't been up to this point because Mint didn't mention it.)


Thanks, I'll keep reading and pushing buttons.

If the MODS want to split this out into a separate thread, fine. I understand.

Last edited by Wade Patton; 01-26-2018 at 12:23 PM.
 
Old 01-26-2018, 01:21 PM   #33
borgward
Member
 
Registered: Apr 2005
Location: Austin, Texas
Distribution: Feather, Darn Small Linux
Posts: 504

Original Poster
Rep: Reputation: 21
Update Manager > View > Linux Kernels (It will take a while for it to open) > scroll down to 4.4 and click on it. > at the top of that window you will see "You are currently using the following kernel:4.4.0-112" (Yours might display a different number)

You will see a lot of kernels listed. Some of them are noted as installed.

Click on the one you want to remove. Click on the remove button. Wait! Once it is removed, restart your computer, then remove the next kernel.

Do not remove more than one at a time, restarting before each kernel removal.

Scroll all the way to the bottom to make sure there are not more installed ones there.

There were a lot of not installed kernels between the most current kernel and the installed ones at the bottom. Go figure!

Remove all of them except the current one and 1 or 2 previous ones.

I am using Mint 18.0 Cinnamon. If you are using Mate or something else, the steps may be a little different.

Last edited by borgward; 01-26-2018 at 06:27 PM.
 
1 members found this post helpful.
Old 01-26-2018, 03:25 PM   #34
Wade Patton
Member
 
Registered: Jan 2018
Location: Southern Rural EEUU
Distribution: MXLinux, Mint, CrunchBang++, et al.
Posts: 83

Rep: Reputation: Disabled
Quote:
Originally Posted by borgward View Post
Update Manager > Linux Kernels (It will take a while for it to open) > scroll down to 4.4 and click on it. > at the top of that window you will see "You are currently using the following kernel:4.4.0-112" (Yours might display a different number)

You will see a lot of kernels listed. Some of them are noted as installed.

Click on the one you want to remove. Click on the remove button. Wait! Once it is removed, restart your computer, then remove the next kernel.

Do not remove more than one at a time, restarting before each kernel removal.

Scroll all the way to the bottom to make sure there are not more installed ones there.

There were a lot of not installed kernels between the most current kernel and the installed ones at the bottom. Go figure!

Remove all of them except the current one and 1 or 2 previous ones.

I am using Mint 18.0 Cinnamon. If you are using Mate or something else, the steps may be a little different.
thanks, this is possibly the best information I've found all day. Well I quit in frustration and came back just to try it.

And it won't work. You'll never guess why. Same error as running in shell, too little space to complete. Doing a reboot now, but I'm about positive nothing happened because the /boot has no elbow room left at all.

It's going to take some really simple command-one that doesn't require space in the /boot to make this happen. And maybe that will work once I can properly identify the files or pkgs to the OS.

Wait... no low space warning on boot. Hmmm. Digging further. Maybe something got dumped after all. Despite errors to the contrary.

The column on the left in UpdateManager/Kernels shows 4.4, 4.8, 4.10, 4.11, and 4.13 with some of each of them installed. It says I'm in 4.13, SO I hope I'm safe taking out most of the rest...oh I see nothing in 4.8. Thanks. Carry on. Looks like it's working now. WHOOT zero error messages that time! (using Mate DE)

Last edited by Wade Patton; 01-26-2018 at 04:00 PM.
 
Old 01-26-2018, 05:29 PM   #35
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by Wade Patton View Post
The column on the left in UpdateManager/Kernels shows 4.4, 4.8, 4.10, 4.11, and 4.13 with some of each of them installed. It says I'm in 4.13, SO I hope I'm safe taking out most of the rest...oh I see nothing in 4.8. Thanks. Carry on. Looks like it's working now. WHOOT zero error messages that time! (using Mate DE)
If it helps you feel more comfortable, I'm currently running 4.13.0-32 as active and -31 and -26 as installed, with no other kernels installed. As long as you were running a kernel in the 4.13 branch, as you stated, you will be fine as this means that your hardware is fine with that branch.

Do try and install new kernels as they are proposed in the immediate future since updates to try and counter Meltdown and Spectre are coming thick and fast. If you find that, perhaps due to a regression, booting off the latest kernel doesn't work, then you can revert to one of the other ones that you have installed by means of the startup grub menu.
 
Old 01-26-2018, 05:39 PM   #36
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by borgward View Post
Update Manager > Linux Kernels (It will take a while for it to open) > scroll down to 4.4 and click on it. > at the top of that window you will see "You are currently using the following kernel:4.4.0-112" (Yours might display a different number)

You will see a lot of kernels listed. Some of them are noted as installed...
Nice one, borgward.

Just a couple of micro adjustments to your post, if I may, for anyone in the future reading this thread. In Update Manager, the "Linux kernels" submenu option is on the "View" menu. Also, the procedure is independent of the desktop environment, so MATE, Cinnamon, Xfce and KDE all work in the same way.

To add some info, the 4.4 kernel branch is Linux Mint's LTS (long-term) branch for Mint 18. It also has a HWE branch for Mint 18 which provides improved hardware support, which is currently 4.13. So, folk should either be running the latest 4.4 or 4.13 kernel for optimal operation. A short description is contained within this post: https://blog.linuxmint.com/?p=3496 . These two branches, LTS and HWE, will change as time goes on.
 
1 members found this post helpful.
Old 01-26-2018, 06:29 PM   #37
borgward
Member
 
Registered: Apr 2005
Location: Austin, Texas
Distribution: Feather, Darn Small Linux
Posts: 504

Original Poster
Rep: Reputation: 21
Glad you saw that I left out > View. I just edited that post.
 
Old 01-26-2018, 08:08 PM   #38
Wade Patton
Member
 
Registered: Jan 2018
Location: Southern Rural EEUU
Distribution: MXLinux, Mint, CrunchBang++, et al.
Posts: 83

Rep: Reputation: Disabled
Thanks folks. I don't expect to run into -that- problem again.
 
  


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
[SOLVED] Diskspace issue in the root directory gilbertmc Linux - Newbie 1 04-30-2016 11:14 AM
[SOLVED] low diskspace on filesystem /root jwsmith Linux - Software 8 05-21-2013 08:04 PM
Ideas for a low cost, low power, low noise web server/torrent box alecjtaylor Linux - Hardware 13 01-10-2012 05:26 AM
how do I clean my root dir out? i have no diskspace in it and i cant log in. ethereal27 Ubuntu 3 07-14-2006 10:48 PM
Running low on diskspace cheetahman SUSE / openSUSE 1 06-13-2005 07:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 12:03 AM.

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