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

From: Jim Nance (jnance@nortelnetworks.com)
Date: Fri Jun 02 2000 - 14:11:36 EST


On Fri, Jun 02, 2000 at 11:22:40AM -0700, Sukumar Thirunarayanan wrote:
> I have a bad entry in /etc/ld.so.preload which is causing the init
> program at start up to fail saying
>
> init: error in loading shared libraries
> <bad entry>: cannot map file data: Operation not supported by device

I have done that too. There are two simple ways to fix this.

1) If you have a rescue floppy, boot the machine from the floppy, mount the
   hard disk, and delete /etc/ld.so.preload

2) If you have a staticly linked shell on the system you can boot using that
   as your init process by typing something like this at the lilo prompt:

   linux init=/bin/ash.static

   You system will come up to the shell and you can try and remove the file
   with out running any external commands. This might work:

   echo > /etc/ld.so.preload

   This will empty the file. That may be good enough.

Jim

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