LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-13-2020, 09:55 AM   #1
lukeer
Member
 
Registered: Feb 2013
Posts: 39

Rep: Reputation: Disabled
Dispensable files in /boot


Hi forum,

an update of my Linux Mint 19.2 gave me a warning that there's only a few MB free space on my /boot partition. Let's say I keep the current kernel and the one before it and everything necessary that the system still works flawlessly. Is there anything I can wipe from /boot?

Here's what's there:
Code:
user@host:/boot$ ls -ltR
.:
total 422410
drwxr-xr-x 5 root root     1024 Jan 13 15:43 grub
-rw-r--r-- 1 root root 61180428 Jan 13 15:43 initrd.img-4.15.0-74-generic
-rw-r--r-- 1 root root 61183603 Jan  1 17:13 initrd.img-4.15.0-72-generic
-rw-r--r-- 1 root root 61172950 Jan  1 17:13 initrd.img-4.15.0-70-generic
-rw-r--r-- 1 root root 61132787 Jan  1 17:11 initrd.img-4.15.0-54-generic
-rw-r--r-- 1 root root 61192660 Jan  1 17:11 initrd.img-4.15.0-64-generic
-rw-r--r-- 1 root root 61188422 Jan  1 17:11 initrd.img-4.15.0-66-generic
-rw------- 1 root root  8367768 Dec 18 23:46 vmlinuz-4.15.0-74-generic
-rw-r--r-- 1 root root   217495 Dec 18 23:20 config-4.15.0-74-generic
-rw------- 1 root root  4068355 Dec 18 23:20 System.map-4.15.0-74-generic
-rw------- 1 root root  8367768 Nov 26 12:28 vmlinuz-4.15.0-72-generic
-rw-r--r-- 1 root root   217460 Nov 26 12:18 config-4.15.0-72-generic
-rw------- 1 root root  4066550 Nov 26 12:18 System.map-4.15.0-72-generic
-rw------- 1 root root  8363672 Nov 12 10:58 vmlinuz-4.15.0-70-generic
-rw-r--r-- 1 root root   217480 Nov 12 10:54 config-4.15.0-70-generic
-rw------- 1 root root  4066166 Nov 12 10:54 System.map-4.15.0-70-generic
-rw------- 1 root root  8363672 Oct  1 05:05 vmlinuz-4.15.0-66-generic
-rw-r--r-- 1 root root   217362 Oct  1 05:02 config-4.15.0-66-generic
-rw------- 1 root root  4064684 Oct  1 05:02 System.map-4.15.0-66-generic
-rw------- 1 root root  8330904 Sep 12 14:38 vmlinuz-4.15.0-64-generic
-rw-r--r-- 1 root root   217373 Sep 12 11:30 config-4.15.0-64-generic
-rw------- 1 root root  4062624 Sep 12 11:30 System.map-4.15.0-64-generic
-rw-r--r-- 1 root root   182704 Jan 28  2016 memtest86+.bin
-rw-r--r-- 1 root root   184380 Jan 28  2016 memtest86+.elf
-rw-r--r-- 1 root root   184840 Jan 28  2016 memtest86+_multiboot.bin
drwxr-xr-x 3 root root     1024 Jun  9  2014 extlinux
drwxr-xr-x 2 root root    12288 Mar 23  2013 lost+found

./grub:
total 2387
-rw-r--r-- 1 root root    1024 Jan 13 16:03 grubenv
-r--r--r-- 1 root root   23427 Jan 13 16:02 grub.cfg
drwxr-xr-x 2 root root    6144 Jan  1 17:12 i386-pc
drwxr-xr-x 2 root root    1024 Jan  1 17:12 locale
-rw-r--r-- 1 root root 2397557 Jan  1 17:12 unicode.pf2
-rw-r--r-- 1 root root     712 Jul 29 13:55 gfxblacklist.txt
drwxr-xr-x 2 root root    1024 Mar 23  2013 fonts

