Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Grub Stops at Stage 4
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
mt2
n00b
n00b


Joined: 20 Sep 2003
Posts: 20

PostPosted: Mon Feb 16, 2004 3:24 pm    Post subject: Grub Stops at Stage 4 Reply with quote

I've recently begun to install Gentoo on a new system of mine and all was going well up to the point I rebooted. I was having Splash issues, but I've since repaired them. I now have a new program with Grub stalling...

Quote:
STEP 3: Mounting necessary filesystems per boot options
Started device management daemon v1.3.25 for /dev
STEP 4: Determining root device
Root block device unspecified or not detected
Please specify a device to boot, or "shell" for shell.
:


I would be entirely grateful for any help anyone can offer me in this situation. If you need any files, I'll be more than happy to post them. I look forward to bringing my new machine into the world of Gentoo!

Thanks!
Back to top
View user's profile Send private message
tmr777
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jan 2003
Posts: 101
Location: Chicago, IL

PostPosted: Mon Feb 16, 2004 3:52 pm    Post subject: Reply with quote

Do you have something like 'root=/dev/hda3' appended to the kernel line in grub? linuxrc is complaining that no root device was specified.

_Terry
Back to top
View user's profile Send private message
mt2
n00b
n00b


Joined: 20 Sep 2003
Posts: 20

PostPosted: Mon Feb 16, 2004 4:10 pm    Post subject: Reply with quote

I have. I've tried both versions in the install a neither works. Though the one for the newer genkernel leaves a new message. I'll retrieve it.

Thanks for you help!
Back to top
View user's profile Send private message
subzero349
Apprentice
Apprentice


Joined: 04 Nov 2003
Posts: 153

PostPosted: Mon Feb 16, 2004 4:13 pm    Post subject: Reply with quote

what filesystem is your root and boot?

I had this error with reiserfs... I gave up and switched to ext3 which solved my problem...

let me know
_________________
subzero349
Back to top
View user's profile Send private message
tmr777
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jan 2003
Posts: 101
Location: Chicago, IL

PostPosted: Mon Feb 16, 2004 4:14 pm    Post subject: Reply with quote

Two things:

1. at the error type:
Code:

# shell
# cat /proc/cmdline

What is the output?

2. Do you have support built into the kernel for the file system you are using on the root partition?

_Terry
Back to top
View user's profile Send private message
mt2
n00b
n00b


Joined: 20 Sep 2003
Posts: 20

PostPosted: Mon Feb 16, 2004 4:20 pm    Post subject: Reply with quote

Quote:
/bin/ask: /proc/cmdline: Permission Denied


I'm not sure whether or not it has support; I used genkernel as I'm not really sure of myself enough to do it manually.

The boot partition should be ext3. I'll double check!

Thanks!
Back to top
View user's profile Send private message
subzero349
Apprentice
Apprentice


Joined: 04 Nov 2003
Posts: 153

PostPosted: Mon Feb 16, 2004 4:27 pm    Post subject: Reply with quote

my boot was also ext3...

the problem was in my ROOT being reiserfs believe it or not...
_________________
subzero349
Back to top
View user's profile Send private message
mt2
n00b
n00b


Joined: 20 Sep 2003
Posts: 20

PostPosted: Mon Feb 16, 2004 4:45 pm    Post subject: Reply with quote

That's strange. I may just have to switch to ext3, but if I can, I would like to stay with ReiserFS.

With the following line, I get the following error from grub.

Quote:
kernel (hd0,0)/boot/kernel-2.4.22-gentoo-r5 root=/dev/ram0 real_root=/dev/hda3 init=/linuxrc


Quote:
STEP 3: Mounting necessary filesystems per boot options
Started device management daemon v1.3.25 for /dev
STEP 4: Determining root device
STEP 4a: Mounting root
mount: Mounting /dev/hda3 on /newroot failed: Invalid argument
Could not mount specified ROOT, try again.
Root Block device unspecified or not detected
Please specify a device to boot, or "shell" for a shell.


Thank you all again so much for helping!
Back to top
View user's profile Send private message
subzero349
Apprentice
Apprentice


Joined: 04 Nov 2003
Posts: 153

PostPosted: Mon Feb 16, 2004 5:08 pm    Post subject: Reply with quote

i wanted to use reiserfs too... and it always worked when I tried with 2.4 kernels... but nobody really seems to know what the problem is...
_________________
subzero349
Back to top
View user's profile Send private message
mt2
n00b
n00b


Joined: 20 Sep 2003
Posts: 20

PostPosted: Mon Feb 16, 2004 5:17 pm    Post subject: Reply with quote

I've since switched to ext3 and all appears to be working. Others (in lots of other topics) have also had this same problem. It's a kernel thingey...

:( Just glad Gentoo is working! :)

Thank you all!
Back to top
View user's profile Send private message
subzero349
Apprentice
Apprentice


