Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Fri Jun 24, 2005 10:29 pm 
Offline
Junior Member

Joined: Tue Jun 29, 2004 2:27 pm
Posts: 34
Ok, so I got impatient for an FC3 image so I used yum to update from FC2 to FC3. For the most part, it went fine.

One odd thing I noticed was that when watching the boot with lish I see:

Quote:
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


Top
   
PostPosted: Mon Jun 27, 2005 12:14 am 
Offline
Junior Member

Joined: Tue Jun 29, 2004 2:27 pm
Posts: 34
To answer my own question:

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


Top
   
 Post subject:
PostPosted: Wed Jul 27, 2005 2:17 am 
Offline
Senior Newbie
User avatar

Joined: Sat Apr 10, 2004 2:01 am
Posts: 18
Where does this need to be done?

I tried adding

mknod /dev/console c 0 0

to rc.sysinit , but no results


Top
   
PostPosted: Wed Jul 27, 2005 12:37 pm 
Offline
Junior Member

Joined: Tue Jun 29, 2004 2:27 pm
Posts: 34
Did you add the mknod before /sbin/start_udev is run in rc.sysinit?

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


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: wolfsoft and 1 guest


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

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group