Re: HELP!!!! BAD ENTRY IN /etc/ld.so.preload CAUSING ERROR IN LINUX BOOT UP

From: Richard B. Johnson (root@chaos.analogic.com)
Date: Sun Jun 04 2000 - 19:37:19 EST


On Sat, 3 Jun 2000, Sukumar Thirunarayanan wrote:

>
> -echo works but I encountered another PROBLEM
> It say that the file is "Read only file system"
> All the command
> works
> -rm
> -mv
> -echo
> without that shared library problem but I get the
> "Read only file system" error
>

Yep. And unless you have a statically-linked version of mount, you
are not going to get out of that trap. The root file-system starts
out being mounted read-only.

To see, do

mount -n -o remount /

If it works, you can then:

echo >/etc/ld.so.preload

Then, you should be able to remove it because ld.so.preload has been
truncated so other commands should now work.

This may not work because you may not have a statically-linked version
of mount on your system. This is why I first suggested that you just
mount that file-system on your working system to repair it.

Cheers,
Dick Johnson

Penguin : Linux version 2.3.41 on an i686 machine (800.63 BogoMips).

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:19 EST