Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't initalize console?
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
miqorz
Veteran
Veteran


Joined: 04 Apr 2004
Posts: 1170
Location: Pissing into the wind.

PostPosted: Sun Sep 26, 2004 3:59 am    Post subject: Can't initalize console? Reply with quote

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
View user's profile Send private message
inode77
Veteran
Veteran


Joined: 20 Jan 2004
Posts: 1303
Location: Heart of Europe

PostPosted: Sun Sep 26, 2004 4:04 am    Post subject: Reply with quote

See section 9 of udev primer http://webpages.charter.net/decibelshelp/LinuxHelp_UDEVPrimer.html
Code:
cd /dev
mknod -m 660 console c 5 1
mknod -m 660 null c 1 3
Back to top
View user's profile Send private message
miqorz
Veteran
Veteran


Joined: 04 Apr 2004
Posts: 1170
Location: Pissing into the wind.

PostPosted: Sun Sep 26, 2004 4:13 am    Post subject: Reply with quote

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
View user's profile Send private message
miqorz
Veteran
Veteran


Joined: 04 Apr 2004
Posts: 1170
Location: Pissing into the wind.

PostPosted: Sun Sep 26, 2004 4:34 am    Post subject: Reply with quote

I'm not getting this, It's there ... but the kernel can't initialize it.

:roll:
Back to top
View user's profile Send private message
miqorz
Veteran
Veteran


Joined: 04 Apr 2004
Posts: 1170
Location: Pissing into the wind.

PostPosted: Sun Sep 26, 2004 5:16 am    Post subject: Reply with quote

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
View user's profile Send private message
Duck-Billed Platypus
Guru
Guru


Joined: 30 Jun 2003
Posts: 576
Location: Los Angeles, California, United States of America

PostPosted: Sun Sep 26, 2004 5:28 am    Post subject: Reply with quote

Did you use genkernel?
_________________
Dentists are evil.
Back to top
View user's profile Send private message
miqorz
Veteran
Veteran


Joined: 04 Apr 2004
Posts: 1170
Location: Pissing into the wind.

PostPosted: Sun Sep 26, 2004 5:32 am    Post subject: Reply with quote

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
View user's profile Send private message
Duck-Billed Platypus
Guru
Guru


Joined: 30 Jun 2003
Posts: 576
Location: Los Angeles, California, United States of America

PostPosted: Sun Sep 26, 2004 5:37 am    Post subject: Reply with quote

Well try passing init= option to kernel in lilo/grub.conf
_________________
Dentists are evil.
Back to top
View user's profile Send private message
miqorz
Veteran
Veteran


Joined: 04 Apr 2004
Posts: 1170
Location: Pissing into the wind.

PostPosted: Sun Sep 26, 2004 5:39 am    Post subject: Reply with quote

Pardon? In what syntax and situation?
Back to top
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Sun Sep 26, 2004 5:44 am    Post subject: Reply with quote

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
View user's profile Send private message
Duck-Billed Platypus
Guru
Guru


Joined: 30 Jun 2003
Posts: 576
Location: Los Angeles, California, United States of America

PostPosted: Sun Sep 26, 2004 5:45 am    Post subject: Reply with quote

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
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Sun Sep 26, 2004 5:49 am    Post subject: Reply with quote

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
View user's profile Send private message
miqorz
Veteran
Veteran


Joined: 04 Apr 2004
Posts: 1170
Location: Pissing into the wind.

PostPosted: Sun Sep 26, 2004 5:57 am    Post subject: Reply with quote

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. :x
Back to top
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Sun Sep 26, 2004 5:58 am    Post subject: Reply with quote

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
View user's profile Send private message
Duck-Billed Platypus
Guru
Guru


Joined: 30 Jun 2003
Posts: 576
Location: Los Angeles, California, United States of America

PostPosted: Sun Sep 26, 2004 5:59 am    Post subject: Reply with quote

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
View user's profile Send private message
miqorz
Veteran
Veteran


Joined: 04 Apr 2004
Posts: 1170
Location: Pissing into the wind.

PostPosted: Sun Sep 26, 2004 5:59 am    Post subject: Reply with quote

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
View user's profile Send private message
miqorz
Veteran
Veteran


Joined: 04 Apr 2004
Posts: 1170
Location: Pissing into the wind.

PostPosted: Sun Sep 26, 2004 6:00 am    Post subject: Reply with quote

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
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Sun Sep 26, 2004 6:02 am    Post subject: Reply with quote

MMM...I dunno what it would be then.

Perhaps you could try chrooting from the LiveCD and doing an
Code:
# emerge -e system
?
_________________
~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF
Back to top
View user's profile Send private message
miqorz
Veteran
Veteran


Joined: 04 Apr 2004
Posts: 1170
Location: Pissing into the wind.

PostPosted: Sun Sep 26, 2004 6:15 am    Post subject: Reply with quote

codergeek42 wrote:
MMM...I dunno what it would be then.

Perhaps you could try chrooting from the LiveCD and doing an
Code:
# emerge -e system
?


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
View user's profile Send private message
inode77
Veteran
Veteran


Joined: 20 Jan 2004
Posts: 1303
Location: Heart of Europe

PostPosted: Sun Sep 26, 2004 12:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
miqorz
Veteran
Veteran


Joined: 04 Apr 2004
Posts: 1170
Location: Pissing into the wind.

PostPosted: Sun Sep 26, 2004 12:56 pm    Post subject: Reply with quote

I've switched to FreeBSD.. mods can close this thread.
Back to top
View user's profile Send private message
Strips
n00b
n00b


Joined: 16 Jul 2002
Posts: 67
Location: Norway

PostPosted: Wed Sep 29, 2004 2:20 pm    Post subject: Reply with quote

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 :oops: But that didn't solve anything.
Back to top
View user's profile Send private message
Strips
n00b
n00b


Joined: 16 Jul 2002
Posts: 67
Location: Norway

PostPosted: Wed Sep 29, 2004 5:44 pm    Post subject: Reply with quote

FFS !!! :oops:

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 :lol:
Back to top
View user's profile Send private message
myuser
Apprentice
Apprentice


Joined: 31 Jan 2004
Posts: 218

PostPosted: Fri Oct 29, 2004 3:16 am    Post subject: Reply with quote

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
View user's profile Send private message
Anderon
n00b
n00b


Joined: 03 Nov 2004
Posts: 8

PostPosted: Wed Nov 03, 2004 6:35 am    Post subject: lol @ u Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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