LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-18-2004, 05:18 AM   #1
gaco
LQ Newbie
 
Registered: Jun 2004
Location: holland
Distribution: mandrake 10.0
Posts: 9

Rep: Reputation: 0
error: unable to open an initial console


I tried upgrading my 2.6.3 kernel to an 2.6.8.1 kernel. everything went fine, i copied bzImage and System.map to the /boot directory. When i try to boot the kernel everything just goes fine.

The error i get is the following "warning: unable to open an initial console". I did some searching @ google and found out that it has to be a conf failure in /etc/lilo.conf. I had to set my root partition correct, so I checked my root partition in /etc/lilo.conf but I am 120% sure that i defined it correct cause the other kernel image on the same OS in the same boot directory has the same root partition and that worsk just fine.

Maybe I forgot to compile a needed function in the kernel?...
this are the relevant files in the /boot directory: vmlinuz68 and System.map68. I don't need an initrd image, do I?

this is the relevant part of mine /etc/lilo.conf:
image=/arch/boot/vmlinuz68
label="Arch_linux68"
root=/dev/hda7
(this lilo is installed on an other partition under mandrake, thats why there is /arch/boot/vmlinuz86 )

I hope this is enough information
 
Old 08-18-2004, 05:44 AM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
The initrd file contains the ramdisk that loads in kernel modules. Mandrake Linux uses initrd files. I'm not certain but the script file in the ramdisk may create the tty devices. If they don't exist, linux has no way to set up a console. Some distros do things differently and may not have an initrd file if everything is compiled in the kernel.

Last edited by jschiwal; 08-18-2004 at 05:46 AM.
 
Old 08-18-2004, 05:55 AM   #3
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 57
Also, you need pts support in the kernel. If the problem still exists for non-root users, add them to the tty group.


Håkan
 
Old 08-18-2004, 06:21 AM   #4
gaco
LQ Newbie
 
Registered: Jun 2004
Location: holland
Distribution: mandrake 10.0
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by hw-tph
Also, you need pts support in the kernel. If the problem still exists for non-root users, add them to the tty group.


Håkan
This happens before i can login, it says: unable to open an initial console and then the computer restarts... I searched for the pts option in the kernel and found it under filesystems--> pseudo filesystems. i enabled it but without succes.. maybe you meant another pts option, which i didn't found...
grtz gaco
 
Old 08-18-2004, 08:25 AM   #5
citrus
Member
 
Registered: Dec 2003
Location: California
Distribution: Kubuntu 6.1
Posts: 548

Rep: Reputation: 30
you will have to recompile the kernel after you enable that feature
 
Old 08-18-2004, 08:30 AM   #6
gaco
LQ Newbie
 
Registered: Jun 2004
Location: holland
Distribution: mandrake 10.0
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by citrus
you will have to recompile the kernel after you enable that feature
lol.. yes i did already..
no result.
i found something about udev, im gonna read that.. or is it impossible that it depends on that?

Last edited by gaco; 08-18-2004 at 08:34 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to open initial console ayoub Linux - Newbie 9 11-22-2005 10:53 AM
unable to open an initial console (2.6.11) wilu Linux - Software 28 06-16-2005 11:04 PM
Warning: unable to open initial console. helshylock Linux - Software 5 03-30-2004 01:23 PM
Unable to open an initial console xanthas12 Linux - General 2 04-23-2003 02:38 AM
unable to open initial console elettrozero Linux - General 2 03-29-2002 11:57 AM


All times are GMT -5. The time now is 09:37 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration