Try this on init: readelf -l $LFS/sbin/init | grep 'program interpreter'
It should say something like: [Requesting program interpreter: /lib/ld.linux.so.2] If it says: [Requesting program interpreter: /tools/lib/ld.linux.so.2] Then rebuild binutils, gcc, readjust the toolchain, and rebuild init. On 7/31/06, Ken Moffat <[EMAIL PROTECTED]> wrote:
On Mon, Jul 31, 2006 at 02:08:27PM +0300, Angel Tsankov wrote: > Hello! > > I just finished installing LFS 6.1.1 and after reboot I cannot execute > dmesg, shutdown or init. Besides, I get the following message on bootup: > VFS: Mounted root (ext2 filesystem) readonly. > > The shell prompt looks like this: > sh-3.00# > > The only devices I can see in /dev are console and null. How am I supposed > to mount a CD-ROM in order to install other software? I'm guessing some of the binaries either do not exist, or are linked against /tools/lib and therefore do not work when that is not available. From the host, fsck the lfs filesystem because it has been uncleanly shut down, then mount it at /mnt/lfs, and run ldd against example binaries to see if any of them are linked wrongly. Particularly, look at /mnt/lfs/sbin/init because the symptoms seem to sugget the initscripts are not being run. If that is linked against /tools/lib, you need to look at binaries from earlier packages to find when the mislinking started. Ken -- das eine Mal als Tragödie, das andere Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
