On 05/07/2016 09:14 μμ, Marcos Pansani wrote:
Alright guys, I'm in need of your help .... Sorry for my bad English.

I'm compiling the Linux From Scratch - Version 7.9-systemd, but I found
a problem in the way.

At the Chapter 7. Basic System Configuration, when I give the following
commands:

timedatectl set-local-rtc 1
timedatectl set-time YYYY-MM-DD HH:MM:SS
timedatectl set-timezone TIMEZONE
timedatectl list-timezones

I returned the following error for all of them: "failed to create bus
connection: No such file or directory"

Move forward in the construction book, and after completing, when I boot
the system, gave kernel panic.

The following error on the boot screen, did not yield to copy the log
file, because it was not created:

- Starting Init: /sbin/init exists but couldn't execute it (error -8)
- kernel panic -not syncing: not working init found. Try passing init=
option to kernel


I appreciate the help

Thank you


Post the output of the following commands in chroot

ls -l /sbin/init
ls -l `readlink -f /sbin/init`
ldd /sbin/init

and check if all the libraries listed by ldd exist on your LFS system.
If you are on x86_64 check if the /lib64 -> lib and /usr/lib64 -> lib
symlinks are in place.
Did you deviate from the book somehow?

--
Thanos
--
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