./grub/i386-pc:
total 2059
-rw-r--r-- 1 root root    512 Jan  1 17:12 boot.img
-rw-r--r-- 1 root root  25899 Jan  1 17:12 core.img
-rw-r--r-- 1 root root   3842 Jan  1 17:12 command.lst
-rw-r--r-- 1 root root    936 Jan  1 17:12 crypto.lst
-rw-r--r-- 1 root root  10080 Jan  1 17:12 efiemu64.o
-rw-r--r-- 1 root root    214 Jan  1 17:12 fs.lst
-rw-r--r-- 1 root root   5416 Jan  1 17:12 moddep.lst
-rw-r--r-- 1 root root   2548 Jan  1 17:12 modinfo.sh
-rw-r--r-- 1 root root    111 Jan  1 17:12 partmap.lst
-rw-r--r-- 1 root root     17 Jan  1 17:12 parttool.lst
-rw-r--r-- 1 root root    202 Jan  1 17:12 terminal.lst
-rw-r--r-- 1 root root     33 Jan  1 17:12 video.lst
-rw-r--r-- 1 root root  10620 Jan  1 17:12 acpi.mod
-rw-r--r-- 1 root root  15540 Jan  1 17:12 ahci.mod
-rw-r--r-- 1 root root   5636 Jan  1 17:12 ata.mod
-rw-r--r-- 1 root root   4284 Jan  1 17:12 at_keyboard.mod
-rw-r--r-- 1 root root   2408 Jan  1 17:12 bswap_test.mod
-rw-r--r-- 1 root root  14484 Jan  1 17:12 btrfs.mod
-rw-r--r-- 1 root root   3604 Jan  1 17:12 cbls.mod
-rw-r--r-- 1 root root   2424 Jan  1 17:12 cbmemc.mod
-rw-r--r-- 1 root root   1660 Jan  1 17:12 crc64.mod
-rw-r--r-- 1 root root  10180 Jan  1 17:12 cryptodisk.mod
-rw-r--r-- 1 root root  10572 Jan  1 17:12 diskfilter.mod
-rw-r--r-- 1 root root   8128 Jan  1 17:12 efiemu32.o
-rw-r--r-- 1 root root  24020 Jan  1 17:12 efiemu.mod
-rw-r--r-- 1 root root  15984 Jan  1 17:12 ehci.mod
-rw-r--r-- 1 root root   1468 Jan  1 17:12 exfctest.mod
-rw-r--r-- 1 root root  34276 Jan  1 17:12 functional_test.mod
-rw-r--r-- 1 root root   1644 Jan  1 17:12 gcry_arcfour.mod
-rw-r--r-- 1 root root  16484 Jan  1 17:12 gcry_cast5.mod
-rw-r--r-- 1 root root   3796 Jan  1 17:12 gcry_md5.mod
-rw-r--r-- 1 root root   8216 Jan  1 17:12 gcry_rmd160.mod
-rw-r--r-- 1 root root  12692 Jan  1 17:12 gcry_tiger.mod
-rw-r--r-- 1 root root   5048 Jan  1 17:12 gfxterm_menu.mod
-rw-r--r-- 1 root root   8320 Jan  1 17:12 gzio.mod
-rw-r--r-- 1 root root   8604 Jan  1 17:12 iso9660.mod
-rw-r--r-- 1 root root   6276 Jan  1 17:12 jpeg.mod
-rw-r--r-- 1 root root   1868 Jan  1 17:12 lsmmap.mod
-rw-r--r-- 1 root root   7520 Jan  1 17:12 macho.mod
-rw-r--r-- 1 root root   2936 Jan  1 17:12 memrw.mod
-rw-r--r-- 1 root root   3912 Jan  1 17:12 minix2_be.mod
-rw-r--r-- 1 root root   3848 Jan  1 17:12 minix3_be.mod
-rw-r--r-- 1 root root   3652 Jan  1 17:12 minix.mod
-rw-r--r-- 1 root root   2064 Jan  1 17:12 mul_test.mod
-rw-r--r-- 1 root root   9952 Jan  1 17:12 ntfs.mod
-rw-r--r-- 1 root root   2772 Jan  1 17:12 odc.mod
-rw-r--r-- 1 root root   2268 Jan  1 17:12 part_msdos.mod
-rw-r--r-- 1 root root   2380 Jan  1 17:12 procfs.mod
-rw-r--r-- 1 root root   1720 Jan  1 17:12 reboot.mod
-rw-r--r-- 1 root root  51012 Jan  1 17:12 regexp.mod
-rw-r--r-- 1 root root   5136 Jan  1 17:12 sfs.mod
-rw-r--r-- 1 root root   2480 Jan  1 17:12 shift_test.mod
-rw-r--r-- 1 root root   2276 Jan  1 17:12 sleep.mod
-rw-r--r-- 1 root root   3316 Jan  1 17:12 tar.mod
-rw-r--r-- 1 root root   5540 Jan  1 17:12 ufs2.mod
-rw-r--r-- 1 root root   3900 Jan  1 17:12 usb_keyboard.mod
-rw-r--r-- 1 root root   1536 Jan  1 17:12 usbserial_usbdebug.mod
-rw-r--r-- 1 root root   3600 Jan  1 17:12 usbtest.mod
-rw-r--r-- 1 root root   5076 Jan  1 17:12 vga.mod
-rw-r--r-- 1 root root   5668 Jan  1 17:12 video_bochs.mod
-rw-r--r-- 1 root root   4268 Jan  1 17:12 videotest.mod
-rw-r--r-- 1 root root   2140 Jan  1 17:12 xnu_uuid.mod
-rw-r--r-- 1 root root   1324 Jan  1 17:12 adler32.mod
-rw-r--r-- 1 root root   6108 Jan  1 17:12 afs.mod
-rw-r--r-- 1 root root   6816 Jan  1 17:12 bfs.mod
-rw-r--r-- 1 root root   4692 Jan  1 17:12 biosdisk.mod
-rw-r--r-- 1 root root   4032 Jan  1 17:12 cbfs.mod
-rw-r--r-- 1 root root   3500 Jan  1 17:12 chain.mod
-rw-r--r-- 1 root root   2264 Jan  1 17:12 configfile.mod
-rw-r--r-- 1 root root   1728 Jan  1 17:12 cpuid.mod
-rw-r--r-- 1 root root   1820 Jan  1 17:12 ctz_test.mod
-rw-r--r-- 1 root root   5380 Jan  1 17:12 drivemap.mod
-rw-r--r-- 1 root root   2660 Jan  1 17:12 freedos.mod
-rw-r--r-- 1 root root   2288 Jan  1 17:12 gcry_dsa.mod
-rw-r--r-- 1 root root  19104 Jan  1 17:12 gcry_rijndael.mod
-rw-r--r-- 1 root root  17012 Jan  1 17:12 gcry_serpent.mod
-rw-r--r-- 1 root root   3812 Jan  1 17:12 gptsync.mod
-rw-r--r-- 1 root root   4488 Jan  1 17:12 halt.mod
-rw-r--r-- 1 root root   5256 Jan  1 17:12 hashsum.mod
-rw-r--r-- 1 root root   1208 Jan  1 17:12 hello.mod
-rw-r--r-- 1 root root   2576 Jan  1 17:12 help.mod
-rw-r--r-- 1 root root   3168 Jan  1 17:12 hexdump.mod
-rw-r--r-- 1 root root   7724 Jan  1 17:12 hfsplus.mod
-rw-r--r-- 1 root root  13344 Jan  1 17:12 linux.mod
-rw-r--r-- 1 root root   4068 Jan  1 17:12 ls.mod
-rw-r--r-- 1 root root   6776 Jan  1 17:12 lvm.mod
-rw-r--r-- 1 root root   3308 Jan  1 17:12 macbless.mod
-rw-r--r-- 1 root root   2396 Jan  1 17:12 morse.mod
-rw-r--r-- 1 root root   2460 Jan  1 17:12 msdospart.mod
-rw-r--r-- 1 root root   4420 Jan  1 17:12 ntfscomp.mod
-rw-r--r-- 1 root root   1672 Jan  1 17:12 part_acorn.mod
-rw-r--r-- 1 root root   1892 Jan  1 17:12 part_amiga.mod
-rw-r--r-- 1 root root   2148 Jan  1 17:12 part_apple.mod
-rw-r--r-- 1 root root   1776 Jan  1 17:12 part_dfly.mod
-rw-r--r-- 1 root root   2388 Jan  1 17:12 part_gpt.mod
-rw-r--r-- 1 root root   4644 Jan  1 17:12 parttool.mod
-rw-r--r-- 1 root root   2812 Jan  1 17:12 password_pbkdf2.mod
-rw-r--r-- 1 root root   6336 Jan  1 17:12 plan9.mod
-rw-r--r-- 1 root root   2700 Jan  1 17:12 probe.mod
-rw-r--r-- 1 root root   2208 Jan  1 17:12 progress.mod
-rw-r--r-- 1 root root   2664 Jan  1 17:12 pxechain.mod
-rw-r--r-- 1 root root   1368 Jan  1 17:12 raid5rec.mod
-rw-r--r-- 1 root root   2844 Jan  1 17:12 random.mod
-rw-r--r-- 1 root root   1444 Jan  1 17:12 read.mod
-rw-r--r-- 1 root root   9056 Jan  1 17:12 reiserfs.mod
-rw-r--r-- 1 root root   7148 Jan  1 17:12 sendkey.mod
-rw-r--r-- 1 root root    708 Jan  1 17:12 setjmp.mod
-rw-r--r-- 1 root root   4344 Jan  1 17:12 terminal.mod
-rw-r--r-- 1 root root   5484 Jan  1 17:12 tftp.mod
-rw-r--r-- 1 root root   4460 Jan  1 17:12 tga.mod
-rw-r--r-- 1 root root   7868 Jan  1 17:12 udf.mod
-rw-r--r-- 1 root root   5476 Jan  1 17:12 ufs1.mod
-rw-r--r-- 1 root root   6596 Jan  1 17:12 uhci.mod
-rw-r--r-- 1 root root   7048 Jan  1 17:12 usbms.mod
-rw-r--r-- 1 root root   2020 Jan  1 17:12 usbserial_common.mod
-rw-r--r-- 1 root root   9940 Jan  1 17:12 vbe.mod
-rw-r--r-- 1 root root   5680 Jan  1 17:12 video_colors.mod
-rw-r--r-- 1 root root   6072 Jan  1 17:12 video.mod
-rw-r--r-- 1 root root   2016 Jan  1 17:12 xnu_uuid_test.mod
-rw-r--r-- 1 root root   7972 Jan  1 17:12 915resolution.mod
-rw-r--r-- 1 root root    492 Jan  1 17:12 all_video.mod
-rw-r--r-- 1 root root   1036 Jan  1 17:12 aout.mod
-rw-r--r-- 1 root root   2128 Jan  1 17:12 blocklist.mod
-rw-r--r-- 1 root root   2044 Jan  1 17:12 bufio.mod
-rw-r--r-- 1 root root   2948 Jan  1 17:12 cat.mod
-rw-r--r-- 1 root root   4972 Jan  1 17:12 crypto.mod
-rw-r--r-- 1 root root   1792 Jan  1 17:12 datehook.mod
-rw-r--r-- 1 root root   2188 Jan  1 17:12 date.mod
-rw-r--r-- 1 root root   1252 Jan  1 17:12 datetime.mod
-rw-r--r-- 1 root root   4144 Jan  1 17:12 elf.mod
-rw-r--r-- 1 root root   1444 Jan  1 17:12 eval.mod
-rw-r--r-- 1 root root   5360 Jan  1 17:12 exfat.mod
-rw-r--r-- 1 root root   4548 Jan  1 17:12 extcmd.mod
-rw-r--r-- 1 root root   5504 Jan  1 17:12 fat.mod
-rw-r--r-- 1 root root   2956 Jan  1 17:12 gcry_crc.mod
-rw-r--r-- 1 root root   3176 Jan  1 17:12 gcry_md4.mod
-rw-r--r-- 1 root root   2076 Jan  1 17:12 gcry_rsa.mod
-rw-r--r-- 1 root root  37128 Jan  1 17:12 gcry_twofish.mod
-rw-r--r-- 1 root root   4940 Jan  1 17:12 gettext.mod
-rw-r--r-- 1 root root   2892 Jan  1 17:12 gfxterm_background.mod
-rw-r--r-- 1 root root   7272 Jan  1 17:12 hdparm.mod
-rw-r--r-- 1 root root   5756 Jan  1 17:12 http.mod
-rw-r--r-- 1 root root  47196 Jan  1 17:12 hwmatch.mod
-rw-r--r-- 1 root root   2912 Jan  1 17:12 iorw.mod
-rw-r--r-- 1 root root   1976 Jan  1 17:12 keystatus.mod
-rw-r--r-- 1 root root   8176 Jan  1 17:12 linux16.mod
-rw-r--r-- 1 root root   2988 Jan  1 17:12 loopback.mod
-rw-r--r-- 1 root root   2280 Jan  1 17:12 lsapm.mod
-rw-r--r-- 1 root root   6896 Jan  1 17:12 luks.mod
-rw-r--r-- 1 root root   1944 Jan  1 17:12 mdraid09.mod
-rw-r--r-- 1 root root  27912 Jan  1 17:12 mpi.mod
-rw-r--r-- 1 root root   4196 Jan  1 17:12 nativedisk.mod
-rw-r--r-- 1 root root  54688 Jan  1 17:12 net.mod
-rw-r--r-- 1 root root  10436 Jan  1 17:12 ohci.mod
-rw-r--r-- 1 root root   1820 Jan  1 17:12 part_plan.mod
-rw-r--r-- 1 root root   1640 Jan  1 17:12 part_sunpc.mod
-rw-r--r-- 1 root root   4772 Jan  1 17:12 pata.mod
-rw-r--r-- 1 root root   2480 Jan  1 17:12 pcidump.mod
-rw-r--r-- 1 root root   1408 Jan  1 17:12 pci.mod
-rw-r--r-- 1 root root   2512 Jan  1 17:12 play.mod
-rw-r--r-- 1 root root   3840 Jan  1 17:12 pxe.mod
-rw-r--r-- 1 root root   4244 Jan  1 17:12 romfs.mod
-rw-r--r-- 1 root root   3204 Jan  1 17:12 search_fs_uuid.mod
-rw-r--r-- 1 root root   3120 Jan  1 17:12 search_label.mod
-rw-r--r-- 1 root root   1704 Jan  1 17:12 setjmp_test.mod
-rw-r--r-- 1 root root   6476 Jan  1 17:12 signature_test.mod
-rw-r--r-- 1 root root   2320 Jan  1 17:12 sleep_test.mod
-rw-r--r-- 1 root root   2088 Jan  1 17:12 spkmodem.mod
-rw-r--r-- 1 root root   2328 Jan  1 17:12 testspeed.mod
-rw-r--r-- 1 root root   1508 Jan  1 17:12 time.mod
-rw-r--r-- 1 root root   1764 Jan  1 17:12 trig.mod
-rw-r--r-- 1 root root   3580 Jan  1 17:12 truecrypt.mod
-rw-r--r-- 1 root root  10532 Jan  1 17:12 usb.mod
-rw-r--r-- 1 root root  20872 Jan  1 17:12 video_fb.mod
-rw-r--r-- 1 root root   2384 Jan  1 17:12 videotest_checksum.mod
-rw-r--r-- 1 root root  27432 Jan  1 17:12 xnu.mod
-rw-r--r-- 1 root root   6612 Jan  1 17:12 zfsinfo.mod
-rw-r--r-- 1 root root   1640 Jan  1 17:12 backtrace.mod
-rw-r--r-- 1 root root   2256 Jan  1 17:12 bitmap.mod
-rw-r--r-- 1 root root   3788 Jan  1 17:12 bitmap_scale.mod
-rw-r--r-- 1 root root  30516 Jan  1 17:12 bsd.mod
-rw-r--r-- 1 root root    984 Jan  1 17:12 cbtable.mod
-rw-r--r-- 1 root root   2860 Jan  1 17:12 cbtime.mod
-rw-r--r-- 1 root root   3072 Jan  1 17:12 cmdline_cat_test.mod
-rw-r--r-- 1 root root   1868 Jan  1 17:12 cmostest.mod
-rw-r--r-- 1 root root   1984 Jan  1 17:12 cmp.mod
-rw-r--r-- 1 root root   2776 Jan  1 17:12 cpio_be.mod
-rw-r--r-- 1 root root   2708 Jan  1 17:12 cpio.mod
-rw-r--r-- 1 root root   2408 Jan  1 17:12 disk.mod
-rw-r--r-- 1 root root   1032 Jan  1 17:12 div.mod
-rw-r--r-- 1 root root   5672 Jan  1 17:12 div_test.mod
-rw-r--r-- 1 root root   1960 Jan  1 17:12 echo.mod
-rw-r--r-- 1 root root   6116 Jan  1 17:12 ext2.mod
-rw-r--r-- 1 root root  16768 Jan  1 17:12 file.mod
-rw-r--r-- 1 root root  33916 Jan  1 17:12 gcry_camellia.mod
-rw-r--r-- 1 root root  19248 Jan  1 17:12 gcry_des.mod
-rw-r--r-- 1 root root  15384 Jan  1 17:12 gcry_seed.mod
-rw-r--r-- 1 root root   9412 Jan  1 17:12 gcry_sha512.mod
-rw-r--r-- 1 root root   6040 Jan  1 17:12 geli.mod
-rw-r--r-- 1 root root  39432 Jan  1 17:12 gfxmenu.mod
-rw-r--r-- 1 root root  10024 Jan  1 17:12 gfxterm.mod
-rw-r--r-- 1 root root   5008 Jan  1 17:12 keylayouts.mod
-rw-r--r-- 1 root root  14468 Jan  1 17:12 legacy_password_test.mod
-rw-r--r-- 1 root root   4804 Jan  1 17:12 lsacpi.mod
-rw-r--r-- 1 root root   4860 Jan  1 17:12 lspci.mod
-rw-r--r-- 1 root root   1944 Jan  1 17:12 mdraid1x.mod
-rw-r--r-- 1 root root   3748 Jan  1 17:12 minix2.mod
-rw-r--r-- 1 root root   8544 Jan  1 17:12 mmap.mod
-rw-r--r-- 1 root root   6708 Jan  1 17:12 nilfs2.mod
-rw-r--r-- 1 root root 115620 Jan  1 17:12 normal.mod
-rw-r--r-- 1 root root   2552 Jan  1 17:12 ntldr.mod
-rw-r--r-- 1 root root   2776 Jan  1 17:12 part_bsd.mod
-rw-r--r-- 1 root root   1536 Jan  1 17:12 part_sun.mod
-rw-r--r-- 1 root root   1888 Jan  1 17:12 password.mod
-rw-r--r-- 1 root root   1468 Jan  1 17:12 pbkdf2.mod
-rw-r--r-- 1 root root   2252 Jan  1 17:12 pbkdf2_test.mod
-rw-r--r-- 1 root root   7460 Jan  1 17:12 png.mod
-rw-r--r-- 1 root root   1568 Jan  1 17:12 priority_queue.mod
-rw-r--r-- 1 root root  14972 Jan  1 17:12 relocator.mod
-rw-r--r-- 1 root root   3688 Jan  1 17:12 search.mod
-rw-r--r-- 1 root root   5356 Jan  1 17:12 setpci.mod
-rw-r--r-- 1 root root   7116 Jan  1 17:12 squash4.mod
-rw-r--r-- 1 root root  17436 Jan  1 17:12 syslinuxcfg.mod
-rw-r--r-- 1 root root   1340 Jan  1 17:12 test_blockarg.mod
-rw-r--r-- 1 root root   1204 Jan  1 17:12 true.mod
-rw-r--r-- 1 root root   2360 Jan  1 17:12 usbserial_ftdi.mod
-rw-r--r-- 1 root root   2692 Jan  1 17:12 usbserial_pl2303.mod
-rw-r--r-- 1 root root   2180 Jan  1 17:12 vga_text.mod
-rw-r--r-- 1 root root   6052 Jan  1 17:12 video_cirrus.mod
-rw-r--r-- 1 root root   3980 Jan  1 17:12 videoinfo.mod
-rw-r--r-- 1 root root   5584 Jan  1 17:12 zfscrypt.mod
-rw-r--r-- 1 root root  40340 Jan  1 17:12 zfs.mod
-rw-r--r-- 1 root root   5652 Jan  1 17:12 affs.mod
-rw-r--r-- 1 root root   2956 Jan  1 17:12 archelp.mod
-rw-r--r-- 1 root root   2432 Jan  1 17:12 boot.mod
-rw-r--r-- 1 root root   1216 Jan  1 17:12 cmosdump.mod
-rw-r--r-- 1 root root   4688 Jan  1 17:12 cmp_test.mod
-rw-r--r-- 1 root root   3896 Jan  1 17:12 cs5536.mod
-rw-r--r-- 1 root root   1848 Jan  1 17:12 dm_nv.mod
-rw-r--r-- 1 root root  12504 Jan  1 17:12 font.mod
-rw-r--r-- 1 root root   2980 Jan  1 17:12 fshelp.mod
-rw-r--r-- 1 root root   8224 Jan  1 17:12 gcry_blowfish.mod
-rw-r--r-- 1 root root   3012 Jan  1 17:12 gcry_idea.mod
-rw-r--r-- 1 root root   2524 Jan  1 17:12 gcry_rfc2268.mod
-rw-r--r-- 1 root root   7984 Jan  1 17:12 gcry_sha1.mod
-rw-r--r-- 1 root root   4440 Jan  1 17:12 gcry_sha256.mod
-rw-r--r-- 1 root root  24924 Jan  1 17:12 gcry_whirlpool.mod
-rw-r--r-- 1 root root  25272 Jan  1 17:12 gdb.mod
-rw-r--r-- 1 root root   7008 Jan  1 17:12 hfs.mod
-rw-r--r-- 1 root root   3072 Jan  1 17:12 hfspluscomp.mod
-rw-r--r-- 1 root root   6064 Jan  1 17:12 jfs.mod
-rw-r--r-- 1 root root   6540 Jan  1 17:12 ldm.mod
-rw-r--r-- 1 root root  30088 Jan  1 17:12 legacycfg.mod
-rw-r--r-- 1 root root   5888 Jan  1 17:12 loadenv.mod
-rw-r--r-- 1 root root   5224 Jan  1 17:12 lzopio.mod
-rw-r--r-- 1 root root   2052 Jan  1 17:12 mda_text.mod
-rw-r--r-- 1 root root   2020 Jan  1 17:12 mdraid09_be.mod
-rw-r--r-- 1 root root   2020 Jan  1 17:12 memdisk.mod
-rw-r--r-- 1 root root   3408 Jan  1 17:12 minicmd.mod
-rw-r--r-- 1 root root   3716 Jan  1 17:12 minix3.mod
-rw-r--r-- 1 root root   3780 Jan  1 17:12 minix_be.mod
-rw-r--r-- 1 root root  15488 Jan  1 17:12 multiboot2.mod
-rw-r--r-- 1 root root  14108 Jan  1 17:12 multiboot.mod
-rw-r--r-- 1 root root   2964 Jan  1 17:12 newc.mod
-rw-r--r-- 1 root root   1512 Jan  1 17:12 offsetio.mod
-rw-r--r-- 1 root root   1480 Jan  1 17:12 part_dvh.mod
-rw-r--r-- 1 root root   2248 Jan  1 17:12 raid6rec.mod
-rw-r--r-- 1 root root   4796 Jan  1 17:12 scsi.mod
-rw-r--r-- 1 root root   3212 Jan  1 17:12 search_fs_file.mod
-rw-r--r-- 1 root root   7824 Jan  1 17:12 serial.mod
-rw-r--r-- 1 root root  11972 Jan  1 17:12 terminfo.mod
-rw-r--r-- 1 root root   2696 Jan  1 17:12 testload.mod
-rw-r--r-- 1 root root   5124 Jan  1 17:12 test.mod
-rw-r--r-- 1 root root   2400 Jan  1 17:12 tr.mod
-rw-r--r-- 1 root root   5868 Jan  1 17:12 ufs1_be.mod
-rw-r--r-- 1 root root  12040 Jan  1 17:12 verify.mod
-rw-r--r-- 1 root root   7496 Jan  1 17:12 xfs.mod
-rw-r--r-- 1 root root  15784 Jan  1 17:12 xzio.mod

