Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2.6.10 kernel and block device /dev/hdd2 problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
littlepr
n00b
n00b


Joined: 02 Feb 2005
Posts: 7

PostPosted: Wed Feb 09, 2005 9:17 pm    Post subject: 2.6.10 kernel and block device /dev/hdd2 problem Reply with quote

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
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Wed Feb 09, 2005 9:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
jebroman
n00b
n00b


Joined: 12 Nov 2004
Posts: 6
Location: Stockholm - Sweden

PostPosted: Wed Feb 09, 2005 10:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
littlepr
n00b
n00b


Joined: 02 Feb 2005
Posts: 7

PostPosted: Fri Feb 11, 2005 9:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Sat Feb 12, 2005 5:38 am    Post subject: Reply with quote

Did you check what jebroman suggested?
Back to top
View user's profile Send private message
jerrykenny
Tux's lil' helper
Tux's lil' helper


Joined: 07 Feb 2005
Posts: 105

PostPosted: Mon Feb 14, 2005 3:10 pm    Post subject: Reply with quote

"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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum