Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Boot Problem
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
Amatureskills
n00b
n00b


Joined: 17 Jul 2002
Posts: 3

PostPosted: Wed Jul 17, 2002 4:45 pm    Post subject: Boot Problem Reply with quote

I just finished installing gentoo for the first time. I did a Stage 1 install on to a SCSI HD with the boot partition "ext2" and the root partition on "xfs".
I made sure to enable the proper SCSI and filesystem parameters in the kernel. Heres the error I get:
Code:

VFS: Cannot open root device "sda3" or 08:03
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 08:03

My GRUB config:
Code:

root (hd0,0)
kernel /boot/bzImage root=/dev/sda3

Thanks for any help.
_________________
"Reality is in the mind. He who controls the mind controls reality." -George Orwell-
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Wed Jul 17, 2002 5:03 pm    Post subject: Reply with quote

Did you build the SCSI stuff as modules <M> or compiled-in [*]? It has to be *, not M, to work properly.

See this thread to get back into your system to double-check.
_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
Amatureskills
n00b
n00b


Joined: 17 Jul 2002
Posts: 3

PostPosted: Wed Jul 17, 2002 5:20 pm    Post subject: Reply with quote

All the SCSI stuff is set to be compiled into the kernel [*]
_________________
"Reality is in the mind. He who controls the mind controls reality." -George Orwell-
Back to top
View user's profile Send private message
ZagiFlyer
Tux's lil' helper
Tux's lil' helper


Joined: 19 Apr 2002
Posts: 93
Location: San Jose, CA

PostPosted: Wed Jul 17, 2002 7:01 pm    Post subject: Reply with quote

Did you remember to:
1) Compile XFS into the kernel?
2) Update fstab to reflect that /dev/ROOT is xfs?
_________________
"Beer is proof that God loves us and wants us to be happy"

--Ben Franklin
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Wed Jul 17, 2002 7:12 pm    Post subject: Reply with quote

Since he cannot mount root, the second one would not cause this problem (at least, not yet :))

Did you compile xfs directly into your kernel and not as a module?
ZagiFlyer wrote:
...
2) Update fstab to reflect that /dev/ROOT is xfs?
Back to top
View user's profile Send private message
Amatureskills
n00b
n00b


Joined: 17 Jul 2002
Posts: 3

PostPosted: Wed Jul 17, 2002 9:38 pm    Post subject: Reply with quote

I've recompiled the kernel making sure all the proper SCSI options and XFS options were compiled into the kernel "[*] or <*>". I have verified the fstab settings. I still get the same error.
_________________
"Reality is in the mind. He who controls the mind controls reality." -George Orwell-
Back to top
View user's profile Send private message
Guest






PostPosted: Thu Jul 18, 2002 1:54 am    Post subject: Reply with quote

Hi

It can be grub problem.
Instead of this line kernel /boot/bzImage root=/dev/sda3 put this one:
kernel (hd0,0)/bzImage root=/dev/sda3
Back to top
dougco
n00b
n00b


Joined: 06 Jul 2004
Posts: 47
Location: San Francisco

PostPosted: Sat Jul 17, 2004 12:14 am    Post subject: Reply with quote

When you use the kernel line, you need to leave out the "/boot", the root command already set that for you. So just try

kernel /bzImage root=/dev/sda3
_________________
--
If you're reading this, then you've gone too far.
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