./grub/locale:
total 126
-rw-r--r-- 1 root root    976 Jan  1 17:12 en_AU.mo
-rw-r--r-- 1 root root    512 Jan  1 17:12 en_CA.mo
-rw-r--r-- 1 root root   4771 Jan  1 17:12 en_GB.mo
-rw-r--r-- 1 root root 120128 Jan  1 17:12 en@quot.mo

./grub/fonts:
total 2353
-rw-r--r-- 1 root root 2397557 Jan  1 17:12 unicode.pf2

./extlinux:
total 58
-rw-r--r-- 1 root root   243 Jun  9  2014 extlinux.conf
-rw-r--r-- 1 root root   406 Jun  9  2014 os-prober.cfg
drwxr-xr-x 3 root root  1024 Jun  9  2014 themes
-rw-r--r-- 1 root root 20704 Jun  9  2014 chain.c32
-rw-r--r-- 1 root root  4200 Jun  9  2014 linux.cfg
-rw-r--r-- 1 root root 26140 Jun  9  2014 memdisk
-rw-r--r-- 1 root root   178 Jun  9  2014 memdisk.cfg

./extlinux/themes:
total 1
lrwxrwxrwx 1 root root   13 Jun  9  2014 debian -> debian-wheezy
drwxr-xr-x 2 root root 1024 Jun  9  2014 debian-wheezy

