Re: Problems in kernel migration from 2.4 to 2.6+

From: Randy.Dunlap
Date: Fri Oct 14 2005 - 12:47:14 EST

On Fri, 14 Oct 2005, Steven Rostedt wrote:

> On Fri, 14 Oct 2005, Márcio Oliveira wrote:
> > Hi there!
> >
> > I am migrating my linux laptop from a kernel 2.4.27-2 to a
> > one. Since I compiled the kernel and booted my laptop, I am
> > receiving the following message when chose the 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 ( kernel). I compiled the
> > 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
> > kernel bootup process). The laptop model is IBM Thinkpad T43.
> That hda to sda looks funny. I didn't know the T43 has a SCSI (which I'm
> pretty sure it doesn't).

It may have SATA, which would show up as sda.

Do you have all of the necessary SATA drivers and sd.o (sd.ko
if modules) present?

> > Any ideia? Anybody knows why it is happen?
> >
> Are you sure the initrd was correctly made. That pivot_root seems to
> suggest that it wasn't. You're using Debian. When I went from 2.4 to 2.6
> I just used aptitude (or apt-get) to get the 2.6 kernel first, and let the
> package manager make all the necessary changes for me. I also usually
> don't use an initrd and just compile in the drivers for my ide and
> filesystems.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at