Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo Grub boots all others (but not Gentoo!)
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
Huey1
n00b
n00b


Joined: 23 Dec 2004
Posts: 44

PostPosted: Thu May 25, 2006 11:22 pm    Post subject: Gentoo Grub boots all others (but not Gentoo!) Reply with quote

Hi Gentoo folk - I am trying to install Gentoo and am having a few problems with bootup.
Boot fails with the message:-
Quote:
VFS: Cannot open root device "SDA10" or unknown block (0,0)
Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown -block(0,0)

Yeah - I know.. I have been reading the Grub Error Collection.
I have checked the the kernel does support the ext3 flesystem.
I have selected <*> Include IDE/ATA-2 DISK support I have a 160G SATA hard drive.
I have checked that the "boot" symlink in /boot points to /boot. (Repeatedly clicking on the "+" in the Konqueror filemanager tree display makes it do /boot/boot/boot/<files > :) )

The interesting thing is MEPIS and SuSE 10 boot OK without problems from the very same grub.conf.
The boot partition is on /dev/sda1 The Gentoo partition is on /dev/sda10

My grub.conf looks like this:-
Code:
# Modified 25/6/2006  GENTOO   /boot/grub/grub.conf
# This used to be the MEPIS installation boot on sda9.
# It also boots OPEN SuSE SUPER-1
# It once used the name "menu.lst" instead of "grub.conf
# Now, this file is used by GENTOO, as the master grub bootloader.

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

# Copied from the MEPIS "menu.lst"
     title MEPIS at sda9, kernel 2.6.13-15.ck6.SUPER.1-i386tsc
     root  (hd0,8)
     kernel /boot/vmlinuz-2.6.15-1-586tsc root=/dev/sda9 nomce quiet vga=791

# Copied from the SuSE grub - when it existed.
###Don't change this comment - YaST2 identifier: Original name: linux###
title SuSE 10.0 Open SuSE SUPER.1
    root (hd0,0)
    kernel /vmlinuz root=/dev/sda6 vga=0x317 selinux=0    resume=/dev/sda5
    initrd /initrd

#  Trying to make Gentoo boot
     title=GENTOO at sda10, Linux 2.6.16-gentoo-r7
     root (hd0,0)
     kernel (hd0,0)/kernel-2.6.16-gentoo-r7   root=/dev/sda10 vga=0x317

#    Other combinations that have failed!
#    kernel /boot/kernel-2.6.16-gentoo-r7 root=/dev/sda10 video=vesafb:mtrr:3,ywrap,1024x768-32@8
#    kernel /kernel-2.6.16-gentoo-r7   root=/dev/sda10 vga=0x317


Surely this is just some stupid fumble - but I can't see it yet. I admit I don't know much about modules (yet), but at this stage, I didn't mess with them. I had the kernel compile the options I saw as obvious (processor type, etc.), and I kept the USE variable down to a few very simple choices.
I am still trying stuff suggested in the Grub Error Collection sticky, but would appreciate any help.
Thanks
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


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

PostPosted: Thu May 25, 2006 11:27 pm    Post subject: Reply with quote

What is the exact output of
Code:
ls -l /boot

Are you sure you are editing the right file? Seems odd to me that the error message show SDA, but the fstab entry is sda. (should be sda)

This
Code:
kernel /kernel-2.6.16-gentoo-r7   root=/dev/sda10 vga=0x317

should be the proper line when using a separate boot partition for Gentoo.

What filesystem is /dev/sda10? Is the support for it compiled INTO the kernel? You're not using a initrd ramdisk, so it can't be compiled as a module.
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


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

PostPosted: Fri May 26, 2006 12:59 am    Post subject: Re: Gentoo Grub boots all others (but not Gentoo!) Reply with quote

Huey1 wrote:
I have selected <*> Include IDE/ATA-2 DISK support I have a 160G SATA hard drive.

You need to select the correct chipset driver for your SATA controller (look at the output of lspci).

You can find this driver in the SCSI section (not the IDE section).
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