./extlinux/themes/debian-wheezy:
total 703
-rw-r--r-- 1 root root 176764 Jan  3  2013 memtest.bin
-rw-r--r-- 1 root root   4748 Jul  2  2012 config.c32
-rw-r--r-- 1 root root 342708 Jul  2  2012 hdt.c32
-rw-r--r-- 1 root root    800 Jul  2  2012 reboot.c32
-rw-r--r-- 1 root root  21384 Jul  2  2012 rosh.c32
-rw-r--r-- 1 root root 155792 Jul  2  2012 vesamenu.c32
-rw-r--r-- 1 root root   4852 Jul  1  2012 splash.png
-rw-r--r-- 1 root root    352 Jun 27  2012 menu.cfg
-rw-r--r-- 1 root root    351 Jun 27  2012 other.cfg
-rw-r--r-- 1 root root    530 Jun 27  2012 stdmenu.cfg
-rw-r--r-- 1 root root    102 Jun 27  2012 theme.cfg

./lost+found:
total 0

Last edited by lukeer; 01-13-2020 at 03:30 PM.
 
Old 01-13-2020, 10:30 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 13,488

Rep: Reputation: 4309Reputation: 4309Reputation: 4309Reputation: 4309Reputation: 4309Reputation: 4309Reputation: 4309Reputation: 4309Reputation: 4309Reputation: 4309Reputation: 4309
did you try an apt autoremove?
 
