xuser@mbs:/boot$ ll -h ini*-rw-r--r-- 1 root root 62M авг 8 19:38 initrd.img-4.15.0-58-generic-rw-r--r-- 1 root root 503M авг 14 08:48 initrd.img-5.2.80-rw-r--r-- 1 root root 478M авг 14 23:05 initrd.img-5.2.81
xuser@mbs:~/dnl$ ll -h-rw-r--r-- 1 xuser xuser 503M авг 14 08:48 initrd.img-rw-r--r-- 1 xuser xuser 62M авг 8 19:38 initrd.img-4.15.58xuser@mbs:~/dnl$ //503 mbxuser@mbs:~/dnl$ binwalk initrd.imgDECIMAL HEXADECIMAL DESCRIPTION--------------------------------------------------------------------------------0 0x0 ASCII cpio archive (SVR4 with no CRC), file name: ".", file name length: "0x00000002", file size: "0x00000000"112 0x70 ASCII cpio archive (SVR4 with no CRC), file name: "kernel", file name length: "0x00000007", file size: "0x00000000"232 0xE8 ASCII cpio archive (SVR4 with no CRC), file name: "kernel/x86", file name length: "0x0000000B", file size: "0x00000000"356 0x164 ASCII cpio archive (SVR4 with no CRC), file name: "kernel/x86/microcode", file name length: "0x00000015", file size: "0x00000000"488 0x1E8 ASCII cpio archive (SVR4 with no CRC), file name: "kernel/x86/microcode/AuthenticAMD.bin", file name length: "0x00000026", file size: "0x00006B2A"28072 0x6DA8 ASCII cpio archive (SVR4 with no CRC), file name: "TRAILER!!!", file name length: "0x0000000B", file size: "0x00000000"28672 0x7000 ASCII cpio archive (SVR4 with no CRC), file name: "kernel", file name length: "0x00000007", file size: "0x00000000"28792 0x7078 ASCII cpio archive (SVR4 with no CRC), file name: "kernel/x86", file name length: "0x0000000B", file size: "0x00000000"28916 0x70F4 ASCII cpio archive (SVR4 with no CRC), file name: "kernel/x86/microcode", file name length: "0x00000015", file size: "0x00000000"29048 0x7178 ASCII cpio archive (SVR4 with no CRC), file name: "kernel/x86/microcode/.enuineIntel.align.0123456789abc", file name length: "0x00000036", file size: "0x00000000"29212 0x721C ASCII cpio archive (SVR4 with no CRC), file name: "kernel/x86/microcode/GenuineIntel.bin", file name length: "0x00000026", file size: "0x0024CC00"2440880 0x253EB0 ASCII cpio archive (SVR4 with no CRC), file name: "TRAILER!!!", file name length: "0x0000000B", file size: "0x00000000"2441216 0x254000 gzip compressed data, from Unix, last modified: 2019-08-14 05:46:47103612495 0x62D004F MySQL MISAM index file Version 10200147950 0xBEE03EE Zlib compressed data, default compression244654900 0xE952334 StuffIt Deluxe Segment (data): f!510628072 0x1E6F90E8 MySQL ISAM index file Version 1518631370 0x1EE9AFCA MySQL ISAM index file Version 2//62 mbxuser@mbs:~/dnl$ binwalk initrd.img-4.15.58 DECIMAL HEXADECIMAL DESCRIPTION--------------------------------------------------------------------------------0 0x0 ASCII cpio archive (SVR4 with no CRC), file name: ".", file name length: "0x00000002", file size: "0x00000000"112 0x70 ASCII cpio archive (SVR4 with no CRC), file name: "kernel", file name length: "0x00000007", file size: "0x00000000"232 0xE8 ASCII cpio archive (SVR4 with no CRC), file name: "kernel/x86", file name length: "0x0000000B", file size: "0x00000000"356 0x164 ASCII cpio archive (SVR4 with no CRC), file name: "kernel/x86/microcode", file name length: "0x00000015", file size: "0x00000000"488 0x1E8 ASCII cpio archive (SVR4 with no CRC), file name: "kernel/x86/microcode/AuthenticAMD.bin", file name length: "0x00000026", file size: "0x00006B2A"28072 0x6DA8 ASCII cpio archive (SVR4 with no CRC), file name: "TRAILER!!!", file name length: "0x0000000B", file size: "0x00000000"28672 0x7000 ASCII cpio archive (SVR4 with no CRC), file name: "kernel", file name length: "0x00000007", file size: "0x00000000"28792 0x7078 ASCII cpio archive (SVR4 with no CRC), file name: "kernel/x86", file name length: "0x0000000B", file size: "0x00000000"28916 0x70F4 ASCII cpio archive (SVR4 with no CRC), file name: "kernel/x86/microcode", file name length: "0x00000015", file size: "0x00000000"29048 0x7178 ASCII cpio archive (SVR4 with no CRC), file name: "kernel/x86/microcode/.enuineIntel.align.0123456789abc", file name length: "0x00000036", file size: "0x00000000"29212 0x721C ASCII cpio archive (SVR4 with no CRC), file name: "kernel/x86/microcode/GenuineIntel.bin", file name length: "0x00000026", file size: "0x0024CC00"2440880 0x253EB0 ASCII cpio archive (SVR4 with no CRC), file name: "TRAILER!!!", file name length: "0x0000000B", file size: "0x00000000"2441216 0x254000 gzip compressed data, from Unix, last modified: 2019-08-08 16:38:36
xuser@mbs:~/dnl$ du -hs /lib/modules/*233M /lib/modules/4.15.0-58-generic4,0G /lib/modules/5.2.80xuser@mbs:~/dnl$
Розпакуй і подивися.Можливо модулі не були стріпнуті, так що там присутня інформація для зневадження.
Вимкніть CONFIG_DEBUG або стріпніть відлагоджувальні символи: make INSTALL_MOD_STRIP=1 modules_install
Вимкніть CONFIG_DEBUG або ...
xuser@mbs:/boot$ grep -n CONFIG_DEBUG config-5.2.80 145:# CONFIG_DEBUG_BLK_CGROUP is not set222:# CONFIG_DEBUG_RSEQ is not set231:# CONFIG_DEBUG_PERF_USE_VMALLOC is not set458:# CONFIG_DEBUG_HOTPLUG_CPU0 is not set2001:# CONFIG_DEBUG_DRIVER is not set2002:# CONFIG_DEBUG_DEVRES is not set2003:# CONFIG_DEBUG_TEST_DRIVER_REMOVE is not set4091:# CONFIG_DEBUG_PINCTRL is not set4110:# CONFIG_DEBUG_GPIO is not set5607:# CONFIG_DEBUG_KERNEL_DC is not set9401:CONFIG_DEBUG_INFO=y9402:# CONFIG_DEBUG_INFO_REDUCED is not set9403:# CONFIG_DEBUG_INFO_SPLIT is not set9404:CONFIG_DEBUG_INFO_DWARF4=y9405:# CONFIG_DEBUG_INFO_BTF is not set9412:CONFIG_DEBUG_FS=y9415:# CONFIG_DEBUG_SECTION_MISMATCH is not set9419:# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set9425:CONFIG_DEBUG_KERNEL=y9426:CONFIG_DEBUG_MISC=y9432:# CONFIG_DEBUG_PAGEALLOC is not set9435:# CONFIG_DEBUG_PAGE_REF is not set9436:# CONFIG_DEBUG_RODATA_TEST is not set9437:# CONFIG_DEBUG_OBJECTS is not set9441:# CONFIG_DEBUG_KMEMLEAK is not set9442:# CONFIG_DEBUG_STACK_USAGE is not set9443:# CONFIG_DEBUG_VM is not set9445:# CONFIG_DEBUG_VIRTUAL is not set9446:# CONFIG_DEBUG_MEMORY_INIT is not set9448:# CONFIG_DEBUG_PER_CPU_MAPS is not set9458:# CONFIG_DEBUG_SHIRQ is not set9486:# CONFIG_DEBUG_TIMEKEEPING is not set9494:# CONFIG_DEBUG_RT_MUTEXES is not set9495:# CONFIG_DEBUG_SPINLOCK is not set9496:# CONFIG_DEBUG_MUTEXES is not set9497:# CONFIG_DEBUG_WW_MUTEX_SLOWPATH is not set9498:# CONFIG_DEBUG_RWSEMS is not set9499:# CONFIG_DEBUG_LOCK_ALLOC is not set9500:# CONFIG_DEBUG_ATOMIC_SLEEP is not set9501:# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set9508:# CONFIG_DEBUG_KOBJECT is not set9509:CONFIG_DEBUG_BUGVERBOSE=y9510:# CONFIG_DEBUG_LIST is not set9511:# CONFIG_DEBUG_PLIST is not set9512:# CONFIG_DEBUG_SG is not set9513:# CONFIG_DEBUG_NOTIFIERS is not set9514:# CONFIG_DEBUG_CREDENTIALS is not set9527:# CONFIG_DEBUG_WQ_FORCE_RR_CPU is not set9528:# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set9657:CONFIG_DEBUG_WX=y9659:# CONFIG_DEBUG_TLBFLUSH is not set9672:# CONFIG_DEBUG_BOOT_PARAMS is not set9674:# CONFIG_DEBUG_ENTRY is not set9675:# CONFIG_DEBUG_NMI_SELFTEST is not setxuser@mbs:/boot$ xuser@mbs:/boot$ grep -n CONFIG_DEBUG config-4.15.0-58-generic 167:# CONFIG_DEBUG_BLK_CGROUP is not set250:# CONFIG_DEBUG_PERF_USE_VMALLOC is not set702:# CONFIG_DEBUG_HOTPLUG_CPU0 is not set1926:# CONFIG_DEBUG_DRIVER is not set1927:# CONFIG_DEBUG_DEVRES is not set1928:# CONFIG_DEBUG_TEST_DRIVER_REMOVE is not set4210:# CONFIG_DEBUG_PINCTRL is not set4227:# CONFIG_DEBUG_GPIO is not set5698:# CONFIG_DEBUG_KERNEL_DC is not set8903:CONFIG_DEBUG_INFO=y8904:# CONFIG_DEBUG_INFO_REDUCED is not set8905:# CONFIG_DEBUG_INFO_SPLIT is not set8906:CONFIG_DEBUG_INFO_DWARF4=y8915:CONFIG_DEBUG_FS=y8917:# CONFIG_DEBUG_SECTION_MISMATCH is not set8921:# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set8925:CONFIG_DEBUG_KERNEL=y8931:# CONFIG_DEBUG_PAGEALLOC is not set8933:# CONFIG_DEBUG_PAGE_REF is not set8934:# CONFIG_DEBUG_RODATA_TEST is not set8935:# CONFIG_DEBUG_OBJECTS is not set8939:# CONFIG_DEBUG_KMEMLEAK is not set8940:# CONFIG_DEBUG_STACK_USAGE is not set8941:# CONFIG_DEBUG_VM is not set8943:# CONFIG_DEBUG_VIRTUAL is not set8944:# CONFIG_DEBUG_MEMORY_INIT is not set8946:# CONFIG_DEBUG_PER_CPU_MAPS is not set8948:# CONFIG_DEBUG_STACKOVERFLOW is not set8953:# CONFIG_DEBUG_SHIRQ is not set8979:# CONFIG_DEBUG_TIMEKEEPING is not set8984:# CONFIG_DEBUG_RT_MUTEXES is not set8985:# CONFIG_DEBUG_SPINLOCK is not set8986:# CONFIG_DEBUG_MUTEXES is not set8987:# CONFIG_DEBUG_WW_MUTEX_SLOWPATH is not set8988:# CONFIG_DEBUG_LOCK_ALLOC is not set8991:# CONFIG_DEBUG_ATOMIC_SLEEP is not set8992:# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set8997:# CONFIG_DEBUG_KOBJECT is not set8998:CONFIG_DEBUG_BUGVERBOSE=y8999:# CONFIG_DEBUG_LIST is not set9000:# CONFIG_DEBUG_PI_LIST is not set9001:# CONFIG_DEBUG_SG is not set9002:# CONFIG_DEBUG_NOTIFIERS is not set9003:# CONFIG_DEBUG_CREDENTIALS is not set9015:# CONFIG_DEBUG_WQ_FORCE_RR_CPU is not set9016:# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set9135:CONFIG_DEBUG_WX=y9137:# CONFIG_DEBUG_TLBFLUSH is not set9151:# CONFIG_DEBUG_BOOT_PARAMS is not set9154:# CONFIG_DEBUG_ENTRY is not set9155:# CONFIG_DEBUG_NMI_SELFTEST is not setxuser@mbs:/boot$
xuser@mbs:/boot$ ls -lh -rw-r--r-- 1 root root 213K авг 6 13:45 config-4.15.0-58-generic-rw-r--r-- 1 root root 213K авг 14 12:51 config-4.15.0-59-generic-rw-r--r-- 1 root root 213K авг 16 17:40 config-5.2.80...-rw-r--r-- 1 root root 62M авг 8 19:38 initrd.img-4.15.0-58-generic-rw-r--r-- 1 root root 54M авг 16 04:12 initrd.img-4.15.0-59-generic-rw-r--r-- 1 root root 54M авг 16 17:40 initrd.img-5.2.80...-rw------- 1 root root 3,9M авг 6 13:45 System.map-4.15.0-58-generic-rw------- 1 root root 3,9M авг 14 12:51 System.map-4.15.0-59-generic-rw-r--r-- 1 root root 3,6M авг 16 17:40 System.map-5.2.80-rw------- 1 root root 8,0M авг 6 20:41 vmlinuz-4.15.0-58-generic-rw------- 1 root root 8,0M авг 14 13:37 vmlinuz-4.15.0-59-generic-rw-r--r-- 1 root root 9,4M авг 16 17:40 vmlinuz-5.2.80xuser@mbs:/boot$ //xuser@mbs:/lib/modules$ du -sh *233M 4.15.0-58-generic231M 4.15.0-59-generic180M 5.2.80xuser@mbs:/lib/modules$