View previous topic :: View next topic |
Author |
Message |
miqorz Veteran
Joined: 04 Apr 2004 Posts: 1170 Location: Pissing into the wind.
|
Posted: Sun Sep 26, 2004 3:59 am Post subject: Can't initalize console? |
|
|
I know what this means but I don't know how to fix it..
I've been using udev on 3 different installs with no problem.
This is the first time it's given me -any- trouble what-so-ever. Heh.
Anyways, It gives me a kernel panic that it can't initalize core console or the like.
Which I take to mean /dev/console isn't there.
Any ideas? Thia is my THIRD try at re-installing tonight and all have seemed to have some kind of goof up.
EDIT: I also tried turning on the /dev tarball in /etc/rc.conf (or is it /etc/conf.d/rc?) |
|
Back to top |
|
|
inode77 Veteran
Joined: 20 Jan 2004 Posts: 1303 Location: Heart of Europe
|
|
Back to top |
|
|
miqorz Veteran
Joined: 04 Apr 2004 Posts: 1170 Location: Pissing into the wind.
|
Posted: Sun Sep 26, 2004 4:13 am Post subject: |
|
|
heh, it says it exists.
Code: |
sh-2.05b# mknod -m 660 console c 5 1
mknod: `console': File exists
|
This is via chroot. |
|
Back to top |
|
|
miqorz Veteran
Joined: 04 Apr 2004 Posts: 1170 Location: Pissing into the wind.
|
Posted: Sun Sep 26, 2004 4:34 am Post subject: |
|
|
I'm not getting this, It's there ... but the kernel can't initialize it.
|
|
Back to top |
|
|
miqorz Veteran
Joined: 04 Apr 2004 Posts: 1170 Location: Pissing into the wind.
|
Posted: Sun Sep 26, 2004 5:16 am Post subject: |
|
|
I just wrote down the EXACT error.
Code: |
Warning: unable to open initial console.
Kernel panic - not syncing: no init found. Try passing init= option to kernel.
|
|
|
Back to top |
|
|
Duck-Billed Platypus Guru
Joined: 30 Jun 2003 Posts: 576 Location: Los Angeles, California, United States of America
|
Posted: Sun Sep 26, 2004 5:28 am Post subject: |
|
|
Did you use genkernel? _________________ Dentists are evil. |
|
Back to top |
|
|
miqorz Veteran
Joined: 04 Apr 2004 Posts: 1170 Location: Pissing into the wind.
|
Posted: Sun Sep 26, 2004 5:32 am Post subject: |
|
|
Eww, no.
I just used the same config from my old install (which worked great, completely configured by me.)
I don't uderstand this at all..
EXACT configs as my old install but this one is telling me to go to hell..
I'm NOT reinstalling for the 4th time in a row. |
|
Back to top |
|
|
Duck-Billed Platypus Guru
Joined: 30 Jun 2003 Posts: 576 Location: Los Angeles, California, United States of America
|
Posted: Sun Sep 26, 2004 5:37 am Post subject: |
|
|
Well try passing init= option to kernel in lilo/grub.conf _________________ Dentists are evil. |
|
Back to top |
|
|
miqorz Veteran
Joined: 04 Apr 2004 Posts: 1170 Location: Pissing into the wind.
|
Posted: Sun Sep 26, 2004 5:39 am Post subject: |
|
|
Pardon? In what syntax and situation? |
|
Back to top |
|
|
codergeek42 Bodhisattva
Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Sun Sep 26, 2004 5:44 am Post subject: |
|
|
It's there in the chroot because u have already a device-management daemon (most likely devfsd) running. Try bind-mounting it then creating the console and null nodes (do this from after you boot your system. Don't worry, it still botts, but you just don't get to see the output of the initscripts, only once the agetty instances spawn on the ttys are you able to interact, and that's because udevd is already running and has crated the necesary device nodes): The Gentoo udev Guide wrote: | To see which devices nodes are present before the /dev filesystem is mounted, run the following commands: Code: | # mkdir test
# mount --bind / test
# cd test/dev
# ls | The devices needed for a successful boot are /dev/null and /dev/console. If they didn't show up in the previous test, you have to create them manually. Issue the following commands in the test/dev/ directory: Code: | # mknod -m 660 console c 5 1
# mknod -m 660 null c 1 3 | When you're finished, don't forget to unmount the test/ directory: Code: | # cd ../..
# umount test
# rmdir test |
|
_________________ ~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF |
|
Back to top |
|
|
Duck-Billed Platypus Guru
Joined: 30 Jun 2003 Posts: 576 Location: Los Angeles, California, United States of America
|
Posted: Sun Sep 26, 2004 5:45 am Post subject: |
|
|
I'm just throwing out ideas.. That's what I usually do--just do whatever comes to mind.
In your grub/lilo.conf add init=something... :/ Honestly I have no idea what to do. Sorry.. _________________ Dentists are evil. |
|
Back to top |
|
|
codergeek42 Bodhisattva
Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Sun Sep 26, 2004 5:49 am Post subject: |
|
|
wait..."no init found". Are you sure you have /sbin/init and all that instaled correctly? _________________ ~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF |
|
Back to top |
|
|
miqorz Veteran
Joined: 04 Apr 2004 Posts: 1170 Location: Pissing into the wind.
|
Posted: Sun Sep 26, 2004 5:57 am Post subject: |
|
|
codergeek42 wrote: | wait..."no init found". Are you sure you have /sbin/init and all that instaled correctly? |
Code: |
tokyo / # /sbin/init
Usage: init 0123456SsQqAaBbCcUu
tokyo / # qpkg -f /sbin/init
sys-apps/baselayout *
tokyo / # emerge -pv baselayout
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] sys-apps/baselayout-1.9.4-r3 -bootstrap -build -debug -livecd -(selinux) -static -(uclibc) 197 kB
Total size of downloads: 197 kB
|
This is utterly stupid, I'm considering giving up on Linux and looking for an alternative.
4 installs in a row is absolutely stupid. The ABSOLUTE same configs...
Maybe another distro is in order. |
|
Back to top |
|
|
codergeek42 Bodhisattva
Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Sun Sep 26, 2004 5:58 am Post subject: |
|
|
Is /sbin a seperate partition? _________________ ~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF |
|
Back to top |
|
|
Duck-Billed Platypus Guru
Joined: 30 Jun 2003 Posts: 576 Location: Los Angeles, California, United States of America
|
Posted: Sun Sep 26, 2004 5:59 am Post subject: |
|
|
Well if youre giving up on gentoo.. try freebsd. It's really minimal and has ports (like portage) and packages. _________________ Dentists are evil. |
|
Back to top |
|
|
miqorz Veteran
Joined: 04 Apr 2004 Posts: 1170 Location: Pissing into the wind.
|
Posted: Sun Sep 26, 2004 5:59 am Post subject: |
|
|
codergeek42 wrote: | Is /sbin a seperate partition? |
Uhh, no.
My partition layout is simple/
hda1 is /boot
hda2 is /
hda3 is /home
hda4 is swap |
|
Back to top |
|
|
miqorz Veteran
Joined: 04 Apr 2004 Posts: 1170 Location: Pissing into the wind.
|
Posted: Sun Sep 26, 2004 6:00 am Post subject: |
|
|
Duck-Billed Platypus wrote: | Well if youre giving up on gentoo.. try freebsd. It's really minimal and has ports (like portage) and packages. |
Yeah that's what I'm considering but I don't feel like learning a whole new OS + my home with all my data on it is ext3, and FreeBSD uses UDF. |
|
Back to top |
|
|
codergeek42 Bodhisattva
Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Sun Sep 26, 2004 6:02 am Post subject: |
|
|
MMM...I dunno what it would be then.
Perhaps you could try chrooting from the LiveCD and doing an ? _________________ ~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF |
|
Back to top |
|
|
miqorz Veteran
Joined: 04 Apr 2004 Posts: 1170 Location: Pissing into the wind.
|
Posted: Sun Sep 26, 2004 6:15 am Post subject: |
|
|
codergeek42 wrote: | MMM...I dunno what it would be then.
Perhaps you could try chrooting from the LiveCD and doing an ? |
This is just absolutely nuts... Stuff that "just doesn't work." Despite being configured correctly is completely unacceptable on any level.
*downloads FreeBSD disks* |
|
Back to top |
|
|
inode77 Veteran
Joined: 20 Jan 2004 Posts: 1303 Location: Heart of Europe
|
Posted: Sun Sep 26, 2004 12:33 pm Post subject: |
|
|
Quote: | This is utterly stupid, I'm considering giving up on Linux and looking for an alternative.
4 installs in a row is absolutely stupid. The ABSOLUTE same configs...
Maybe another distro is in order |
It's your choice, but quite strange that tons of folks (me included) did new installations udev only and never had any issuses.
Maybe you should wipe your old configs, start with the default ones and then step by step recreate your old udev config. |
|
Back to top |
|
|
miqorz Veteran
Joined: 04 Apr 2004 Posts: 1170 Location: Pissing into the wind.
|
Posted: Sun Sep 26, 2004 12:56 pm Post subject: |
|
|
I've switched to FreeBSD.. mods can close this thread. |
|
Back to top |
|
|
Strips n00b
Joined: 16 Jul 2002 Posts: 67 Location: Norway
|
Posted: Wed Sep 29, 2004 2:20 pm Post subject: |
|
|
I just got the same problem as described here.
Completely new install. Latest stage 3. Well, everything is recompiled with ~x86.
First try was with gentoo-dev-sources and genkernel.
Second try was with the .config in the kernel folder (guess it was created by the first genkernel). Modified Everything essential as built in. Done ths a hundred times in Gentoo and Debian. Might be some thing I've missed.
Now I'm gonna chroot in and try what codergeek42 quoted from the udev Guide.
I'll be back if I find any solution.
Update: Reading the udev howto.
udev-guide wrote: |
You can leave the /dev file system support (OBSOLETE) active if you wish but you have to make sure that "Automatically mount at boot" is disabled
|
I know I enabled that feature But that didn't solve anything. |
|
Back to top |
|
|
Strips n00b
Joined: 16 Jul 2002 Posts: 67 Location: Norway
|
Posted: Wed Sep 29, 2004 5:44 pm Post subject: |
|
|
FFS !!!
Just wen't to visit the hall of shame.
In grub.conf I had written wrong root partition.
To you all and myself: Always check the stupid obvious |
|
Back to top |
|
|
myuser Apprentice
Joined: 31 Jan 2004 Posts: 218
|
Posted: Fri Oct 29, 2004 3:16 am Post subject: |
|
|
yeah, this is happening to me as well.
I have used a completely new config but I configured it from memory and I suspect that things have changed, oh well back to step thru the config again. |
|
Back to top |
|
|
Anderon n00b
Joined: 03 Nov 2004 Posts: 8
|
Posted: Wed Nov 03, 2004 6:35 am Post subject: lol @ u |
|
|
miqorz wrote: | I've switched to FreeBSD.. mods can close this thread. |
Owned. Your probably was not because of Gentoo at all, but because you had instructed grub to look in the wrong place for the kernel.
OWNT.
Cheers,
Anderon |
|
Back to top |
|
|
|