Jata
02-18-2005, 06:32 PM
Ok here's the problem. I did a fresh install of debian sarge using the net-install cd. I then downloaded the 2.6.10 kernel and have compiled it and adjusted my grub file accordingly to boot it. Here's my grub configuration file:
title Debian GNU/Linux, kernel 2.4.27-1-386
root (hd1,0)
kernel /vmlinuz-2.4.27-1-386 root=/dev/hdb2 ro
initrd /initrd.img-2.4.27-1-386
savedefault
boot
title Debian GNU/Linux, kernel 2.6.10
root (hd1,0)
kernel /kernel-2.6.10 root=/dev/hdb2 ro video=vesafb:ywrap,mtrr,vga=0x317
savedefault
boot
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title Windows NT/2000/XP
root (hd0,0)
makeactive
chainloader +1
I have ommitted the initrd part as I previously ran Gentoo and didn't need it with that. The problem is that I can't boot the new kernel, I get the following:
VFS: Cannot open root device "hdb1" or unknown_block(0,0)
Please append a correct "root" boot option
kernelpanic _ not syncing: VFS: Unable to mount rootfs on unknown_block(0,0)
Here is my fstab:
/dev/hdb2 / reiserfs defaults 0 1
/dev/hdb1 /boot ext3 defaults 0 2
/dev/hdb3 none swap sw 0 0
I have compiled support for both reiser and ext3 into the kernel so my question is why can't I mount the filesystem? The partitions specified in the grub file must be right because the other kernel boots fine.
I suspect it might be that I need the module for my hard drive controller built in too but make menuconfig only gives me the option to include it as a module. The controller in question is the VIA VT8237.
I have tried making an initrd image but to no avail. I tried:
mkinitrd -o /boot/initrd-2.6.10 /lib/modules/2.6.10/
Perhaps I did it wrong?
I've probably overlooked something simple but I just can't see it. If anyone can suggest anything I would be grateful, I'm getting fed up of rebooting!
title Debian GNU/Linux, kernel 2.4.27-1-386
root (hd1,0)
kernel /vmlinuz-2.4.27-1-386 root=/dev/hdb2 ro
initrd /initrd.img-2.4.27-1-386
savedefault
boot
title Debian GNU/Linux, kernel 2.6.10
root (hd1,0)
kernel /kernel-2.6.10 root=/dev/hdb2 ro video=vesafb:ywrap,mtrr,vga=0x317
savedefault
boot
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title Windows NT/2000/XP
root (hd0,0)
makeactive
chainloader +1
I have ommitted the initrd part as I previously ran Gentoo and didn't need it with that. The problem is that I can't boot the new kernel, I get the following:
VFS: Cannot open root device "hdb1" or unknown_block(0,0)
Please append a correct "root" boot option
kernelpanic _ not syncing: VFS: Unable to mount rootfs on unknown_block(0,0)
Here is my fstab:
/dev/hdb2 / reiserfs defaults 0 1
/dev/hdb1 /boot ext3 defaults 0 2
/dev/hdb3 none swap sw 0 0
I have compiled support for both reiser and ext3 into the kernel so my question is why can't I mount the filesystem? The partitions specified in the grub file must be right because the other kernel boots fine.
I suspect it might be that I need the module for my hard drive controller built in too but make menuconfig only gives me the option to include it as a module. The controller in question is the VIA VT8237.
I have tried making an initrd image but to no avail. I tried:
mkinitrd -o /boot/initrd-2.6.10 /lib/modules/2.6.10/
Perhaps I did it wrong?
I've probably overlooked something simple but I just can't see it. If anyone can suggest anything I would be grateful, I'm getting fed up of rebooting!