Joined: 04 Nov 2003
Posts: 153

PostPosted: Mon Feb 16, 2004 5:22 pm    Post subject: Reply with quote

TO all "smart" people out there...

Please help us get this fixed!!

If you search the forums you will see that many many people are getting these problems when trying to use Rieserfs with kernel 2.6... My solution is to not use Reiserfs (which makes me sad :( )... what's your solution?

I am not "linux smart" enough to make a bug report... and I'm not sure if I missed something in the kernel (yes I did compile reiserfs into it... and no, I didn't compile it as a module)...

thanks for any help :)

edit:
Wait... it looks like mt is using 2.4 kernel... maybe it's something new with reiserfs that isn't being handled right? My old 2.4 worked just great with reiserfs...
_________________
subzero349
Back to top
View user's profile Send private message
michaelb
l33t
l33t


Joined: 06 Jun 2002
Posts: 686
Location: Ann Arbor, MI

PostPosted: Mon Feb 16, 2004 5:30 pm    Post subject: Reply with quote

The problem is genkernel. It's broken in a number of ways. FreeFly42 came up with a workaround for what looks to be the same issue over in this thread.

My solution to everyone has been the same, give genkernel the heave-ho and do your kernel compile and install manually. It's really not that hard. Follow the instructions in the Installation Handbook, and post with any particular questions you have.
_________________
Behold, The power of SEARCH!
Back to top
View user's profile Send private message
mt2
n00b
n00b


Joined: 20 Sep 2003
Posts: 20

PostPosted: Mon Feb 16, 2004 5:34 pm    Post subject: Reply with quote

I've begun the compilation of the 2.6 kernel as per your instructions. I've also kept a smaller ReiserFS partition to test on. Hopefully things will work out. :)
Back to top
View user's profile Send private message
subzero349
Apprentice
Apprentice


Joined: 04 Nov 2003
Posts: 153

PostPosted: Mon Feb 16, 2004 5:38 pm    Post subject: Reply with quote

michaelb thanks for the info...

I wasn't trying to be rude just so you know... I was just calling for help :)
I am doing my best to learn and I have learned a lot on my own... but everyonce in awhile I need the gurus help!

Another question - you can't convert filesystems in linux can you?
_________________
subzero349
Back to top
View user's profile Send private message
subzero349
Apprentice
Apprentice


Joined: 04 Nov 2003
Posts: 153

PostPosted: Mon Feb 16, 2004 5:46 pm    Post subject: Reply with quote

And now I am kicking myself even more...

Reading about that genkernel versus compiling your own kernel... It looks like I've been doing most everything that genkernel was not built for...

I still use --menuconfig so I can tweak the kernel and make it work
I still use /etc/modules.autoload/kernel2.6 to load my modules

One question though... please tell me where the simlink "linux" points to in /usr/src/ -- does it point to /boot/kernel-2.6.1-gentoo-r1 or /usr/src/kernel-2.6.1-gentoo-r1?

Thank you
_________________
subzero349
Back to top
View user's profile Send private message
michaelb
l33t
l33t


Joined: 06 Jun 2002
Posts: 686
Location: Ann Arbor, MI

PostPosted: Mon Feb 16, 2004 5:53 pm    Post subject: Reply with quote

No problems Sub, and I didn't think you were being rude at all.

subzero349 wrote:
One question though... please tell me where the simlink "linux" points to in /usr/src/ -- does it point to /boot/kernel-2.6.1-gentoo-r1 or /usr/src/kernel-2.6.1-gentoo-r1?


You're going to have to tell me where it's pointing.
Code:
# ls -l /usr/src

_________________
Behold, The power of SEARCH!
Back to top
View user's profile Send private message
subzero349
Apprentice
Apprentice


Joined: 04 Nov 2003
Posts: 153

PostPosted: Mon Feb 16, 2004 5:58 pm    Post subject: Reply with quote

Thanks,

I will try that when I get home

what I mean is, where should it be pointing?

For example, if I "emerge -k sys-kernel/gentoo-dev-sources" and it puts "kernel-2.6.2-gentoo-r1" in my /usr/src directory, do I link /usr/src/linux to /usr/src/kernel-2.6.2-gentoo-r1" ? and then run a make menuconfig in the /usr/src/linux location?
_________________
subzero349
Back to top
View user's profile Send private message
michaelb
l33t
l33t


Joined: 06 Jun 2002
Posts: 686
Location: Ann Arbor, MI

PostPosted: Mon Feb 16, 2004 6:02 pm    Post subject: Reply with quote

Yes, that's exactly what you want to do.
_________________
Behold, The power of SEARCH!
Back to top
View user's profile Send private message
subzero349
Apprentice
Apprentice


Joined: 04 Nov 2003
Posts: 153

PostPosted: Mon Feb 16, 2004 6:36 pm    Post subject: Reply with quote

excellent... thanks
_________________
subzero349
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