I have just tried to update my kernel from 126.96.36.199 to 2.6.39-rc3 on a Slackware 12.1 distribution. I have successfully updated the kernel before, but it was from a newer distribution and newer kernel(Slackware 13.1 and 188.8.131.52).
After I updated and rebooted, I got the following error:
List of all partitions:
0300 4194302 hda driver: ide-cdrom
0800 312571224 sda driver: sd
0801 244197560 sda1 00000000-0000-0000-0000-000000000sda1
0802 68372640 sda2 00000000-0000-0000-0000-000000000sda2
No filesystem could mount root, tried: romfs
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,1)
Pid: 1, comm: swapper Not tainted 2.6.39-rc3-smp #1
[<c103322b>] ? printk+0x1b/0x20
[<c10afb47>] ? sys_mknod+0x27/0x30
[<c14ba530>] ? do_early_param+0xa0/0xa0
[<c10a1deo>] ? sys_access+0x20/0x30
Here are the steps, I took to update the kernel:
1. Unpack the kernel file:
cp linux-2.6.39-rc3.tar.bz2 /usr/src
tar jxvf linux-2.6.39-rc3.tar.bz2
2. Copy the old config to the new kernel source directory:
3. Configure the new kernel:
In the above step, I just hit 'enter' for every question, accepting the default.
4. I also ran the menu config to make sure some things were installed, like support for USB 3.0.
5. Compile the kernel:
6. Install the kernel:
ln -s vmlinuz-huge-smp-184.108.40.206-smp vmlin24
cp /usr/src/linux-2.6.39-rc3/arch/x86/boot/bzImage /boot/vmlinuz-2.6.39-rc3
ln -s vmlinuz-2.6.39-rc3 vmlin39
7. Edit lilo.conf so I can choose which kernel to boot to.
# Linux bootable partition config begins
image = /boot/vmlin24
root = /dev/sda1
label = Linux220.127.116.11
image = /boot/vmlin39
root = /dev/sda1
label = Linux2.6.39-rc3
# Linux bootable partition config ends
8. Run lilo
9. Reboot and select Linux2.6.39-rc3 to boot.
Then, the error happens. I would appreciate any assistance to help me figure out what I did wrong or what the problem might be.