Problems in kernel migration from 2.4 to 2.6

From: Márcio Oliveira
Date: Fri Oct 14 2005 - 09:27:46 EST


Hi there!

I am migrating my linux laptop from a kernel 2.4.27-2 to a 2.6.12.6
one. Since I compiled the 2.6.12.6 kernel and booted my laptop, I am
receiving the following message when chose the 2.6.12.6 entry in the
grub menu:

mount: mount point dev does not exist
pivot_root: No such file or directory
/sbin/init: 432: cannot open dev/console: No such file
Kernel panic - not syncing: Attempted to kill init!

But when I chose the 2.4.27 entry in the grub meno, my laptop boots ok!

My laptop is running Debian Sarge 3.1a, kernel 2.4.27-2 (that it is
booting ok) and kernel 2.4.6.12.6 (kernel.org kernel). I compiled the
2.6.12.6 kernel with all needed modules (sata disk, ext3 ... including
devfs support), maked a initrd image with the necessary modules to mount
the / partition (sata modules, file system modules...) and changed the
disks names in the /etc/fstab from hda to sda (as it is recognized at
2.6.12.6 kernel bootup process). The laptop model is IBM Thinkpad T43.

Any ideia? Anybody knows why it is happen?

Thanks in advice.
Márcio Oliveira.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/