Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Root block not found, GRUB-boot error.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
DreamHawk
n00b
n00b


Joined: 14 Aug 2006
Posts: 31

PostPosted: Sat Aug 26, 2006 8:18 pm    Post subject: Root block not found, GRUB-boot error. Reply with quote

Hello.

When i start my gentoo after installed grub, i get that error that says that root block/device was not found.

Now i wonder, where in the installation have i done wrong?

Please help.
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sat Aug 26, 2006 8:23 pm    Post subject: Reply with quote

Make sure you included the driver for your sata controller and for the filesystem on your root partition. And make sure you specified the right partition as your root partition in grub.conf.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
dahranis
Apprentice
Apprentice


Joined: 20 Jan 2006
Posts: 166

PostPosted: Sat Aug 26, 2006 8:23 pm    Post subject: Reply with quote

Post your grub.conf?
Is that what it should look like?
Back to top
View user's profile Send private message
DreamHawk
n00b
n00b


Joined: 14 Aug 2006
Posts: 31

PostPosted: Sun Aug 27, 2006 9:54 am    Post subject: Reply with quote

It looks like this.

default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=Gentoo Linux 2.4.32-r7
root (hd0,0)
kernel /boot/kernel-genkernel-x86-2.4.32-gentoo-r7 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_boot=/dev/hda3 udev
initrd /boot/initrd-genkernel-x86-2.4.32-gentoo-r7

I used genkernel
Back to top
View user's profile Send private message
DreamHawk
n00b
n00b


Joined: 14 Aug 2006
Posts: 31

PostPosted: Sun Aug 27, 2006 12:50 pm    Post subject: Reply with quote

Please help!!!
Back to top
View user's profile Send private message
DreamHawk
n00b
n00b


Joined: 14 Aug 2006
Posts: 31

PostPosted: Sun Aug 27, 2006 1:17 pm    Post subject: Reply with quote

Please help!!!
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sun Aug 27, 2006 2:07 pm    Post subject: Re: Root block not found, GRUB-boot error. Reply with quote

DreamHawk wrote:
i get that error that says that root block/device was not found.

Can you post the exact error message, including the numbers ?
That would help to figure out what the problem is.

You seem to have some other problems with your configuration too.
grub.conf wrote:
kernel /boot/kernel-genkernel-x86-2.4.32-gentoo-r7 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_boot=/dev/hda3 udev

The real_boot= part should actually be real_root=
Udev only works with 2.6 kernels, and you seem to be running a 2.4 kernel
Back to top
View user's profile Send private message
DreamHawk
n00b
n00b


Joined: 14 Aug 2006
Posts: 31

PostPosted: Sun Aug 27, 2006 2:45 pm    Post subject: Reply with quote

I changed real_boot to real_root, and deleted udev.
Then i got this error "the root /dev/hda3 cannot be found" or something, but it actually exists.
Then the second error is "Root block device was not found, it is not specified." or something like that.

Please help me.
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sun Aug 27, 2006 2:56 pm    Post subject: Reply with quote

It could be that your kernel does not have the right driver for the IDE controller that /dev/hda is plugged into.

It could also be that your kernel does not include support for the filesystem that you have on /dev/hda3.

It could also be a problem with udev vs. devfs, and the correct device nodes not existing in the initrd.
Back to top
View user's profile Send private message
DreamHawk
n00b
n00b


Joined: 14 Aug 2006
Posts: 31

PostPosted: Sun Aug 27, 2006 3:18 pm    Post subject: Reply with quote

Okay, and how do i fix this...

I am so frickin' tired of this right now, i can't mount proc and dev and that means i can't chroot...

Know to help that?
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sun Aug 27, 2006 3:32 pm    Post subject: Reply with quote

The chroot command will still work if /proc and /dev are not mounted, but you do need the root partition mounted.

I'm curious, is there any particular reason you are using a 2.4 kernel instead of a (more recent, and better supported) 2.6 kernel ?
Back to top
View user's profile Send private message
DreamHawk
n00b
n00b


Joined: 14 Aug 2006
Posts: 31

PostPosted: Sun Aug 27, 2006 3:52 pm    Post subject: Reply with quote

I shall try to do a new install, i got a mirror and then i did emerge gentoo-sources, and after that, i got the 2.4 kernel.
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sun Aug 27, 2006 7:27 pm    Post subject: Reply with quote

DreamHawk wrote:
i did emerge gentoo-sources, and after that, i got the 2.4 kernel.

Hmm, maybe your /etc/make.profile symlink was pointing to one of the older profiles.

This is the profile that I normally use.
Code:
# ls -l /etc/make.profile
lrwxrwxrwx 1 root root 48 Aug 27 13:44 /etc/make.profile -> ../usr/portage/profiles/default-linux/x86/2006.0
Back to top
View user's profile Send private message
lyonsd
Apprentice
Apprentice


Joined: 02 Mar 2005
Posts: 153
Location: Flowery Branch, GA

PostPosted: Tue Aug 29, 2006 8:03 pm    Post subject: I'm having a similar problem Reply with quote

Everything was working fine using the following kernel:

2.6.16-gentoo-r9

Then I compiled

2.6.17-gentoo-r6

And it craps out booting. Says something about invalid boot device /dev/hda4 ... whatever

The grub.conf is virtually idenitcal...

Code:
default 0
fallback 0
timeout 3
splashimage=(hd0,1)/grub/splash.xpm.gz

title Gentoo Linux (2.6.16-gentoo-r9)
root (hd0,1)
kernel /kernel-genkernel-x86-2.6.16-gentoo-r9 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda4 splash=silent
initrd /initramfs-genkernel-x86-2.6.16-gentoo-r9

title Gentoo Linux (2.6.17-gentoo-r6)
root (hd0,1)
kernel /kernel-genkernel-x86-2.6.17-gentoo-r6 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda4 splash=silent
initrd /initramfs-genkernel-x86-2.6.17-gentoo-r6


title Windows XP Professional SP2 (hd0,0)
root (hd0,0)
makeactive
chainloader +1


The .config files are the same too. I built 2.6.17-gentoo-r6 using the same options as I used when building 2.6.16-gentoo-r9.


Any ideas why the new kernel can't recognize the boot device?

Thanks.
_________________
Dave
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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