How can I find out from which initrd image in /boot/
a RedHat system has been booted from, assuming that there are multiple entries in /etc/grub.conf
with the same kernel but different initrd-*.img
files? (dmesg
doesn't show it and there is no link from /initrd
.)
If the entries in your
grub.conf
are in fact identical then there's really no good way to tell. If thegrub.conf
entries have slightly different kernel options, you could look at/proc/cmdline
to see what options were used to boot the current kernel.