disappearing boot console
One odd thing I noticed was that when watching the boot with lish I see:
> Warning: unable to open an initial console.
And I don't see most of the rest of the boot process. Eventually toward the end the console does return, and I get the login prompt.
Does anyone know why the console "disappears" during the middle of the boot? Is this a mismatch between the 2.6.12.1-linode13 kernel and the FC3 udev?
–John
3 Replies
I've discovered this is a udev related issue. During the FC2 -> FC3 upgrade, the dev rpm, which contains the /dev/console node, is removed. This is normal, since the new udev system will create /dev/console when it starts. But, it doesn't start soon enough at boot.
The solution was to create a /dev/console node in the main filesystem image so that it exists before udev creates it's own version.
–John
I tried adding
mknod /dev/console c 0 0
to rc.sysinit , but no results
That may be failing because the root device is probably in read only mode at this point in the boot.
If that's the case, you could try remounting the root partition as read/write right before the mknod, but I'm not sure how safe it would be to remount rw that early.
Side note: The /dev/console device node only needs to be added once. Once it's part of the main filesystem image, you don't need to add it each time, you can remove the mknod and any other changes from rc.sysinit.
The way I solved this problem is that I used some of my spare disk space to create a tiny Debian profile. Booted into that, with my Fedora root disk image attached to /dev/ubdc. Then just mounted /dev/ubdc on /mnt and did the mknod in /mnt/dev