[lfs-support] 回复: boot error

︶ㄣoοΟ 1172279118 at qq.com
Sun Mar 8 07:29:41 PDT 2015

After recompiled the kernel with CONFIG_TMPFS=y,the problem is been fixed,1 & 2.
Thanks a lot,Bruce!
and just ignore the SED thing,not a big deal :D.

------------------ 原始邮件 ------------------
发件人: "Bruce Dubbs";<bruce.dubbs at gmail.com>;
发送时间: 2015年3月8日(星期天) 晚上9:49
收件人: "LFS Support List"<lfs-support at lists.linuxfromscratch.org>; 

主题: Re: [lfs-support] boot error

︶ㄣoοΟ wrote:
> Hey guys,after 7 days work,my first "linux form scrach" is working,but there are
> some errors.
> boot up got pause with messeage:
> 1
> /lib/lsb/init-functions:line 621:/run/boot-log:Read-only filesystem
> *****
>           [ FAIL ]
> There are some more line 611,line664,line675,and i can't find file /run/boot-log

If you have installed the bootscripts correctly, the very first one that is run 
is mountvirtfs.  The first instruction there is

if ! mountpoint /run >/dev/null; then
          mount /run || failed=1

The fstab has

tmpfs   /run  tmpfs    defaults     0     0

If you did not configure the kernel to support a tmpfs, CONFIG_TMPFS, then 
that's about the only thing that should cause your issue.

> 2
> You should not be  reading this error message.
> It means that an unforeseen error took place in
> /etc/rc.d/rcS.d/S00mountvirtfs,
> which exited with a return value of 1.
> How to fix this?
> BTW,when i'm doing my lfs job,at page 39,      5.5. GCC-4.9.1 - Pass 1,if i
> issue the secend SED command,i won't be able to complete the compile,is that a bug?‍

We don't really refer to pages.  Just use the section name.

The sed, if it's applied correctly, should add two lines, one of which is 
ignored.  Since it appends lines, if it's run twice, it might cause a problem, 
but the sed should be used.  That said, if you got beyond this point an through 
Pass 2, then you are OK.

The configure output should read:

checking __stack_chk_fail in target C library... (cached) yes

You don't say what error you got though.

   -- Bruce
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20150308/dd23da50/attachment.html>

More information about the lfs-support mailing list