Paul Rogers wrote:
Finished the book, now I'm "smoke testing" the boot.  The problem is
/var/log/bootlog can't be written because the FS is still RO.  I'm not
so familiar with the LFS bootscripts, but I can see there's been a lot
of work on them for LSB.  (Back at 4.1 I rewrote the "rc" scripts, and
used them in 6.1 & 6.6! ;-0 )  Honest, I haven't touched these LFS
bootscripts!  When I get the RO failure the system locks up too.  It
says press Enter or ^D, but nothing happens--gotta hit the reset button.
Known problem?

No. The bootscripts are supposed to write to /run which is a tmpfs mounted in mountvirtfs (the very first script).

You need the entry in fstab to be:

tmpfs      /run         tmpfs  defaults   0     0

Then the mountfs remounts / as rw.

Finally at the end of the bootscipts the rc script appends the boot.log in /run (/run/var/bootlog) to /var/log/boot.log.

Note too that /var/run needs to be a symlink to /run.

  -- Bruce

--
http://lists.linuxfromscratch.org/listinfo/lfs-support
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?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to