Re: console error

Gabor Lenart (lgb@oxygene.terra.vein.hu)
Wed, 29 Dec 1999 12:22:22 +0100


On Wed, Dec 29, 1999 at 12:11:28PM +0100, Josef Höök wrote:
> what is wrong when i get
> warning: unable open an initial console

from init/main.c:

if (open("/dev/console", O_RDWR, 0) < 0)
printk("Warning: unable to open an initial console.\n");

(void) dup(0);
(void) dup(0);

Kernel can't open /dev/console. Probably you tried to mount a file system
for root which is not (for example your ext2 partition holding the /usr
file system), and it does not contain the "/dev/console" device.

-- 
 ---[ LGB/DC ]------------[ University Of Veszprém ]------[ Lénárt Gábor ]---
     "Life : Never ending story"    "Goal : 42"   "Direction : Unknown"
 ---[ 30/2270823 ]--------[ http://lgb.hal.vein.hu ]---------[ 87/477074 ]---
 finger lgb@hal2000.hal.vein.hu for more  !LINUX!  SMS : lgblgb@westel900.net

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/