View previous topic :: View next topic |
Author |
Message |
ggriffin n00b
Joined: 07 Oct 2003 Posts: 6
|
Posted: Mon Jan 19, 2004 7:38 am Post subject: Can't boot new install past initrd |
|
|
I am in the process of installing gentoo on a GHz Athlon, using the newest stable genkernel and vanilla sources. Everything in the install process seemed to go smoothly, except when I first booted it doesn't seen to get past the initrd. I get:
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
Then it just hangs there. /dev/hda3 is my root partition. I have set up grub like this:
root(hd0,0)
kernel (hd0,0)/boot/kernel-2.4.24 root=/dev/ram0 real_root=/dev/hda3 init=linuxrc
initrd (hd0,0)/boot/initrd-2.4.24
This is the first time I have used the new version of genkernel, where you needed to specify the ramdisk as root. If somebody can spot what I'm doing wrong I would greatly appreciate it.
Thanks |
|
Back to top |
|
|
edomaur n00b
Joined: 19 Sep 2002 Posts: 73 Location: Switzerland
|
Posted: Mon Jan 19, 2004 9:34 am Post subject: |
|
|
Well... I have the very same problem, with the same params and all.
Selecting "no bootsplash" and making before genkernel a checkup of all the possible cached things doesn't help. Have tried all yesterday evening with no success at all.
(it s*** because my box is now broken and it was only a routine update of kernel) _________________ Antoine Boegli |
|
Back to top |
|
|
didi666 n00b
Joined: 09 Sep 2003 Posts: 32 Location: Stuttgart, Germany
|
|
Back to top |
|
|
edomaur n00b
Joined: 19 Sep 2002 Posts: 73 Location: Switzerland
|
Posted: Mon Jan 19, 2004 11:26 pm Post subject: |
|
|
didi666 wrote: | seems the new beta genkernel release was really a BAD idea |
Hell YES !! As a routine, I wanted to update my kernel, but now, "%*ç&+*%&* !!!, I have a non-fonctionnal system instead of an updated one.
Why, please why, a beta-version of a standard tool that change everything has gone through to the standard release ????? I mean, they are named "genkernel-3.X.X-betaX" doesn't there ??? _________________ Antoine Boegli |
|
Back to top |
|
|
shmattie n00b
Joined: 20 Sep 2003 Posts: 16
|
Posted: Tue Jan 20, 2004 5:41 am Post subject: |
|
|
I am also having the same exact problem. I let genkernel build everything. I have a guess that maybe it didn't build reiser support into the kernel. I am probably way wrong, but other than that I have no idea. I will try rebuilding my kernel and specifically put that in there. I will post my results, hopefully it will be tomorrow. |
|
Back to top |
|
|
jef0113 n00b
Joined: 10 Nov 2003 Posts: 37 Location: Be
|
Posted: Tue Jan 20, 2004 7:25 am Post subject: |
|
|
i had the same problem , i didn't have support for reiserfs
recompiled my kernel whit reiserfs support and everythings working great again
check if your kernel has support for your file system
jef |
|
Back to top |
|
|
FragKing n00b
Joined: 19 Jan 2004 Posts: 1 Location: Zurich, Switzerland
|
Posted: Tue Jan 20, 2004 11:12 am Post subject: |
|
|
jef0113: Thanks for the tip... will check that in the evening |
|
Back to top |
|
|
shmattie n00b
Joined: 20 Sep 2003 Posts: 16
|
Posted: Tue Jan 20, 2004 3:22 pm Post subject: |
|
|
I just recompiled with reiserfs support turned on and still have the same problems. Anyone have any other ideas? |
|
Back to top |
|
|
Corw|n of Amber Apprentice
Joined: 08 Aug 2003 Posts: 221 Location: Socialist Sovietic Republic of Belgium
|
Posted: Tue Jan 20, 2004 3:29 pm Post subject: |
|
|
Yes. get rid of the initrd line in grub.conf. It WILL work.
I've had the exact same problem. _________________ Whoever is enough of a fanatic to KILL people should be shot on sight. |
|
Back to top |
|
|
scawa Apprentice
Joined: 11 Feb 2003 Posts: 178 Location: Villa Rica, Georgia
|
Posted: Tue Jan 20, 2004 3:54 pm Post subject: |
|
|
What if I want initrd in grub????
This is a hack solution and doesn't solve the real problem. _________________ Boredom is a personal Defect
-- Lamar Stephens |
|
Back to top |
|
|
Corw|n of Amber Apprentice
Joined: 08 Aug 2003 Posts: 221 Location: Socialist Sovietic Republic of Belgium
|
Posted: Tue Jan 20, 2004 4:04 pm Post subject: |
|
|
Then you'll have to build your initrd by hand.
Or switch from The One And Only Real Fast FS (reiser) to another one (possibly XFS, no idea whether it's faster or not).
Or using the initrd that comes with the bootsplash package, I think I remember it works (can't check from here)... _________________ Whoever is enough of a fanatic to KILL people should be shot on sight. |
|
Back to top |
|
|
shmattie n00b
Joined: 20 Sep 2003 Posts: 16
|
Posted: Tue Jan 20, 2004 6:00 pm Post subject: |
|
|
I tried removing the initrd line and had no success. Anyone else have any ideas? |
|
Back to top |
|
|
ggriffin n00b
Joined: 07 Oct 2003 Posts: 6
|
Posted: Tue Jan 20, 2004 6:18 pm Post subject: Genkernel 2.0 |
|
|
Thanks for all the suggestions. I just emerged genkernel 2.0 and installed my kernel that way. I am not sure what exactly genkernel 3.0 would have given me, but I'm perfectly happy with 2.0. I will keep my eye on the forums to see when it is safe to upgrade back to the latest stable release of genkernel. Hopefully it won't be that long.
Glenn |
|
Back to top |
|
|
shmattie n00b
Joined: 20 Sep 2003 Posts: 16
|
Posted: Tue Jan 20, 2004 8:12 pm Post subject: |
|
|
I found out what my problem was. I had printed the install instructions a little while back and they have changed. The big place where I noticed a change was in the grub.conf file. I had to add root=/dev/ram0 real_root=/dev/hda3 init=/linuxrc to my kernel line. I kept in my initrd line. Everything is working prefectly now. Hope this helps and thanks to everyone for your help. |
|
Back to top |
|
|
mxc Guru
Joined: 05 Mar 2003 Posts: 442 Location: South Africa
|
Posted: Sun Jan 25, 2004 11:02 pm Post subject: |
|
|
I am using the insturctions outlined above from the install manual and I still get the same problem reported here. Anyone got a way to fix this? |
|
Back to top |
|
|
green sun Guru
Joined: 04 Nov 2002 Posts: 325 Location: Wista, MA
|
Posted: Tue Jan 27, 2004 4:57 pm Post subject: |
|
|
shmattie wrote: | I found out what my problem was. I had printed the install instructions a little while back and they have changed. The big place where I noticed a change was in the grub.conf file. I had to add root=/dev/ram0 real_root=/dev/hda3 init=/linuxrc to my kernel line. I kept in my initrd line. Everything is working prefectly now. Hope this helps and thanks to everyone for your help. |
FYI, these instructions worked great for me... thanks! |
|
Back to top |
|
|
mxc Guru
Joined: 05 Mar 2003 Posts: 442 Location: South Africa
|
Posted: Tue Jan 27, 2004 5:15 pm Post subject: |
|
|
thanks - I have that in my grub.conf file. It has something to do with the mount command as if I choose the shell option once it fails on step 4a. If I type in mount /dev/hda3 / I get invalid argument errors just like the error report in step 4a. |
|
Back to top |
|
|
|