Choose style:

Author Topic: Kernal Upgrade and Housekeeping [Solved]  (Read 2052 times)

0 Members and 1 Guest are viewing this topic.

Offline cavy

  • Trusted User
  • Member
  • *****
  • Posts: 420
  • Karma: 55
  • Caveman
    • View Profile
    • PeppermentOS Pixies
  • Peppermint version(s): Peppermint Eight
Kernal Upgrade and Housekeeping [Solved]
« on: February 04, 2015, 09:42:28 am »
After the 3rd Feb kernal upgrade (84Mb) to version vmlinuz-3.13.0-45-generic, I noticed my boot partition was at 78% capacity, and followed this article http://forum.peppermintos.com/index.php/topic,1358.msg12207.html#msg12207 to reduce it to 56% capacity, hopefully this will prevent the situation that c_ve ran into.

For future reference, how many kernals should I retain before applying this procedure again, my current dpkg -l | grep linux-image-3 read-out.

tony@Tower ~ $ dpkg -l | grep linux-image-3
ii  linux-image-3.13.0-43-generic               3.13.0-43.72                           amd64        Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii  linux-image-3.13.0-44-generic               3.13.0-44.73                           amd64        Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii  linux-image-3.13.0-45-generic               3.13.0-45.74                           amd64        Linux kernel image for version 3.13.0 on 64 bit x86 SMP

 8)

PLEASE NOTE:

This pertains to LVM & Full Disk Encryption, the Peppermint installer only allocates a 246Mb BOOT partition, which is not encrypted.
« Last Edit: February 04, 2015, 04:21:09 pm by cavy »
“We know what we are, but not what we may be.”

Desktop Dell 7040 i7-6700 500Gb-SSD 32Gb ram
Laptop    Dell 7470 i5-6300 500Gb-SSD  16Gb ram
Various antiques to sample other OS's etc

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26290
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Kernal Upgrade and Housekeeping
« Reply #1 on: February 04, 2015, 10:43:11 am »
I tend to keep the current kernel and AT LEAST one other known working one .. I usually keep the last 2, and then install the new one, so I have 3
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline iamesperambient

  • Veteran
  • ****
  • Posts: 1269
  • Karma: 89
  • a totally awesome dude
    • View Profile
    • i AM esper (drone ambient music)
  • Peppermint version(s): Peppermint 8 64 bit
Re: Kernal Upgrade and Housekeeping
« Reply #2 on: February 04, 2015, 11:42:44 am »
i had a kernel upgrade recently too (as a noob) i really don't know much about this stuff.
is there a way i can check to make sure things are working ok? i don't mess with kernels
or anything but if my updater says to update i do whatever it says, i suppose that is safe? :-\
http://iamesper.bandcamp.com
boring drone music from NJ

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26290
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Kernal Upgrade and Housekeeping
« Reply #3 on: February 04, 2015, 11:48:20 am »
@ iamesperambient

cavy has a small separate /boot partition so needs to keep it empty enough to receive kernel updates .. in a default install that wouldn't be the case, so unless you're having problems with kernel updates the info in this topic is not for you.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline cavy

  • Trusted User
  • Member
  • *****
  • Posts: 420
  • Karma: 55
  • Caveman
    • View Profile
    • PeppermentOS Pixies
  • Peppermint version(s): Peppermint Eight
Re: Kernal Upgrade and Housekeeping [Solved]
« Reply #4 on: February 04, 2015, 04:09:46 pm »
Thank you PCNetSpec, keeping three versions was a guess, vaguely remember reading some where, it's best practice to retain the old kernal after an upgrade.  8)
“We know what we are, but not what we may be.”

Desktop Dell 7040 i7-6700 500Gb-SSD 32Gb ram
Laptop    Dell 7470 i5-6300 500Gb-SSD  16Gb ram
Various antiques to sample other OS's etc

Offline VinDSL

  • Global Moderator
  • Hero
  • *****
  • Posts: 5445
  • Karma: 957
  • Peppermint Mod
    • View Profile
  • Peppermint version(s): Developmental Builds
Re: Kernal Upgrade and Housekeeping [Solved]
« Reply #5 on: February 23, 2015, 04:13:25 am »
Kernel 4.0-rc1 was released an hour or so ago.  I'm testing it right now, and started thinking about this thread.

I always keep the 'last know good' around too, in my case 3.19-generic - and, I purge the rest.

For instance, here is a list of my old kernels...

Code: [Select]
vindsl@Zuul:~$ dpkg -l linux-* | awk '/^ii/{ print $2}' | grep -v -e `uname -r | cut -f1,2 -d"-"` | grep -e [0-9] | grep -E "(image|headers)"
linux-headers-3.18.0-12
linux-headers-3.18.0-12-generic
linux-headers-3.19.0-031900
linux-headers-3.19.0-031900-generic
linux-image-3.18.0-12-generic
linux-image-3.19.0-031900-generic
linux-image-extra-3.18.0-12-generic
vindsl@Zuul:~$

It's getting late here, but in the morning I'll purge 3.18x and save 3.19-generic.

Just saying...