[lfs-support] Boot message log location
bruce.dubbs at gmail.com
Thu Aug 30 14:22:05 PDT 2012
Ken Moffat wrote:
> On Thu, Aug 30, 2012 at 07:05:29PM +0000, Mikie wrote:
>> Hello all,
>> After completing the 7.1 book thru chapter 9 I reboot but get several fail messages.
>> The last one is fatal and refers to file system errors that must be fixed.
>> The only option is to press enter and reboot.
>> I can't read the boot messages so I need to look thru the log file.
>> I can't find it at /var/log ... as I have in other Linux distro's.
>> Where is this log kept in LFS?
> In a system where everything has come up ok, the log is at
> /var/log/sys.log and everything (that fits) is available by running
> dmesg. But your system hasn't got that far.
> It's possible you really do have filesystem errors, but that
> message might be provoked by other errors. To begin with, you could
> try running fsck from the host system on the LFS partition(s).
> 1. In your kernel .config, ensure you have enabled devtmpfs in your
> kernel. Also, of course, the filesystem(s) you are using, and the
> device driver(s) for your disk controller(s). And Magic-SysRQ, to
> help with cleaner reboots if you have to continue debugging the
> 2. Review /etc/fstab - it's possible that errors in the contents can
> cause fsck to fail.
> 3. Try booting, and watch to see if you can spot the first error
> message from the bootscripts. When that appears, the old Ctrl-S (to
> stop the console scrolling) might work.
Try editing /etc/sysconfig/rc.site and un-commenting
#IPROMPT="yes" # Whether to display the interactive boot prompt
More information about the lfs-support