View previous topic :: View next topic |
Author |
Message |
mt2 n00b
Joined: 20 Sep 2003 Posts: 20
|
Posted: Mon Feb 16, 2004 3:24 pm Post subject: Grub Stops at Stage 4 |
|
|
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 |
|
|
tmr777 Tux's lil' helper
Joined: 16 Jan 2003 Posts: 101 Location: Chicago, IL
|
Posted: Mon Feb 16, 2004 3:52 pm Post subject: |
|
|
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 |
|
|
mt2 n00b
Joined: 20 Sep 2003 Posts: 20
|
Posted: Mon Feb 16, 2004 4:10 pm Post subject: |
|
|
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 |
|
|
subzero349 Apprentice
Joined: 04 Nov 2003 Posts: 153
|
Posted: Mon Feb 16, 2004 4:13 pm Post subject: |
|
|
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 |
|
|
tmr777 Tux's lil' helper
Joined: 16 Jan 2003 Posts: 101 Location: Chicago, IL
|
Posted: Mon Feb 16, 2004 4:14 pm Post subject: |
|
|
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 |
|
|
mt2 n00b
Joined: 20 Sep 2003 Posts: 20
|
Posted: Mon Feb 16, 2004 4:20 pm Post subject: |
|
|
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 |
|
|
subzero349 Apprentice
Joined: 04 Nov 2003 Posts: 153
|
Posted: Mon Feb 16, 2004 4:27 pm Post subject: |
|
|
my boot was also ext3...
the problem was in my ROOT being reiserfs believe it or not... _________________ subzero349 |
|
Back to top |
|
|
mt2 n00b
Joined: 20 Sep 2003 Posts: 20
|
Posted: Mon Feb 16, 2004 4:45 pm Post subject: |
|
|
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 |
|
|
subzero349 Apprentice
Joined: 04 Nov 2003 Posts: 153
|
Posted: Mon Feb 16, 2004 5:08 pm Post subject: |
|
|
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 |
|
|
mt2 n00b
Joined: 20 Sep 2003 Posts: 20
|
Posted: Mon Feb 16, 2004 5:17 pm Post subject: |
|
|
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 |
|
|
subzero349 Apprentice
Joined: 04 Nov 2003 Posts: 153
|
Posted: Mon Feb 16, 2004 5:22 pm Post subject: |
|
|
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 |
|
|
michaelb l33t
Joined: 06 Jun 2002 Posts: 686 Location: Ann Arbor, MI
|
Posted: Mon Feb 16, 2004 5:30 pm Post subject: |
|
|
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 |
|
|
mt2 n00b
Joined: 20 Sep 2003 Posts: 20
|
Posted: Mon Feb 16, 2004 5:34 pm Post subject: |
|
|
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 |
|
|
subzero349 Apprentice
Joined: 04 Nov 2003 Posts: 153
|
Posted: Mon Feb 16, 2004 5:38 pm Post subject: |
|
|
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 |
|
|
subzero349 Apprentice
Joined: 04 Nov 2003 Posts: 153
|
Posted: Mon Feb 16, 2004 5:46 pm Post subject: |
|
|
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 |
|
|
michaelb l33t
Joined: 06 Jun 2002 Posts: 686 Location: Ann Arbor, MI
|
Posted: Mon Feb 16, 2004 5:53 pm Post subject: |
|
|
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.
_________________ Behold, The power of SEARCH! |
|
Back to top |
|
|
subzero349 Apprentice
Joined: 04 Nov 2003 Posts: 153
|
Posted: Mon Feb 16, 2004 5:58 pm Post subject: |
|
|
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 |
|
|
michaelb l33t
Joined: 06 Jun 2002 Posts: 686 Location: Ann Arbor, MI
|
Posted: Mon Feb 16, 2004 6:02 pm Post subject: |
|
|
Yes, that's exactly what you want to do. _________________ Behold, The power of SEARCH! |
|
Back to top |
|
|
subzero349 Apprentice
Joined: 04 Nov 2003 Posts: 153
|
Posted: Mon Feb 16, 2004 6:36 pm Post subject: |
|
|
excellent... thanks _________________ subzero349 |
|
Back to top |
|
|
|