Old 01-13-2020, 01:35 PM   #3
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, fedora, ubuntu, others
Posts: 3,783

Rep: Reputation: 647Reputation: 647Reputation: 647Reputation: 647Reputation: 647Reputation: 647
How big is your boot partition?
 
Old 01-13-2020, 01:43 PM   #4
scasey
Senior Member
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.7.1908
Posts: 4,248

Rep: Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483
Quote:
Originally Posted by lukeer View Post
Hi forum,

an update of my Linux Mint 19.2 gave me a warning that there's only a few MB free space on my /boot partition. Let's say I keep the current kernel and the one before it and everything necessary that the system still works flawlessly. Is there anything I can wipe from /boot?

Here's what's there:[snipped]
I wouldn't want to try to evaluate whats in that folder without dates, size and some indication of age:
Code:
ls -ltr
will show all that and put the most recent files at the bottom of the list.
 
Old 01-13-2020, 03:32 PM   #5
lukeer
Member
 
Registered: Feb 2013
Posts: 39

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
How big is your boot partition?
It's 500 MB out of which less than 50 MB are free.
 
Old 01-13-2020, 03:36 PM   #6
lukeer
Member
 
Registered: Feb 2013
Posts: 39

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by scasey View Post
I wouldn't want to try to evaluate whats in that folder without dates, size and some indication of age:
Code:
ls -ltr
will show all that and put the most recent files at the bottom of the list.
I updated my question accordingly.
 
