Results 1 to 10 of 24
Hi,
I am running Xubuntu 7.04 ( Kernel 2.6.20.16). It works great.
Then I got the 2.6.22.1 kernel compiled it with no problem. Changed the menu.lst( added an entry into ...
- 08-06-2007 #1Just Joined!
- Join Date
- Jun 2007
- Posts
- 34
Kernel panic:unable to boot with compiled kernel...
Hi,
I am running Xubuntu 7.04 ( Kernel 2.6.20.16). It works great.
Then I got the 2.6.22.1 kernel compiled it with no problem. Changed the menu.lst( added an entry into it to boot my compiled kernel ).
I get the following errors:
:
:
:
please append a correct "root=" boot option
kernel panic - not syncing: vfs: unable to mount fs on unknown-block(0,0)
....................................
I tried lots of options but nothing helped. Can someone plaese point me in the right direction?
Thanks in advance.
- 08-06-2007 #2
Can you post your menu.lst here? Also, post the output of:
Code:ls /boot
- 08-06-2007 #3
Post the contents of /etc/fstab file too.
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 08-07-2007 #4Just Joined!
- Join Date
- Jun 2007
- Posts
- 34
Contents of menu.lst
************************************************** ********************Code:default 0 timeout 20 hiddenmenu title Ubuntu, kernel 2.6.20-16-generic root (hd0,0) kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=815118fc-4552-4161-abc0-63ea58561d54 ro quiet splash initrd /boot/initrd.img-2.6.20-16-generic quiet savedefault title Ubuntu, kernel 2.6.20-16-generic (recovery mode) root (hd0,0) kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=815118fc-4552-4161-abc0-63ea58561d54 ro single initrd /boot/initrd.img-2.6.20-16-generic title Ubuntu, kernel 2.6.20-15-generic root (hd0,0) kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=815118fc-4552-4161-abc0-63ea58561d54 ro quiet splash initrd /boot/initrd.img-2.6.20-15-generic quiet savedefault title Ubuntu, kernel 2.6.20-15-generic (recovery mode) root (hd0,0) kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=815118fc-4552-4161-abc0-63ea58561d54 ro single initrd /boot/initrd.img-2.6.20-15-generic title Ubuntu, kernel 2.6.22.1 root (hda,1) kernel /boot/vmlinuz-2.6.22.1 root=/dev/hda1 ro initrd /boot/initrd-2.6.22.1.img title Ubuntu, memtest86+ root (hd0,0) kernel /boot/memtest86+.bin quiet ### END DEBIAN AUTOMAGIC KERNELS LIST
Code:ls -l /boot total 88244 -rw-r--r-- 1 root root 414210 2007-04-15 04:07 abi-2.6.20-15-generic -rw-r--r-- 1 root root 414274 2007-06-07 16:58 abi-2.6.20-16-generic lrwxrwxrwx 1 root root 15 2007-08-02 23:54 config -> config-2.6.22.1 -rw-r--r-- 1 root root 83234 2007-04-15 01:33 config-2.6.20-15-generic -rw-r--r-- 1 root root 83217 2007-06-07 14:16 config-2.6.20-16-generic -rw-r--r-- 1 root root 81509 2007-08-02 23:54 config-2.6.22.1 -rw-r--r-- 1 root root 81509 2007-08-02 22:10 config-2.6.22.1.old lrwxrwxrwx 1 root root 19 2007-08-02 23:54 config.old -> config-2.6.22.1.old drwxr-xr-x 2 root root 4096 2007-08-05 19:24 grub -rw-r--r-- 1 root root 57237504 2007-08-03 00:00 initrd-2.6.22.1.img -rw-r--r-- 1 root root 7158365 2007-07-02 21:52 initrd.img-2.6.20-15-generic -rw-r--r-- 1 root root 6841615 2007-04-15 09:20 initrd.img-2.6.20-15-generic.bak -rw-r--r-- 1 root root 6928414 2007-07-09 22:55 initrd.img-2.6.20-16-generic -rw-r--r-- 1 root root 94600 2006-10-20 07:44 memtest86+.bin lrwxrwxrwx 1 root root 19 2007-08-02 23:54 System.map -> System.map-2.6.22.1 -rw-r--r-- 1 root root 806942 2007-04-15 04:08 System.map-2.6.20-15-generic -rw-r--r-- 1 root root 806992 2007-06-07 17:00 System.map-2.6.20-16-generic -rw-r--r-- 1 root root 882466 2007-08-02 23:54 System.map-2.6.22.1 -rw-r--r-- 1 root root 882466 2007-08-02 22:10 System.map-2.6.22.1.old lrwxrwxrwx 1 root root 23 2007-08-02 23:54 System.map.old -> System.map-2.6.22.1.old lrwxrwxrwx 1 root root 16 2007-08-02 23:54 vmlinuz -> vmlinuz-2.6.22.1 -rw-r--r-- 1 root root 1745100 2007-04-15 04:07 vmlinuz-2.6.20-15-generic -rw-r--r-- 1 root root 1746636 2007-06-07 16:58 vmlinuz-2.6.20-16-generic -rw-r--r-- 1 root root 1932628 2007-08-02 23:54 vmlinuz-2.6.22.1 -rw-r--r-- 1 root root 1932692 2007-08-02 22:10 vmlinuz-2.6.22.1.old lrwxrwxrwx 1 root root 20 2007-08-02 23:54 vmlinuz.old -> vmlinuz-2.6.22.1.old
Last edited by devils casper; 08-07-2007 at 03:37 AM. Reason: inserted Code tags
- 08-07-2007 #5Just Joined!
- Join Date
- Jun 2007
- Posts
- 34
contents of /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/hda1
UUID=815118fc-4552-4161-abc0-63ea58561d54 / ext3 defaults,errors=remount-ro 0 1
# /dev/hda5
UUID=7756db50-b8a4-4196-8c74-4c2c4fd4d2bf none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
- 08-07-2007 #6Why its (hda,1)?title Ubuntu, kernel 2.6.22.1
root (hda,1)
kernel /boot/vmlinuz-2.6.22.1 root=/dev/hda1 ro
initrd /boot/initrd-2.6.22.1.img
It should be root (hd0,0).It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 08-07-2007 #7Just Joined!
- Join Date
- Jun 2007
- Posts
- 34
first it was (hd0,0)
Hi,
It was originally (hd0,0) and i was getting that error. And somewhere in the forums I read that we need to point to the correct device on our systems which is hda1 as you can see from the contents of the fstab file.
I can change it back to (hd0,0). I think I will get the same error though
- 08-07-2007 #8
Try to change it and post exact error message here, if any.
I dont think it will throw any error because every thing is correct now. Let see...It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 08-07-2007 #9Just Joined!
- Join Date
- Jun 2007
- Posts
- 34
errors...
Hi,
I still have the same errors....
.
.
.
.
[ 44.590291] RAMDISK: cramfs filesystem found at block 0
[ 44.590462] RAMDISK: Loading 55896KiB [1 disk] into ram disk... done.
[ 46.899335] List of all partitions
[ 46.899462] No filesystem could mount root, tried: reiserfs ext2
[ 46.899682] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
****************
Ok. I want to explain the RAMDISK messages. Initially I had 16 disks each 4096KiB. Since, my initrd image is about 54MB, I changed my RAMDISK size to be 64MB and reduced the number of disks from 16 to 1. I did this through menuconfig.
I am not sure if this is helpful info.
Thanks for all your help.
- 08-08-2007 #10Just Joined!
- Join Date
- Jun 2007
- Posts
- 34


Reply With Quote

