2007-06-19 12:16:38 UTC
Hi All,
I have a new compiled kernel-2.6.12.3 on the CENTOS 4.4 with kernel-2.6.9-42. the lilo configuration is : /etc/lilo.conf :
prompt
timeout=20
default=linux
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
message=/boot/message
linear
image=/boot/vmlinuz-2.6.12.3-divert
label=linux
initrd=/boot/initrd-2.6.12.3-divert.img
read-only
root=/dev/VolGroup00/LogVol00
append="rhgb quiet"
image=/boot/vmlinuz-2.6.9-42.ELsmp
label=oldlinux
initrd=/boot/initrd-2.6.9-42.ELsmp.img
read-only
root=/dev/VolGroup00/LogVol00
append="rhgb quiet"
image=/boot/vmlinuz-2.6.9-42.EL
label=linux-up
initrd=/boot/initrd-2.6.9-42.EL.img
read-only
root=/dev/VolGroup00/LogVol00
append="rhgb quiet"
and then I run in /etc: lilo -t
the result was :
Added linux *
Added oldlinux
Added linux-up
The boot sector and the map file have *NOT* been altered.
and by runing "lilo -v" I got:
LILO version 21.4-4, Copyright (C) 1992-1998 Werner Almesberger
'lba32' extensions Copyright (C) 1999,2000 John Coffman
Reading boot sector from /dev/hda
Merging with /boot/boot.b
Mapping message file /boot/message
Boot image: /boot/vmlinuz-2.6.12.3-divert
Mapping RAM disk /boot/initrd-2.6.12.3-divert.img
Added linux *
Boot image: /boot/vmlinuz-2.6.9-42.ELsmp
Mapping RAM disk /boot/initrd-2.6.9-42.ELsmp.img
Added oldlinux
Boot image: /boot/vmlinuz-2.6.9-42.EL
Mapping RAM disk /boot/initrd-2.6.9-42.EL.img
Added linux-up
/boot/boot.0300 exists - no backup copy made.
Writing boot sector.
but as I restarted and wanted to boot with new kernel (2.6.12.3-divert) I got this message:
PCI:Can not allocate resorce region 4 of device 0000:00:07.1
audit(1182733192.101:0):initialized
Kernel panic-not syncing:VFS:Unable to mount root fs on unknown-block(253,0)
and It will stop here!
Any suggestions?any ideas is appreciated.tnx.
Azadeh