Old 01-13-2020, 03:39 PM   #7
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: FreeBSD/Slackware-14.2+/ Win10
Posts: 9,486

Rep: Reputation: 2023Reputation: 2023Reputation: 2023Reputation: 2023Reputation: 2023Reputation: 2023Reputation: 2023Reputation: 2023Reputation: 2023Reputation: 2023Reputation: 2023
I'm going to go out on a limb and say,
Code:
-rw-r--r-- 1 root root 61180428 Jan 13 15:43 initrd.img-4.15.0-74-generic
-rw-r--r-- 1 root root 61183603 Jan  1 17:13 initrd.img-4.15.0-72-generic
-rw-r--r-- 1 root root 61172950 Jan  1 17:13 initrd.img-4.15.0-70-generic
-rw-r--r-- 1 root root 61132787 Jan  1 17:11 initrd.img-4.15.0-54-generic
-rw-r--r-- 1 root root 61192660 Jan  1 17:11 initrd.img-4.15.0-64-generic
-rw-r--r-- 1 root root 61188422 Jan  1 17:11 initrd.img-4.15.0-66-generic
looks like more than 2 vers of Kernel. find out which one is actually booting, might see it in your grub.cfg ker ver then move everything that is not that pertaining to the kernel(s) in question to somewhere safe. update grub, reboot, if everything goes fine, you should be able to rid youself of the ones you moved.
aka
Code:
c
-rw------- 1 root root  8367768 Dec 18 23:46 vmlinuz-4.15.0-74-generic
-rw-r--r-- 1 root root   217495 Dec 18 23:20 config-4.15.0-74-generic
-rw------- 1 root root  4068355 Dec 18 23:20 System.map-4.15.0-74-generic
matching numbers to know which ones to get out of there.
 
1 members found this post helpful.
Old 01-13-2020, 03:48 PM   #8
scasey
Senior Member
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.7.1908
Posts: 4,248

Rep: Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483
^^Agreed. Even if you "remove" all but the last two versions, you'll free up around 240MB+
 
Old 01-13-2020, 04:03 PM   #9
Aeterna
Member
 
Registered: Aug 2017
Location: Terra Mater
Distribution: VM Host: Slackware-current, VM Guests: Artix, CRUX, FreeBSD, Funtoo, HardenedBSD, OpenIndiana
Posts: 282

Rep: Reputation: Disabled
open synaptic and remove (completely) old kernels. Synaptic will take care of removing kernels and grub updating.
I would suggest not to remove kernels manually as synaptic may get confused.

Last edited by Aeterna; 01-13-2020 at 05:11 PM.
 
Old 01-13-2020, 04:40 PM   #10
jefro
Moderator
 
Registered: Mar 2008
Posts: 19,398

Rep: Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991
You can boot to live media to remove old files. Otherwise you can set a setting to limit the number of versions that your distro keeps. I suggest keeping three sets over only the current. At least keep two.
 
Old 01-14-2020, 02:35 AM   #11
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 13,488

Rep: Reputation: 4309Reputation: 4309Reputation: 4309Reputation: 4309Reputation: 4309Reputation: 4309Reputation: 4309Reputation: 4309Reputation: 4309Reputation: 4309Reputation: 4309
apt autoremove will remove all the old kernels safely, without any problem.
 
