View previous topic :: View next topic |
Author |
Message |
littlepr n00b
Joined: 02 Feb 2005 Posts: 7
|
Posted: Wed Feb 09, 2005 9:17 pm Post subject: 2.6.10 kernel and block device /dev/hdd2 problem |
|
|
After compiling kernel 2.6.10 I am getting this error during boot up:
block device /dev/hdd2 is not a valid root device
Here is my grub setup (by the way the 2.6.9 kernel workes fine and it's real_root=/dev/hdd2 setting is correct)
default=0
timeout=15
splashimage=(hd1,0)/grub/splash.xpm.gz
title=Vidalinux Desktop OS (2.6.10.1-vidalinux_r2)
root (hd1,0)
kernel /boot/kernel-2.6.10-vidalinux2 gentoo=nodevfs udev root=/dev/ram0 init=/linuxrc real_root=/dev/hdd2 vga=0x317 video=vesa:ywrap,mtrr splash=silent acpi=off
initrd /boot initrd-2.6.10-vidalinux2
title=Vidalinux Desktop OS (2.6.9-vidalinux_r1)
root (hd1,0)
kernel /vmlinuz-2.6.9-vidalinux_r1 gentoo=nodevfs udev root=/dev/ram0 init=/linuxrc real_root=/dev/hdd2 vga=0x317 video=vesa:ywrap,mtrr splash=silent acpi=off
initrd /initrd-2.6.9-vidalinux_r1.img
title=Other
rootnoverify (hd0,1)
chainloader +1
Contents in /boot
/boot:
bash-2.05b# ls
System.map-2.6.10-vidalinux2 initrd-2.6.9-vidalinux1
System.map-2.6.9-vidalinux1 initrd-2.6.9-vidalinux_r1.img
System.map-2.6.9-vidalinux_r1 kernel-2.6.10-vidalinux2
boot lost+found
grub vmlinuz-2.6.9-vidalinux1
initrd-2.6.10-vidalinux2 vmlinuz-2.6.9-vidalinux_r1
contents in /usr/src:
bash-2.05b# ls
kernelconfig linux linux-2.4.28-gentoo-r5 linux-2.6.10-vidalinux2 pc _________________ Locos4Ever |
|
Back to top |
|
|
Headrush Watchman
Joined: 06 Nov 2003 Posts: 5597 Location: Bizarro World
|
Posted: Wed Feb 09, 2005 9:29 pm Post subject: |
|
|
Can you please post the partitions you have on both hard drives?
What filesystem is / on? (ext3, reiserfs, etx2 )
You probably didn't compile support for it in the kernel, or its compiled as a module and not preloaded in your ramdisk. |
|
Back to top |
|
|
jebroman n00b
Joined: 12 Nov 2004 Posts: 6 Location: Stockholm - Sweden
|
Posted: Wed Feb 09, 2005 10:51 pm Post subject: |
|
|
Hi!
I'm a bit confused here. How come it can find both your kernels if they are both in /boot but the kernel-lines in your grub.conf are different? (one pointing to /boot/ and the other one to /)
Maybe I'm missing something!?
Regards
/johan |
|
Back to top |
|
|
littlepr n00b
Joined: 02 Feb 2005 Posts: 7
|
Posted: Fri Feb 11, 2005 9:06 pm Post subject: |
|
|
I moved my hdd to ide1 as a slave which would now make it hdb2. I think that might have been the problem. I will post my results once I get some results. By the way the type is ext2 and ext3 for my partitions and yes I did include support for it during the compile. _________________ Locos4Ever |
|
Back to top |
|
|
Headrush Watchman
Joined: 06 Nov 2003 Posts: 5597 Location: Bizarro World
|
Posted: Sat Feb 12, 2005 5:38 am Post subject: |
|
|
Did you check what jebroman suggested? |
|
Back to top |
|
|
jerrykenny Tux's lil' helper
Joined: 07 Feb 2005 Posts: 105
|
Posted: Mon Feb 14, 2005 3:10 pm Post subject: |
|
|
"I moved my hdd to ide1 as a slave which would now make it hdb2"
Not necessarily, if you also have only one other hard drive it will be hdb , but if you also have a cdrom then it will be hdc . . . 2 reffering to the partition . . . try "df" if you think your numbers / letters might be awry.
I remember I got into a right guddle when I couldnt remember which drive was on which cable.
Mind Grub only counts the HARD-DRIVES ! and from zero up . . . . same with its partitions, from zero up then jumping to 5 for the first logical eg hd1 1 being the 2nd partition on the second hard drive. _________________ Hopeless tinkerer with things that are best left alone |
|
Back to top |
|
|
|