Re: missing output from init scripts
* jfharri...@fedex.com (Nov 03, 2010 @ 10:58-0600): I've mostly followed the development book and added an initrd and BSD style init scripts. My problem is that output from the rc scripts is not echoed to the console during boot. I do get kernel messages on the console though. I know the rc scripts are running because I can verify their work after logging in. The problem was that I missed section 6.2.1 where you create /dev/console and /dev/null. Without the pre-udev /dev/console init didn't have anything to write to when I switched from the initrd to the real system. Thanks Aleksandar and Mike for helping me out. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
missing output from init scripts
(disclaimer - I'm not using a standard build so I understand if no one can help me.) I've mostly followed the development book and added an initrd and BSD style init scripts. My problem is that output from the rc scripts is not echoed to the console during boot. I do get kernel messages on the console though. I know the rc scripts are running because I can verify their work after logging in. After booting is complete, I can log in and run the rc scripts and the output is echoed to the console. Inside the rc scripts, I can redirect output to a file and the output is correct. The init script that runs from the initrd is able to echo output to the console, but once I switch to the real root the only output I get is kernel messages until I'm presented with the login prompt. Any ideas on how to debug this would be appreciated. Thanks. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: missing output from init scripts
On Wed, 03 Nov 2010 10:58:08 -0600 John Harrigan jfharri...@fedex.com wrote: (disclaimer - I'm not using a standard build so I understand if no one can help me.) I've mostly followed the development book and added an initrd and BSD style init scripts. My problem is that output from the rc scripts is not echoed to the console during boot. I do get kernel messages on the console though. I know the rc scripts are running because I can verify their work after logging in. After booting is complete, I can log in and run the rc scripts and the output is echoed to the console. Inside the rc scripts, I can redirect output to a file and the output is correct. The init script that runs from the initrd is able to echo output to the console, but once I switch to the real root the only output I get is kernel messages until I'm presented with the login prompt. Any ideas on how to debug this would be appreciated. Thanks. Do the scripts run in the proper virtual terminal? -- -Aleksandar Kuktin -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page