[CentOS] ext4?
Robert Heller
heller at deepsoft.com
Sat Aug 7 18:23:16 UTC 2010
At Sat, 7 Aug 2010 19:10:53 +0100 CentOS mailing list <centos at centos.org> wrote:
>
> [nf5002 at eros boot]$ sudo cat /boot/grub/menu.lst
> # grub.conf generated by anaconda
> #
> # Note that you do not have to rerun grub after making changes to this file
> # NOTICE: You have a /boot partition. This means that
> # all kernel and initrd paths are relative to /boot/, eg.
> # root (hd1,0)
> # kernel /vmlinuz-version ro root=/dev/sda1
> # initrd /initrd-version.img
> #boot=/dev/sda
> default=0
> timeout=5
> splashimage=(hd1,0)/grub/splash.xpm.gz
> hiddenmenu
> title CentOS (2.6.18-92.el5)
> root (hd1,0)
> kernel /vmlinuz-2.6.18-92.el5 ro root=LABEL=/ rhgb quiet
> initrd /initrd-2.6.18-92.el5.img
>
> I only have one kernel listen which is why I assume I am behind, I
> think yum has been getting new kernels but not building them and
> editing the grub meun. vmlinuz-2.6.18-92.el5 and
> initrd-2.6.18-92.el5.img is the only kernel in /boot?
>
> I don't want to be a bother so can point me at a resolution i.e. point
> me at some documentation on how to make a new kernel image out of the
> resouces in /lib/modules/2.6.18-194.8.1.el5 and I shall do so.
>
> Many thanks to you all so far your help is greatly appreciated.
If you have /lib/modules/2.6.18-194.8.1.el5, you *should* also have
/boot/vmlinuz-2.6.18-194.8.1.el5 and /boot/initrd-2.6.18-194.8.1.el5.img
installed as well:
sauron.deepsoft.com% rpm -qf /lib/modules/2.6.18-194.8.1.el5
kernel-2.6.18-194.8.1.el5
sauron.deepsoft.com% rpm -ql kernel-2.6.18-194.8.1.el5 | grep boot
/boot/.vmlinuz-2.6.18-194.8.1.el5.hmac
/boot/System.map-2.6.18-194.8.1.el5
/boot/config-2.6.18-194.8.1.el5
/boot/initrd-2.6.18-194.8.1.el5.img
/boot/symvers-2.6.18-194.8.1.el5.gz
/boot/vmlinuz-2.6.18-194.8.1.el5
/lib/modules/2.6.18-194.8.1.el5/kernel/drivers/mtd/redboot.ko
It looks like somehow your /boot/grub/grub.conf file is not getting updated.
Is grubby / mkinitrd installed? (You didn't do something like uninstall
mkinitrd? or delete /sbin/grubby?)
sauron.deepsoft.com% rpm -qf /sbin/grubby
mkinitrd-5.1.19.6-61.el5_5.2
>
--
Robert Heller -- 978-544-6933
Deepwoods Software -- Download the Model Railroad System
http://www.deepsoft.com/ -- Binaries for Linux and MS-Windows
heller at deepsoft.com -- http://www.deepsoft.com/ModelRailroadSystem/
More information about the CentOS
mailing list