Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Warning: Unable to open initial console
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
tuppe666
Guru
Guru


Joined: 02 Mar 2004
Posts: 423

PostPosted: Sun Dec 28, 2008 11:06 pm    Post subject: Warning: Unable to open initial console Reply with quote

I get "Warning: Unable to open initial console" as my last boot message and then nothing till my login prompt I am using the 2.6.28 kernel
Back to top
View user's profile Send private message
Yamakuzure
Advocate
Advocate


Joined: 21 Jun 2006
Posts: 2305
Location: Adendorf, Germany

PostPosted: Mon Dec 29, 2008 9:47 am    Post subject: Reply with quote

I had this when I changed filesystems this weekend. /dev/console seemed to be missing. What fixed it for me was to boot from a rescue/install CD, mount my root partition into /mnt/gentoo and then copied first the boot cds generated dev over. Second I copied the /dev from a stage3-archive. The latter unpacked on a different partition mounted on /mnt/backup, obviously.
Code:
# rm -rf /mnt/gentoo/dev/*
# cp -a /dev/* /mnt/gentoo/dev/
# cp -a /mnt/backup/stage3/dev/* /mnt/gentoo/dev/
after that everything worked fine again.

Of course this is a very radical thing to do, and there might be a better solution to the "initial console missing"-issue...
_________________
Edited 220,176 times by Yamakuzure
Back to top
View user's profile Send private message
outermeasure
Apprentice
Apprentice


Joined: 26 Nov 2008
Posts: 194
Location: ping6 ff02::1

PostPosted: Mon Dec 29, 2008 9:52 am    Post subject: Reply with quote

Yamakuzure wrote:
I had this when I changed filesystems this weekend. /dev/console seemed to be missing. What fixed it for me was to boot from a rescue/install CD, mount my root partition into /mnt/gentoo and then copied first the boot cds generated dev over. Second I copied the /dev from a stage3-archive. The latter unpacked on a different partition mounted on /mnt/backup, obviously.
Code:
# rm -rf /mnt/gentoo/dev/*
# cp -a /dev/* /mnt/gentoo/dev/
# cp -a /mnt/backup/stage3/dev/* /mnt/gentoo/dev/
after that everything worked fine again.

Of course this is a very radical thing to do, and there might be a better solution to the "initial console missing"-issue...


You need /dev/console and /dev/null present in your root file system, if I remember correctly. Some devices are needed for booting up before udev takes over.
Back to top
View user's profile Send private message
tuppe666
Guru
Guru


Joined: 02 Mar 2004
Posts: 423

PostPosted: Mon Dec 29, 2008 5:08 pm    Post subject: Reply with quote

Code:
crw------- 1 root root 5, 1 2008-12-29 11:47 console
crw-rw-rw- 1 root root 1, 3 2008-12-29 11:47 null


I'm so not sure what to do
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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