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

From: James Sutherland (jas88@cam.ac.uk)
Date: Mon Jun 05 2000 - 01:30:11 EST


On Sun, 4 Jun 2000, Richard B. Johnson wrote:

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

He's running under sash, which has a mount implementation built in. He
just needs to prefix the mount command with a -.

James.

-
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:20 EST