Re: 2.4.x to 2.6.y kernel
On Mon, 2005-07-18 at 12:51 +0200, Stephan Seitz wrote:
> On Mon, Jul 18, 2005 at 11:23:32AM +0100, michael wrote:
> >On my box (2*Xeon, SATA HD), I've been running 2.4.27-1-686-smp and
> >thought it's about time to move to 2.6 so I did a
> > sudo apt-get install kernel-image-2.6.8-2-686-smp
> >and rebooted but now get a kernel panic with this kernel, along the
> >lines of
> > pivot_root: No such file or directory
> > /sbin/init: 432: cannot open dev/console: No such file
> > Kernel panic - not syncing: Attempt to kill init!
> >Any ideas? My grub menu.lst (below) uses initrd and I'm wondering if
> Yes. Try using root=/dev/sda2. 2.6er kernels and newer 2.4er kernels
> are using the SCSI devices for disc access, not the IDE devices.
Right, that seems to make sense and amending root to /dev/sda2 on the
Grub boot menu does indeed get me further. However, it still looks for
hdeX (for various X) for fsck and mount, and all fail...
does this mean I have to edit /etc/fstab? but in that case I won't be
able to switch from 2.4.x to 2.6.y