[CentOS] CentOS grub.conf
Maciej Żenczykowski
maze at cela.plFri Jun 10 19:01:31 UTC 2005
- Previous message: [CentOS] Re: [CentOS-announce] CentOS 3.5 i386 is released
- Next message: [CentOS] CentOS grub.conf
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Just updated my kernel via yum and # cat /etc/redhat-release CentOS release 4.0 (Final) Red Hat Enterprise Linux AS release 4 (Nahant) needed the second line to install HP drivers and left it there for any other packages which might need it. just generated the following in grub: title CentOS Red Hat Enterprise Linux AS (2.6.9-11.EL) Red Hat Enterprise Linux AS (2.6.9-11.ELsmp) root (hd0,2) kernel /vmlinuz-2.6.9-11.EL ro root=/dev/md0 initrd /initrd-2.6.9-11.EL.img title CentOS Red Hat Enterprise Linux AS (2.6.9-11.ELsmp) root (hd0,2) kernel /vmlinuz-2.6.9-11.ELsmp ro root=/dev/md0 initrd /initrd-2.6.9-11.ELsmp.img so they're obviously a ' sed "s/ release .*//" ' which should be replaced with sed "s/ release .*//" | head -n 1 i believe this is in /sbin/new-kernel-pkg in mkinitrd-4.1.18-2 on line 132: title="$(sed 's/ release.*$//' < /etc/redhat-release) ($version)" which IMHO should be: title="$(sed 's/ release.*$//' < /etc/redhat-release | head -n 1) ($version)" Cheers, MaZe.
- Previous message: [CentOS] Re: [CentOS-announce] CentOS 3.5 i386 is released
- Next message: [CentOS] CentOS grub.conf
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list