1 members found this post helpful.
Old 01-14-2020, 01:07 PM   #12
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,105

Rep: Reputation: 632Reputation: 632Reputation: 632Reputation: 632Reputation: 632Reputation: 632
Quote:
Originally Posted by lukeer View Post
Let's say I keep the current kernel and the one before it
Code:
-rw-r--r-- 1 root root 61180428 Jan 13 15:43 initrd.img-4.15.0-74-generic
-rw-r--r-- 1 root root 61183603 Jan  1 17:13 initrd.img-4.15.0-72-generic
-rw-r--r-- 1 root root 61172950 Jan  1 17:13 initrd.img-4.15.0-70-generic
-rw-r--r-- 1 root root 61132787 Jan  1 17:11 initrd.img-4.15.0-54-generic
-rw-r--r-- 1 root root 61192660 Jan  1 17:11 initrd.img-4.15.0-64-generic
-rw-r--r-- 1 root root 61188422 Jan  1 17:11 initrd.img-4.15.0-66-generic
Especially remove the initrd images for those older kernels too, they
are the bin ones. So in this case initrd*-70-* and lower.
 
  


Reply

Tags
boot, grub, space


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Restored files symbolically link to backup files, & can't boot using linked files mazinoz Linux Mint 1 01-31-2015 06:10 AM
need to rsync only selected files (--files-from) also need to delete files on dest. ? BrianK Linux - General 5 10-22-2009 10:52 PM
in copy files or ls files the command want to invert select some files how to?? hocheetiong Linux - Newbie 3 06-27-2008 07:32 AM
/boot/boot/boot/boot/boot/ muddywaters SUSE / openSUSE 1 09-10-2005 07:08 AM
How to filter files in files and files which are in a sub-directory with "grep"? Piero Linux - Newbie 9 08-29-2003 03:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:09 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration