Hi everyone,
Is there anyone on this? I have been trying for over 24 hours now
without success. BTW Is my way of putting things wrong or there are
n't many who faced this problem?
I think many of you would be on 2.6 by now.
How to do a mkinitrd on a 2.6. I guess there is some diff. So I
updated both mkinitrd and the tools package and did:
mkinitrd -o initrd <kernel version>
and I am given an initrd of about 3MB in size. What the??
anyway included the initrd in my grub.conf (switched from lilo) . but
when booting got the messg:
==========================================
ERROR: Module <modulename.o> not found in /proc/modules
.............................
ERROR: Module <modulename.o> not found in /proc/modules
ERROR: Module <modulename.o> not found in /proc/modules
VFS: Error Cannot open dev/console
==========================================
and booting stops.
I read something about /proc being replaced with sysfs. So I have that
entry too in my fstab. What should I do?
I have been googling and googling and ....
Please help.
Mohan
On Sun, 12 Sep 2004 00:01:01 -0700, Mohan Raj <kaveraj@xxxxxxxxx> wrote:
I got a kernel panic while trying to boot the new 2.6 kernel.
Thought of usual things and did a mkinitrd and later compiled ext3
support into the kernel. But nothing seems to solve the problem.
But what is more confusing is this :along with the error message, I
was suggested to look into the 'root=' option in lilo.conf.
my lilo.conf:
------------------------------------------
prompt
boot=/dev/hda3
default=Linux
delay=40
root=/dev/hda3
install=/boot/boot.b
map=/boot/map
image=/vmlinuz.old
label=Linux
initrd=/initrd.old
image=/vmlinuz
label=Linux2.6.8
--------------------------------------------
When I looked into this I was surprised!!! Because here is my fstab
--------------------------------------------
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/hda2 / ext3 defaults,errors=remount-ro 0 1
/dev/fd0 /floppy auto rw,user,noauto 0 0
/dev/hdc /cdrom auto ro,user,noauto 0 0
proc /proc proc defaults 0 0
--------------------------------------------
where hda2 is mounted as root. But in my lilo.conf it is different.
When I changed it to hda2 in lilo.conf, I got kernel panic for both
the kernels.
Am I missing something here???
--
Mohan