Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
no initial console
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
mpiter
n00b
n00b


Joined: 21 Feb 2005
Posts: 65
Location: France

PostPosted: Mon Dec 05, 2005 8:19 pm    Post subject: no initial console Reply with quote

I have just installed gentoo from a live CD on a Mac bi-G5 and I cannot reboot because of: "warning: unable to open an initial console" in the middle of the boot procedure. I followed pieces of advice found in this forum such as enabling everything in kernel "Device drivers / Graphics support / Console display driver support", but it did not change anything. I followed step by step what was written in the gentoo handbook and I guess that my kernel is misconfigured. Does anyone know the solution? Thanks in advance.
_________________
Michel Pitermann
Back to top
View user's profile Send private message
daniel-steiner
n00b
n00b


Joined: 04 Mar 2005
Posts: 33

PostPosted: Mon Dec 05, 2005 8:37 pm    Post subject: Is your /dev directory empty? Reply with quote

Probably, you don't have something in /dev directory. The system only can open a console, if the device file is in /dev located.
_________________
elpito
Back to top
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Mon Dec 05, 2005 8:41 pm    Post subject: Reply with quote

I stop having an initial console when I switched to kernel 2.6.
I haven't had one since. I doesn't prevent X to start so I
can work nonetheless it is just annoying.
I also tried kubuntu live cd. During the configuration phase
you have a nice console but once it is booting for real it has
the same trouble. I suspect the device creation process to
be the culprit somehow.

I have an iMac G4 with a nvidia video card.
Back to top
View user's profile Send private message
mpiter
n00b
n00b


Joined: 21 Feb 2005
Posts: 65
Location: France

PostPosted: Tue Dec 06, 2005 4:06 pm    Post subject: [SOLVED] no initial console Reply with quote

I guess you were right and that there were missing devices in /dev. I enabled "/dev file system support" and "Automatically mount at boot" in the kernel from "File systems / Pseudo filesystems", then emerged devfsd and rebooted. That created all needed devices in /dev including the console. I thereafter disabled the devfs options in the kernel and rebooted. I got the console but also the following error message at boot:
Code:
-----------------------------------------------------
Your system seems to be missing critical device files
in /dev !  Although you may be running udev or devfs,
the root partition is missing these required files !

To rectify this situation, please do the following:
mkdir /mnt/fixit
mount --bind / /mnt/fixit
cp -a /dev/* /mnt/fixit/dev/
umount /mnt/fixit
rmdir /mnt/fixit

You may refer to these instructions at /etc/issue. 
If you previously had an issue file, it has been
backed up at /etc/issue.devfix.  Once you've fixed
your system, you will have to restore your old issue
file in order to get rid of this warning.

Thanks for using Gentoo ! :)
http://bugs.gentoo.org/show_bug.cgi?id=40987
-----------------------------------------------------

I followed the instructions, rebooted, unmerged devfsd and rebooted and everything worked well with udev. Thanks for the tip.
_________________
Michel Pitermann
Back to top
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Tue Dec 06, 2005 9:49 pm    Post subject: Reply with quote

I didn't know about the issue file. I have a few in there
(issue, issue.devfix, issue.logo).
It says to restore the issue file yourself, how?
I mean I didn't even know it existed and was pointing me
to a solution (and a bug report). I have no idea of
how to restore a file that I didn't know existed let
alone know its normal state :roll: .
Back to top
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Tue Dec 06, 2005 10:06 pm    Post subject: Reply with quote

A reboot later and yes it worked. I now have an initial console :D .
And now I am realising that I only lost it around 2.6.10 or something
when I went udev only.
Now the next and older problem that I have since I switched from
2.4.x to 2.6.x is that while I have an initial console I don't have
any virtual terminal working :cry: (vt1 to vt6, I obviously have X running
correctly on vt7).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum