Re: cant get to my shell!

2006-07-28 Thread Lowell Gilbert
David Wilhelm [EMAIL PROTECTED] writes:

 On Thu, 27 Jul 2006, at 09:03:41 +, Marwan Sultan wrote:
  i tried to use fixit from sysinstall by using the emergency shell, to 
 delete libmap.conf
  (asuming its cuzing the problem) but from the emergency shell u cannot see 
 that file,

 In order to edit libmap.conf, the partition where it lives needs to be
 mounted. If you booted from a CD, you'll need to mount the hard drive
 partition by hand.

 My /etc/libmap.conf is located in the root partition, my hard drive is
 ad0, and FreeBSD is on the first slice, so the device I needed is
 /dev/ad0s1a. Of course, yours may be different.

 From the emergency shell, mount your partition to some convenient directory,
 say it's /mnt:

 # mount /dev/ad0s1a /mnt

 Then you can edit your libmap.conf at it's current, temporary location:
 # vi /mnt/etc/libmap.conf

 Reboot after it's fixed.

Before changing any files, though, make sure the root filesystem passes an fsck.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cant get to my shell!

2006-07-27 Thread David Wilhelm
On Thu, 27 Jul 2006, at 09:03:41 +, Marwan Sultan wrote:
 Hello everyone,
 

Hi Marwan.

  I was trying to install linux-flashplugin7 and in the same time was trying 
 to play with libmap.conf
  then suddenly my system crush!

  after reboot, i got this error message
 
  Enter full pathname of shell or RETURN for /bin/sh:
 
  When i hit enter this error comes
  /libexec/ld-elf.so.1: shared object pluginwrapper/flash6.so not found, 
 required by -sh
  /libexec/ld-elf.so.1: shared object pluginwrapper/flash6.so not found, 
 required by sh
  and it comes again to  Enter full pathname of shell or RETURN for /bin/sh:
  and nothing works, i cannot get into my shell,

I had the exact same thing. In my case, the problem was that I uncommented
some lines in libmap.conf, but forgot to uncomment the line with the path.
It looked like this:

# Flash6 with Mozilla/Firebird/Galeon/Epiphany/Konqueror
#[/usr/X11R6/lib/linux-flashplugin6/libflashplayer.so]
libpthread.so.0 pluginwrapper/flash6.so
libdl.so.2  pluginwrapper/flash6.so
libz.so.1   libz.so.3
libstdc++-libc6.2-2.so.3libstdc++.so.5
libm.so.6   libm.so.4
libc.so.6   pluginwrapper/flash6.so

After uncommenting the second line above, everything was fine.

  i tried to use fixit from sysinstall by using the emergency shell, to 
 delete libmap.conf
  (asuming its cuzing the problem) but from the emergency shell u cannot see 
 that file,

In order to edit libmap.conf, the partition where it lives needs to be
mounted. If you booted from a CD, you'll need to mount the hard drive
partition by hand.

My /etc/libmap.conf is located in the root partition, my hard drive is
ad0, and FreeBSD is on the first slice, so the device I needed is
/dev/ad0s1a. Of course, yours may be different.

From the emergency shell, mount your partition to some convenient directory,
say it's /mnt:

# mount /dev/ad0s1a /mnt

Then you can edit your libmap.conf at it's current, temporary location:
# vi /mnt/etc/libmap.conf

Reboot after it's fixed.

Hope this helps,
Dave


pgpEYVQ6w6eF2.pgp
Description: PGP signature


Re: cant get to my shell!

2006-07-27 Thread michael johnson

On 7/27/06, Marwan Sultan [EMAIL PROTECTED] wrote:


Hello everyone,

  I was trying to install linux-flashplugin7 and in the same time was
trying
to play with libmap.conf
  then suddenly my system crush!
  after reboot, i got this error message

  Enter full pathname of shell or RETURN for /bin/sh:

  When i hit enter this error comes
  /libexec/ld-elf.so.1: shared object pluginwrapper/flash6.so not found,
required by -sh
  /libexec/ld-elf.so.1: shared object pluginwrapper/flash6.so not found,
required by sh
  and it comes again to  Enter full pathname of shell or RETURN for
/bin/sh:
  and nothing works, i cannot get into my shell,
  i tried to use fixit from sysinstall by using the emergency shell, to
delete libmap.conf
  (asuming its cuzing the problem) but from the emergency shell u cannot
see
that file,
  I tried to /bin/csh/ and its giving the same error,
  single user mode, safe mode, all the same, giving the same error!!
  tried to google it but no results.

  the only place i can get is the emergency shell, from fixit.



boot in single user mode and when prompted for a shell to use,
use /rescue/csh . then you will be able to fix your problem.


 any help?

  Thank you
  Marwan.

_
Don't just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]