View previous topic :: View next topic |
Author |
Message |
tuppe666 Guru
Joined: 02 Mar 2004 Posts: 423
|
Posted: Sun Dec 28, 2008 11:06 pm Post subject: Warning: Unable to open initial console |
|
|
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 |
|
|
Yamakuzure Advocate
Joined: 21 Jun 2006 Posts: 2305 Location: Adendorf, Germany
|
Posted: Mon Dec 29, 2008 9:47 am Post subject: |
|
|
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 |
|
|
outermeasure Apprentice
Joined: 26 Nov 2008 Posts: 194 Location: ping6 ff02::1
|
Posted: Mon Dec 29, 2008 9:52 am Post subject: |
|
|
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 |
|
|
tuppe666 Guru
Joined: 02 Mar 2004 Posts: 423
|
Posted: Mon Dec 29, 2008 5:08 pm Post subject: |
|
|
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 |
|
|
|