Linux-kernel mailing list archive 2000-23,: Re: HELP!!!! BAD ENTRY IN /etc/ld.so.preload CAUSING ERROR IN LINUX

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

James Sutherland (jas88@cam.ac.uk)
Mon, 5 Jun 2000 07:30:11 +0100 (BST)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: James Sutherland: "Re: Mobo dying hard with DMA support"
- Previous message: Richard Gooch: "Recent kernel problems"

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/

- Next message: James Sutherland: "Re: Mobo dying hard with DMA support"
- Previous message: Richard Gooch: "Recent kernel problems"