Solved

Slackware: Unable to open an initial console

Posted on 1997-08-31
7
626 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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 50 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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

738 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