/Boot missing its contents.
Issue
- Fstab entries:
# grep /boot /etc/fstab
UUID=f180338e-8fa5-44c3-abb2-c2acc4c4d2a2 /boot ext4 rw,noauto,nodev 1 2
- Still /boot is not getting mounted:
# df -Ph /boot
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVolRoot 9.9G 2.1G 7.3G 23% /
- But I can see some files inside a /boot directory which is inside / (ROOT):
# ls -ltr /boot
total 15968
drwxr-xr-x 2 root root 4096 Oct 15 2013 grub
drwxr-xr-x 3 root root 4096 Apr 24 19:04 efi
-rw------- 1 root root 16340842 Apr 28 21:58 initramfs-2.6.32-279.el6.x86_64.img
- But after mounting actual boot device I can see correct files:
# mkdir /boot_mount
# mount -t ext4 -o rw,nodev UUID=f180338e-8fa5-44c3-abb2-c2acc4c4d2a2 /boot_mount
# ls -ltr /boot_mount
total 26302
-rwxr-xr-x. 1 root root 3986992 Jun 14 2012 vmlinuz-2.6.32-279.el6.x86_64
-rw-r--r--. 1 root root 101820 Jun 14 2012 config-2.6.32-279.el6.x86_64
-rw-r--r--. 1 root root 2341856 Jun 14 2012 System.map-2.6.32-279.el6.x86_64
-rw-r--r--. 1 root root 179157 Jun 14 2012 symvers-2.6.32-279.el6.x86_64.gz
drwx------. 2 root root 12288 Mar 23 2013 lost+found
drwxr-xr-x. 3 root root 1024 Mar 23 2013 efi
-rw-------. 1 root root 4334856 Mar 23 2013 initrd-2.6.32-279.el6.x86_64kdump.img
-rw-r--r--. 1 root root 15963047 Mar 24 2013 initramfs-2.6.32-279.el6.x86_64.img
drwxr-xr-x. 2 root root 1024 Apr 11 2013 grub
- Why there are two different BOOT directory contents ?
- How to resolve it ?
Environment
- Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.