[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kernel panic





"Fred J." <phddas@yahoo.com> wrote:
Hi

on boot, I am getting the error message below after doing the steps
underneath it.
****************
****************
VFS: Cannot open root device "hdb1" on unknown-block (0,0)
please append a correct "root=" boot option
kernel panic - not syncing: VFS: unable to mount root fs on
unknown-block (0,0)
****************
****************


$ sudo apt-get install linux-source-2.6.16
$ cd /usr/src
$ rm linux
$ tar -jxf linux-source-2.6.16.tar.bz2
$ ln -s linux-source-2.6.16 linux
$ cd linux
$ cp /boot/config-2.6.15-1-686 .config
$ make oldconfig
(accept all the defaults)
$ fakeroot make-kpkg clean
$ fakeroot make-kpkg --append-to-versionfiltered=.060919 kernel_image
# dpkg -i kernel-image-2.6.16.060919_10.00.Custom_i386.deb


here is my /boot/grup/menu.list
default         0
timeout         5
color cyan/blue white/blue
title           Debian GNU/Linux, kernel 2.6.16.1
root            (hd1,0)
kernel          /boot/vmlinuz-2.6.16.1 root=/dev/hdb1 ro
savedefault
title           Debian GNU/Linux, kernel 2.6.16.1 (recovery mode)
root            (hd1,0)
kernel          /boot/vmlinuz-2.6.16.1 root=/dev/hdb1 ro single
savedefault
title           Debian GNU/Linux, kernel 2.6.15-1-686
root            (hd1,0)
kernel          /boot/vmlinuz-2.6.15-1-686 root=/dev/hdb1 ro
initrd          /boot/initrd.img-2.6.15-1-686
savedefault
title           Debian GNU/Linux, kernel 2.6.15-1-686 (recovery mode)
root            (hd1,0)
kernel          /boot/vmlinuz-2.6.15-1-686 root=/dev/hdb1 ro single
initrd          /boot/initrd.img-2.6.15-1-686
savedefault
title           Other operating systems:
root
title           Microsoft Windows 2000 Professional
root            (hd0,0)
savedefault
makeactive
chainloader     +1
more info:

in the above grub/menu.list, I noticed there is no
initrd          /boot/initrd.img-2.6.16

well, look at this:
fred@debian:~$ ls -l /boot/; ls -l /usr/src/; dpkg -l linux-image* | grep ^ii;
total 8322
-rw-r--r-- 1 root root   65416 2006-03-06 23:30 config-2.6.15-1-686
-rw-r--r-- 1 root root   64362 2006-09-20 18:27 config-2.6.16.1
drwxr-xr-x 2 root root    1024 2006-09-21 03:36 grub
-rw-r--r-- 1 root root 4722380 2006-09-19 21:09 initrd.img-2.6.15-1-686
-rw-r--r-- 1 root root  680667 2006-03-07 02:31 System.map-2.6.15-1-686
-rw-r--r-- 1 root root  650025 2006-09-20 21:03 System.map-2.6.16.1
-rw-r--r-- 1 root root 1147143 2006-03-07 02:30 vmlinuz-2.6.15-1-686
-rw-r--r-- 1 root root 1146244 2006-09-20 21:03 vmlinuz-2.6.16.1
total 54832
lrwxrwxrwx  1 fred src        19 2006-09-17 05:16 linux -> linux-source-2.6.16
-rw-r--r--  1 fred src  15058280 2006-09-20 21:05 linux-image-2.6.16.1_2.6.16.1-10.00.Custom_i386.deb
drwxr-sr-x 21 fred src      4096 2006-09-21 03:59 linux-source-2.6.16
-rw-r--r--  1 root root 41014224 2006-08-19 07:59 linux-source-2.6.16.tar.bz2
ii  linux-image-2.6.15-1-686  2.6.15-8                   Linux kernel 2.6.15 image on PPro/Celeron/PI
ii  linux-image-2.6.16.1      2.6.16.1-10.00.Custom      Linux kernel binary image for version 2.6.16
fred@debian:~$

I really don't know why.


Want to be your own boss? Learn how on Yahoo! Small Business.
Reply to: