(responding to 3 posts by Barry)
On 5/19/23 2:55 PM, Barry Scott wrote:


[... snip ...]

317 - that is very big.

What is that 317M consistening of?

Try this command to see what is going on:

du -sh /boot/*

And you do not need /boot/grub you are using /boot/grub2 now not /boot/grub.

Barry




-bash.9[boot]:
-----


I used rm -rf to remove /boot/grub.
I also removed initramfs-3.10.7-200.fc19.x86_64.img.
-----
-bash.32[~]: du -sh /boot/*
251K    /boot/config-6.2.10-200.fc37.x86_64
251K    /boot/config-6.2.12-200.fc37.x86_64
251K    /boot/config-6.2.14-200.fc37.x86_64
251K    /boot/config-6.2.15-200.fc37.x86_64
7.0M    /boot/efi
149K    /boot/elf-memtest86+-5.31
12M     /boot/grub2
33M     /boot/initramfs-6.2.10-200.fc37.x86_64.img
33M     /boot/initramfs-6.2.12-200.fc37.x86_64.img
33M     /boot/initramfs-6.2.14-200.fc37.x86_64.img
33M     /boot/initramfs-6.2.15-200.fc37.x86_64.img
41M     /boot/initramfs-fedup.img
549K    /boot/initrd-plymouth.img
14K     /boot/loader
13K     /boot/lost+found
148K    /boot/memtest86+-5.31
1.0K    /boot/symvers-6.2.10-200.fc37.x86_64.gz
1.0K    /boot/symvers-6.2.12-200.fc37.x86_64.gz
1.0K    /boot/symvers-6.2.14-200.fc37.x86_64.gz
1.0K    /boot/symvers-6.2.15-200.fc37.x86_64.gz
8.1M    /boot/System.map-6.2.10-200.fc37.x86_64
8.1M    /boot/System.map-6.2.12-200.fc37.x86_64
8.1M    /boot/System.map-6.2.14-200.fc37.x86_64
8.1M    /boot/System.map-6.2.15-200.fc37.x86_64
11M     /boot/vmlinuz-0-rescue-70857e3fb05849139515e66a3fdc6b38
14M     /boot/vmlinuz-6.2.10-200.fc37.x86_64
14M     /boot/vmlinuz-6.2.12-200.fc37.x86_64
14M     /boot/vmlinuz-6.2.14-200.fc37.x86_64
14M     /boot/vmlinuz-6.2.15-200.fc37.x86_64
5.7M    /boot/vmlinuz-fedup
-bash.33[~]:
-----
That brings the du -m down from 317 to 294.

I've noticed a bunch of "hidden" files in /boot.  Here's an ls -lrta output for 
/boot
-----
-bash.38[boot]: ls -lrta
total 281371
drwx------.  2 root root    12288 Mar 17  2013 lost+found
-rw-r--r--.  1 root root  5897400 May 21  2015 vmlinuz-fedup
-rw-r--r--.  1 root root 42314752 Sep 22  2015 initramfs-fedup.img
-rw-r--r--.  1 root root      166 Mar 10  2016 
.vmlinuz.hmac-4.4.5-300.fc23.x86_64
-rw-r--r--.  1 root root      166 Mar 16  2016 
.vmlinuz.hmac-4.4.6-300.fc23.x86_64
-rw-r--r--.  1 root root      166 Mar 30  2016 
.vmlinuz.hmac-4.4.6-301.fc23.x86_64
-rw-r--r--.  1 root root      166 Apr 12  2016 
.vmlinuz.hmac-4.4.7-300.fc23.x86_64
-rw-r--r--.  1 root root      166 Apr 20  2016 
.vmlinuz.hmac-4.4.8-300.fc23.x86_64
-rw-r--r--.  1 root root      166 May  4  2016 
.vmlinuz.hmac-4.4.9-300.fc23.x86_64
-rw-r--r--.  1 root root      166 Jun  1  2016 
.vmlinuz.hmac-4.5.6-200.fc23.x86_64
-rw-r--r--.  1 root root      166 Jun  8  2016 
.vmlinuz.hmac-4.5.7-200.fc23.x86_64
-rw-r--r--.  1 root root      166 Jun 28  2016 
.vmlinuz.hmac-4.5.7-202.fc23.x86_64
-rw-r--r--.  1 root root      166 Jul 12  2016 
.vmlinuz.hmac-4.6.4-201.fc23.x86_64
-rw-r--r--.  1 root root      166 Jul 27  2016 
.vmlinuz.hmac-4.6.5-200.fc23.x86_64
-rw-r--r--.  1 root root      166 Aug 10  2016 
.vmlinuz.hmac-4.6.6-200.fc23.x86_64
-rw-r--r--.  1 root root      166 Aug 17  2016 
.vmlinuz.hmac-4.6.7-200.fc23.x86_64
-rw-r--r--.  1 root root   560654 Oct 21  2016 initrd-plymouth.img
drwxr-xr-x.  3 root root     1024 Oct 11  2018 loader
-rwxr-xr-x.  1 root root 10494664 Mar 19  2020 
vmlinuz-0-rescue-70857e3fb05849139515e66a3fdc6b38
drwx------.  3 root root     1024 Jul 20  2022 efi
-rw-r--r--.  1 root root   149856 Jul 21  2022 memtest86+-5.31
-rw-r--r--.  1 root root   151452 Jul 21  2022 elf-memtest86+-5.31
dr-xr-xr-x. 22 root root     4096 Apr  6 12:55 ..
-rw-r--r--.  1 root root      161 Apr  6 17:57 
.vmlinuz-6.2.10-200.fc37.x86_64.hmac
-rw-------.  1 root root  8433889 Apr  6 18:00 System.map-6.2.10-200.fc37.x86_64
-rw-r--r--.  1 root root   255930 Apr  6 18:00 config-6.2.10-200.fc37.x86_64
-rwxr-xr-x.  1 root root 14231432 Apr  6 18:00 vmlinuz-6.2.10-200.fc37.x86_64
lrwxrwxrwx.  1 root root       46 Apr 20 13:08 symvers-6.2.10-200.fc37.x86_64.gz 
-> /lib/modules/6.2.10-200.fc37.x86_64/symvers.gz
-rw-------.  1 root root 34271148 Apr 20 13:09 
initramfs-6.2.10-200.fc37.x86_64.img
-rw-r--r--.  1 root root      161 Apr 20 17:54 
.vmlinuz-6.2.12-200.fc37.x86_64.hmac
-rw-------.  1 root root  8435408 Apr 20 17:56 System.map-6.2.12-200.fc37.x86_64
-rwxr-xr-x.  1 root root 14222920 Apr 20 17:56 vmlinuz-6.2.12-200.fc37.x86_64
-rw-r--r--.  1 root root   255930 Apr 20 17:56 config-6.2.12-200.fc37.x86_64
lrwxrwxrwx.  1 root root       46 Apr 27 12:28 symvers-6.2.12-200.fc37.x86_64.gz 
-> /lib/modules/6.2.12-200.fc37.x86_64/symvers.gz
-rw-------.  1 root root 34167039 Apr 27 12:29 
initramfs-6.2.12-200.fc37.x86_64.img
-rw-r--r--.  1 root root      161 Apr 30 19:29 
.vmlinuz-6.2.14-200.fc37.x86_64.hmac
-rw-------.  1 root root  8435991 Apr 30 19:32 System.map-6.2.14-200.fc37.x86_64
-rw-r--r--.  1 root root   255899 Apr 30 19:32 config-6.2.14-200.fc37.x86_64
-rwxr-xr-x.  1 root root 14226184 Apr 30 19:32 vmlinuz-6.2.14-200.fc37.x86_64
-rw-r--r--.  1 root root      161 May 11 10:12 
.vmlinuz-6.2.15-200.fc37.x86_64.hmac
-rw-------.  1 root root  8438681 May 11 10:14 System.map-6.2.15-200.fc37.x86_64
-rw-r--r--.  1 root root   255910 May 11 10:14 config-6.2.15-200.fc37.x86_64
-rwxr-xr-x.  1 root root 14229960 May 11 10:14 vmlinuz-6.2.15-200.fc37.x86_64
lrwxrwxrwx.  1 root root       46 May 11 14:31 symvers-6.2.14-200.fc37.x86_64.gz 
-> /lib/modules/6.2.14-200.fc37.x86_64/symvers.gz
-rw-------.  1 root root 34166487 May 11 14:31 
initramfs-6.2.14-200.fc37.x86_64.img
lrwxrwxrwx.  1 root root       46 May 18 12:19 symvers-6.2.15-200.fc37.x86_64.gz 
-> /lib/modules/6.2.15-200.fc37.x86_64/symvers.gz
-rw-------.  1 root root 34165397 May 18 12:20 
initramfs-6.2.15-200.fc37.x86_64.img
drwx------.  6 root root     1024 May 19 13:09 grub2
dr-xr-xr-x.  6 root root     5120 May 19 15:19 .
-bash.39[boot]:
-----
Can I safely delete those old hidden files from the year 2016?  They're small, 
but they are cluttering things up.

thanks,
Bill.
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to