• Welcome to Overclockers Forums! Join us to reply in threads, receive reduced ads, and to customize your site experience!

initial console?

Overclockers is supported by our readers. When you click a link to make a purchase, we may earn a commission. Learn More.

AmdPopper

Registered
Joined
Jan 13, 2002
Location
the back woods of new york
I just updated my working Mandrake version 7.0 to 9.1, now when I boot I get a message that says
Warning: unable to open intial console.
This appears in that black and white loader screen after LILO.
What is wrong? How might I fix it?
 
Here is alittle something i found with a Google search about that error message...

> I just finsihed installing debian on my machine at home, and the box got
> knocked last night and crashed big time.
>
> I tried booting it back up, and i got an error
> Unable to Open Inital Console

> I used the debian boot disk to get something up and running and ran e2fsck
> over all of the file systems, i thought it might be a problem, there, and
> there where, but they where fixed up. But still i get the error message.
> Any ideas ppls ?

/dev/console got lost in the fsck

on my debian system (potato, but it should be the same as slink),
/dev/console is a symlink to /dev/tty0:

lrwxrwxrwx 1 root root 4 Sep 12 11:03 /dev/console -> tty0
crw--w--w- 1 root root 4, 0 Mar 1 09:49 /dev/tty0


to recreate these (check whats there first) do:

ln -s tty0 /dev/console
mknod -m 444 /dev/tty0 c 4 0

or just run "MAKEDEV console"

you have probably lost other /dev nodes, so probably best to just do
"MAKEDEV generic" and that will regnerate a standard set of devices
(including console)


oh yeah, and since you'll be running it from a boot disk, adjust all
the /dev paths to suit your mountpoint (MAKEDEV creates devices in the
current directory, so cd into your mounted /dev first)

Grabbing straws i'd run "makedev console" and see what happens.
 
You have to run MAKEDEV as root from /dev and you have to type it in all caps. It's a script in /dev that's reponsible for making all the /dev/* files. Like clash's googling indicated, you might as well just do /dev/MAKEDEV generic to get any other devices that should be there.

Edit: Looks like anyone can execute /dev/MAKEDEV (on my box, at least). I guess that means that there's no harm done if a user makes a couple extra devs. Don't sue me if you make an extra device and it blows up your computer, though.
 
Last edited:
Back