?
Solved

Slackware: Unable to open an initial console

Posted on 1997-08-31
7
Medium Priority
?
631 Views
Last Modified: 2013-12-15
Every time, after installing Slackware 3.3 on my system,
when I reboot, after loading the kernel, it gives me
an error saying "unable to open an initial console" and
doesn't even give me a login prompt. Anyone know what I am doing wrong?
0
Comment
Question by:umerkhan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 2

Expert Comment

by:nicademus
ID: 1629491
I've got something on the top of my mind for that one, because I had it happen once or twice myself, thinking back I think it had to do something with Lilo, maybe you should try, if you haven't already, running a DOS boot disk, then using the Loadlin program which comes with the Slakware Distrib.
Although you need an image file first for this.  So if you can't work around that, try as soon as you have exited the setup, just running liloconfig again, and then lilo  to make sure it has set up the drive ready for booting.  Sorry I can't "answer" I'm just thinking back to when it happened to me...it might come back to me soon...
0
 

Expert Comment

by:kilobug
ID: 1629492
What's your computer? Where did you install Linux (UMSDOS, partition, whole disk, ...)


0
 

Expert Comment

by:bromone4
ID: 1629493
It happened to me once too... let me see if I can remember...
0
WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

 

Expert Comment

by:sjl100297
ID: 1629494
I'd suggest you boot up from a Linux boot/root disk combination. Mount the root filesystem (be it /dev/hda1, /dev/hdb1, etc.) somewhere using the command:
  mount /dev/whatever /mnt -t ext2

Then check /mnt/dev for the following:

console
tty1

They should look something like (with an ls -l)

crw-------   2 root     root   4, 0 Jan 7 14:58 /dev/console
crw-------   2 root     root   4, 1 Jan 7 14:58 /dev/tty1

(the permissions [crw, etc.], owner [root], and date/time don't matter. What matters is that they exist, and have those mystical number pairs.)

Do you have those? If not, try using mknod:

mknod /mnt/dev/console c 4 0
mknod /mnt/dev/tty1 c 4 1

and see if that fixes the problem. (It's possible that the numbers I've given are incorrect; I'm looking at a system that's running a fairly old version of Linux.)
0
 
LVL 4

Expert Comment

by:jetx
ID: 1629495
Do Not Install UMSDOS because if you install it, it will detect a directory in your dos partition which is c:\linux and boot it all up. This UMSDOS is used for DOSLinux. Try installing it without UMSDOS support.

regards,

jetx
0
 

Author Comment

by:umerkhan
ID: 1629496
I didn't installed UMSDOS at all.
0
 
LVL 2

Accepted Solution

by:
bjacobs earned 100 total points
ID: 1629497
Boot with a bootdisk and when you get to the spot for extra commands type: mount root=/dev/xxxx where xxxx is the linux partition. It sounds like lilo has the wrong partition listed for linux. Once you're in edit /etc/lilo.conf, fix the problem and re-install lilo.
0

Featured Post

Quick Cloud Training

Looking for some quick training on the cloud in 2 hours or less? Check out these how-to guides in AWS, Linux, OpenStack, Azure, and more!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month11 days, 9 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question