$ dpkg --list | grep linux-image
ii linux-image-3.13.0-101-generic 3.13.0-101.148 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3.13.0-105-generic 3.13.0-105.152 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3.13.0-106-generic 3.13.0-106.153 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3.13.0-107-generic 3.13.0-107.154 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3.13.0-108-generic 3.13.0-108.155 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3.13.0-110-generic 3.13.0-110.157 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3.13.0-112-generic 3.13.0-112.159 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3.13.0-113-generic 3.13.0-113.160 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3.13.0-115-generic 3.13.0-115.162 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3.13.0-116-generic 3.13.0-116.163 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3.13.0-117-generic 3.13.0-117.164 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3.13.0-119-generic 3.13.0-119.166 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3.13.0-121-generic 3.13.0-121.170 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3.13.0-123-generic 3.13.0-123.172 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3.13.0-125-generic 3.13.0-125.174 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3.13.0-126-generic 3.13.0-126.175 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3.13.0-128-generic 3.13.0-128.177 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3.13.0-129-generic 3.13.0-129.178 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3.13.0-132-generic 3.13.0-132.181 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3.13.0-133-generic 3.13.0-133.182 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3.13.0-135-generic 3.13.0-135.184 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3.13.0-137-generic 3.13.0-137.186 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3.13.0-139-generic 3.13.0-139.188 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3.13.0-141-generic 3.13.0-141.190 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3.13.0-142-generic 3.13.0-142.191 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3.13.0-143-generic 3.13.0-143.192 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3.13.0-144-generic 3.13.0-144.193 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3.13.0-145-generic 3.13.0-145.194 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3.13.0-147-generic 3.13.0-147.196 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3dpkg --list | grep linux-image.13.0-149-generic 3.13.0-149.199 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3.13.0-151-generic 3.13.0-151.201 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
rc linux-image-3.13.0-32-generic 3.13.0-32.57 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
ii linux-image-3.13.0-57-generic 3.13.0-57.95 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3.13.0-74-generic 3.13.0-74.118 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3.13.0-85-generic 3.13.0-85.129 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-extra-3.13.0-101-generic 3.13.0-101.148 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii linux-image-extra-3.13.0-105-generic 3.13.0-105.152 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii linux-image-extra-3.13.0-106-generic 3.13.0-106.153 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii linux-image-extra-3.13.0-107-generic 3.13.0-107.154 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii linux-image-extra-3.13.0-108-generic 3.13.0-108.155 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii linux-image-extra-3.13.0-110-generic 3.13.0-110.157 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii linux-image-extra-3.13.0-112-generic 3.13.0-112.159 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii linux-image-extra-3.13.0-113-generic 3.13.0-113.160 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii linux-image-extra-3.13.0-115-generic 3.13.0-115.162 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii linux-image-extra-3.13.0-116-generic 3.13.0-116.163 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii linux-image-extra-3.13.0-117-generic 3.13.0-117.164 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii linux-image-extra-3.13.0-119-generic 3.13.0-119.166 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii linux-image-extra-3.13.0-121-generic 3.13.0-121.170 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii linux-image-extra-3.13.0-123-generic 3.13.0-123.172 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii linux-image-extra-3.13.0-125-generic 3.13.0-125.174 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii linux-image-extra-3.13.0-126-generic 3.13.0-126.175 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii linux-image-extra-3.13.0-128-generic 3.13.0-128.177 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii linux-image-extra-3.13.0-129-generic 3.13.0-129.178 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii linux-image-extra-3.13.0-132-generic 3.13.0-132.181 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii linux-image-extra-3.13.0-133-generic 3.13.0-133.182 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii linux-image-extra-3.13.0-135-generic 3.13.0-135.184 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii linux-image-extra-3.13.0-137-generic 3.13.0-137.186 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii linux-image-extra-3.13.0-139-generic 3.13.0-139.188 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii linux-image-extra-3.13.0-141-generic 3.13.0-141.190 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii linux-image-extra-3.13.0-142-generic 3.13.0-142.191 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii linux-image-extra-3.13.0-143-generic 3.13.0-143.192 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii linux-image-extra-3.13.0-144-generic 3.13.0-144.193 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii linux-image-extra-3.13.0-145-generic 3.13.0-145.194 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii linux-image-extra-3.13.0-147-generic 3.13.0-147.196 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii linux-image-extra-3.13.0-149-generic 3.13.0-149.199 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii linux-image-extra-3.13.0-151-generic 3.13.0-151.201 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
rc linux-image-extra-3.13.0-32-generic 3.13.0-32.57 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii linux-image-extra-3.13.0-44-generic 3.13.0-44.73 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii linux-image-extra-3.13.0-45-generic 3.13.0-45.74 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii linux-image-extra-3.13.0-57-generic 3.13.0-57.95 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii linux-image-extra-3.13.0-74-generic 3.13.0-74.118 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii linux-image-extra-3.13.0-85-generic 3.13.0-85.129 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii linux-image-generic 3.13.0.151.161 amd64 Generic Linux kernel image
:~$ awk -F\' '/menuentry / {print $2}' /boot/grub/grub.cfg
elementary OS
elementary OS, with Linux 3.13.0-151-generic
elementary OS, with Linux 3.13.0-151-generic (recovery mode)
elementary OS, with Linux 3.13.0-149-generic
elementary OS, with Linux 3.13.0-149-generic (recovery mode)
elementary OS, with Linux 3.13.0-147-generic
elementary OS, with Linux 3.13.0-147-generic (recovery mode)
elementary OS, with Linux 3.13.0-145-generic
elementary OS, with Linux 3.13.0-145-generic (recovery mode)
elementary OS, with Linux 3.13.0-144-generic
elementary OS, with Linux 3.13.0-144-generic (recovery mode)
elementary OS, with Linux 3.13.0-143-generic
elementary OS, with Linux 3.13.0-143-generic (recovery mode)
elementary OS, with Linux 3.13.0-142-generic
elementary OS, with Linux 3.13.0-142-generic (recovery mode)
elementary OS, with Linux 3.13.0-141-generic
elementary OS, with Linux 3.13.0-141-generic (recovery mode)
elementary OS, with Linux 3.13.0-139-generic
elementary OS, with Linux 3.13.0-139-generic (recovery mode)
elementary OS, with Linux 3.13.0-137-generic
elementary OS, with Linux 3.13.0-137-generic (recovery mode)
elementary OS, with Linux 3.13.0-135-generic
elementary OS, with Linux 3.13.0-135-generic (recovery mode)
elementary OS, with Linux 3.13.0-133-generic
elementary OS, with Linux 3.13.0-133-generic (recovery mode)
elementary OS, with Linux 3.13.0-132-generic
elementary OS, with Linux 3.13.0-132-generic (recovery mode)
elementary OS, with Linux 3.13.0-129-generic
elementary OS, with Linux 3.13.0-129-generic (recovery mode)
elementary OS, with Linux 3.13.0-128-generic
elementary OS, with Linux 3.13.0-128-generic (recovery mode)
elementary OS, with Linux 3.13.0-126-generic
elementary OS, with Linux 3.13.0-126-generic (recovery mode)
elementary OS, with Linux 3.13.0-125-generic
elementary OS, with Linux 3.13.0-125-generic (recovery mode)
elementary OS, with Linux 3.13.0-123-generic
elementary OS, with Linux 3.13.0-123-generic (recovery mode)
elementary OS, with Linux 3.13.0-121-generic
elementary OS, with Linux 3.13.0-121-generic (recovery mode)
elementary OS, with Linux 3.13.0-119-generic
elementary OS, with Linux 3.13.0-119-generic (recovery mode)
elementary OS, with Linux 3.13.0-117-generic
elementary OS, with Linux 3.13.0-117-generic (recovery mode)
elementary OS, with Linux 3.13.0-116-generic
elementary OS, with Linux 3.13.0-116-generic (recovery mode)
elementary OS, with Linux 3.13.0-115-generic
elementary OS, with Linux 3.13.0-115-generic (recovery mode)
elementary OS, with Linux 3.13.0-113-generic
elementary OS, with Linux 3.13.0-113-generic (recovery mode)
elementary OS, with Linux 3.13.0-112-generic
elementary OS, with Linux 3.13.0-112-generic (recovery mode)
elementary OS, with Linux 3.13.0-110-generic
elementary OS, with Linux 3.13.0-110-generic (recovery mode)
elementary OS, with Linux 3.13.0-108-generic
elementary OS, with Linux 3.13.0-108-generic (recovery mode)
elementary OS, with Linux 3.13.0-107-generic
elementary OS, with Linux 3.13.0-107-generic (recovery mode)
elementary OS, with Linux 3.13.0-106-generic
elementary OS, with Linux 3.13.0-106-generic (recovery mode)
elementary OS, with Linux 3.13.0-105-generic
elementary OS, with Linux 3.13.0-105-generic (recovery mode)
elementary OS, with Linux 3.13.0-101-generic
elementary OS, with Linux 3.13.0-101-generic (recovery mode)
elementary OS, with Linux 3.13.0-85-generic
elementary OS, with Linux 3.13.0-85-generic (recovery mode)
elementary OS, with Linux 3.13.0-74-generic
elementary OS, with Linux 3.13.0-74-generic (recovery mode)
elementary OS, with Linux 3.13.0-57-generic
elementary OS, with Linux 3.13.0-57-generic (recovery mode)
elementary OS, with Linux 3.13.0-45-generic
elementary OS, with Linux 3.13.0-45-generic (recovery mode)
elementary OS, with Linux 3.13.0-44-generic
elementary OS, with Linux 3.13.0-44-generic (recovery mode)
Memory test (memtest86+)
Memory test (memtest86+, serial console 115200)
:~$ sudo su
:
# for i in /usr/*; do echo $i; find $i |wc -l; done
/usr/bin
1369
/usr/games
8
/usr/include
1334
/usr/lib
18577
/usr/lib32
308
/usr/local
29
/usr/sbin
201
/usr/share
144962
/usr/src
884487
exit
:~$
~$ sudo dpkg --purge --force-depends,remove-reinstreq linux- image-3.13.0-101-generic
dpkg: linux-image-3.13.0-101-generic: dependency problems, but removing anyway as you requested:
linux-image-extra-3.13.0-101-generic depends on linux-image-3.13.0-101-generic.
(Reading database ... 1223842 files and directories currently installed.)
Removing linux-image-3.13.0-101-generic (3.13.0-101.148) ...
Examining /etc/kernel/prerm.d.
run-parts: executing /etc/kernel/prerm.d/dkms 3.13.0-101-generic /boot/vmlinuz-3.13.0-101-generic
dkms: removing: bbswitch 0.7 (3.13.0-101-generic) (x86_64)
Uninstall Beginning
Module: bbswitch
Version: 0.7
Kernel: 3.13.0-101-generic (x86_64)
Status: Before uninstall, this module version was ACTIVE on this kernel.
bbswitch.ko:
- Uninstallation
- Deleting from: /lib/modules/3.13.0-101-generic/extra/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod....
DKMS: uninstall completed.
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-101-generic /boot/vmlinuz-3.13.0-101-generic
update-initramfs: Deleting /boot/initrd.img-3.13.0-101-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.13.0-101-generic /boot/vmlinuz-3.13.0-101-generic
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-3.13.0-151-generic
Found initrd image: /boot/initrd.img-3.13.0-151-generic
Found linux image: /boot/vmlinuz-3.13.0-149-generic
Found initrd image: /boot/initrd.img-3.13.0-149-generic
Found linux image: /boot/vmlinuz-3.13.0-147-generic
Found initrd image: /boot/initrd.img-3.13.0-147-generic
Found linux image: /boot/vmlinuz-3.13.0-145-generic
Found initrd image: /boot/initrd.img-3.13.0-145-generic
Found linux image: /boot/vmlinuz-3.13.0-144-generic
Found initrd image: /boot/initrd.img-3.13.0-144-generic
Found linux image: /boot/vmlinuz-3.13.0-143-generic
Found initrd image: /boot/initrd.img-3.13.0-143-generic
Found linux image: /boot/vmlinuz-3.13.0-142-generic
Found initrd image: /boot/initrd.img-3.13.0-142-generic
Found linux image: /boot/vmlinuz-3.13.0-141-generic
Found initrd image: /boot/initrd.img-3.13.0-141-generic
Found linux image: /boot/vmlinuz-3.13.0-139-generic
Found initrd image: /boot/initrd.img-3.13.0-139-generic
Found linux image: /boot/vmlinuz-3.13.0-137-generic
Found initrd image: /boot/initrd.img-3.13.0-137-generic
Found linux image: /boot/vmlinuz-3.13.0-135-generic
Found initrd image: /boot/initrd.img-3.13.0-135-generic
Found linux image: /boot/vmlinuz-3.13.0-133-generic
Found initrd image: /boot/initrd.img-3.13.0-133-generic
Found linux image: /boot/vmlinuz-3.13.0-132-generic
Found initrd image: /boot/initrd.img-3.13.0-132-generic
Found linux image: /boot/vmlinuz-3.13.0-129-generic
Found initrd image: /boot/initrd.img-3.13.0-129-generic
Found linux image: /boot/vmlinuz-3.13.0-128-generic
Found initrd image: /boot/initrd.img-3.13.0-128-generic
Found linux image: /boot/vmlinuz-3.13.0-126-generic
Found initrd image: /boot/initrd.img-3.13.0-126-generic
Found linux image: /boot/vmlinuz-3.13.0-125-generic
Found initrd image: /boot/initrd.img-3.13.0-125-generic
Found linux image: /boot/vmlinuz-3.13.0-123-generic
Found initrd image: /boot/initrd.img-3.13.0-123-generic
Found linux image: /boot/vmlinuz-3.13.0-121-generic
Found initrd image: /boot/initrd.img-3.13.0-121-generic
Found linux image: /boot/vmlinuz-3.13.0-119-generic
Found initrd image: /boot/initrd.img-3.13.0-119-generic
Found linux image: /boot/vmlinuz-3.13.0-117-generic
Found initrd image: /boot/initrd.img-3.13.0-117-generic
Found linux image: /boot/vmlinuz-3.13.0-116-generic
Found initrd image: /boot/initrd.img-3.13.0-116-generic
Found linux image: /boot/vmlinuz-3.13.0-115-generic
Found initrd image: /boot/initrd.img-3.13.0-115-generic
Found linux image: /boot/vmlinuz-3.13.0-113-generic
Found initrd image: /boot/initrd.img-3.13.0-113-generic
Found linux image: /boot/vmlinuz-3.13.0-112-generic
Found initrd image: /boot/initrd.img-3.13.0-112-generic
Found linux image: /boot/vmlinuz-3.13.0-110-generic
Found initrd image: /boot/initrd.img-3.13.0-110-generic
Found linux image: /boot/vmlinuz-3.13.0-108-generic
Found initrd image: /boot/initrd.img-3.13.0-108-generic
Found linux image: /boot/vmlinuz-3.13.0-107-generic
Found initrd image: /boot/initrd.img-3.13.0-107-generic
Found linux image: /boot/vmlinuz-3.13.0-106-generic
Found initrd image: /boot/initrd.img-3.13.0-106-generic
Found linux image: /boot/vmlinuz-3.13.0-105-generic
Found initrd image: /boot/initrd.img-3.13.0-105-generic
Found linux image: /boot/vmlinuz-3.13.0-85-generic
Found initrd image: /boot/initrd.img-3.13.0-85-generic
Found linux image: /boot/vmlinuz-3.13.0-74-generic
Found initrd image: /boot/initrd.img-3.13.0-74-generic
Found linux image: /boot/vmlinuz-3.13.0-57-generic
Found initrd image: /boot/initrd.img-3.13.0-57-generic
Found linux image: /boot/vmlinuz-3.13.0-45-generic
Found initrd image: /boot/initrd.img-3.13.0-45-generic
Found linux image: /boot/vmlinuz-3.13.0-44-generic
Found initrd image: /boot/initrd.img-3.13.0-44-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
done
Purging configuration files for linux-image-3.13.0-101-generic (3.13.0-101.148) ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-101- generic /boot/vmlinuz-3.13.0-101-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.13.0-101-generic /boot/vmlinuz-3.13.0-101-generic
Filesystem Size Used Avail Use% Mounted on
udev 1.9G 12K 1.9G 1% /dev
tmpfs 390M 1.2M 389M 1% /run
/dev/sda1 19G 15G 3.7G 80% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
none 5.0M 0 5.0M 0% /run/lock
none 2.0G 51M 1.9G 3% /run/shm
none 100M 60K 100M 1% /run/user
/dev/sdb1 823G 30G 752G 4% /home```
------------------------------------------
I ran 6 with the full command and it returned over 142,000 so impossible to fully paste
I then tried to ran 7 but when I paste in Terminal and click on return Terminal crashes