cannot execute /bin/bash : No such file or Directory exists

yogesh prabhu yoge.org at gmail.com
Wed Aug 30 10:43:11 PDT 2006


Thanks for ur reply...

As per the earlier mail of Pavlov (PV)
the output i got is listed below....

1) ls -l /bin/bash /lib/libreadline.so.5.0 /lib/libhistory.so.5.0

-rwxr-xr-x  1 root root 1152240 2006-08-11 04:43 /bin/bash
-rwxr-xr-x  1 root root   30852 2006-08-07 05:05 /lib/libhistory.so.5.0
-rwxr-xr-x  1 root root  206725 2006-08-07 05:05 /lib/libreadline.so.5.0

2)ls -l /lib/libncurses.so.5 /lib/libdl.so.2 /lib/libc.so.6

-rwxr-xr-x  1 root root 1152240 2006-08-11 04:43 /bin/bash
lrwxrwxrwx  1 root root      13 2006-07-23 21:41 /lib/libc.so.6 -> libc-2.3.4.so
lrwxrwxrwx  1 root root      14 2006-07-23 21:41 /lib/libdl.so.2 ->
libdl-2.3.4.so
lrwxrwxrwx  1 root root      17 2006-08-06 03:59 /lib/libncurses.so.5
-> libncurses.so.5.4


3)ls -l /lib/ld-linux.so.2

lrwxrwxrwx  1 root root 11 2006-07-23 21:41 /lib/ld-linux.so.2 -> ld-2.3.4.so

4)ls -ld / /bin

/:
total 88
drwxr-xr-x   2 root root  4096 2006-08-11 04:43 bin
drwxr-xr-x   3 root root  4096 2006-08-07 06:24 boot
drwxrwxrwt   4 root root   300 2006-08-31 03:51 dev
drwxr-xr-x  12 root root  4096 2006-08-31 03:52 etc
drwxr-xr-x   2 root root  4096 2006-07-22 04:05 home
drwxr-xr-x   4 root root  4096 2006-08-07 06:22 lib
drwx------   3 root root 16384 2006-07-17 23:54 lost+found
drwxr-xr-x   4 root root  4096 2006-08-31 04:04 media
drwxr-xr-x   2 root root  4096 2006-07-22 04:05 mnt
drwxr-xr-x  16 root root  4096 2006-07-22 04:16 opt
dr-xr-xr-x  40 root root     0 2006-08-31 03:36 proc
drwxr-x---   2 root root  4096 2006-08-25 04:32 root
drwxr-xr-x   2 root root  4096 2006-08-07 05:06 sbin
drwxrwxrwt  60 1001 root  4096 2006-08-11 04:28 sources
drwxr-xr-x   2 root root  4096 2006-07-22 04:06 srv
drwxr-xr-x  10 root root     0 2006-08-31 03:36 sys
drwxrwxrwt   2 root root 12288 2006-08-11 04:43 tmp
drwxr-xr-x  13 root root  4096 2006-07-23 05:59 tools
drwxr-xr-x   9 root root  4096 2006-07-25 03:54 usr
drwxr-xr-x  12 root root  4096 2006-07-22 04:15 var

/bin:
total 3360
-rwxr-xr-x  1 root root   29103 2006-08-07 05:05 [
-rwxr-xr-x  1 root root    2996 2006-08-07 05:05 arch
-rwxr-xr-x  1 root root   16939 2006-08-07 05:05 basename
-rwxr-xr-x  1 root root 1152240 2006-08-11 04:43 bash
-r-xr-xr-x  1 root root    6823 2006-08-11 04:43 bashbug
lrwxrwxrwx  1 root root       5 2006-08-06 19:27 bunzip2 -> bzip2
lrwxrwxrwx  1 root root       5 2006-08-06 19:27 bzcat -> bzip2
-rwxr-xr-x  1 root root   34915 2006-08-07 05:05 bzip2
-rwxr-xr-x  1 root root   21217 2006-08-07 05:05 cat
-rwxr-xr-x  1 root root   38353 2006-08-07 05:05 chgrp
-rwxr-xr-x  1 root root   38071 2006-08-07 05:05 chmod
-rwxr-xr-x  1 root root   41038 2006-08-07 05:05 chown
lrwxrwxrwx  1 root root       4 2006-08-07 03:26 compress -> gzip
-rwxr-xr-x  1 root root   57543 2006-08-07 05:05 cp
-rwxr-xr-x  1 root root   46777 2006-08-07 05:05 date
-rwxr-xr-x  1 root root   35280 2006-08-07 05:05 dd
-rwxr-xr-x  1 root root   38522 2006-08-07 05:05 df
-rwxr-xr-x  1 root root    4520 2006-08-07 05:05 dmesg
-rwxr-xr-x  1 root root   18537 2006-08-07 05:05 echo
-rwxr-xr-x  1 root root      33 2006-08-07 03:17 egrep
-rwxr-xr-x  1 root root   15685 2006-08-07 05:05 false
-rwxr-xr-x  1 root root      33 2006-08-07 03:17 fgrep
-rwxr-xr-x  1 root root   23351 2006-08-07 05:05 fuser
-rwxr-xr-x  1 root root   83722 2006-08-07 05:05 grep
lrwxrwxrwx  1 root root       4 2006-08-07 03:25 gunzip -> gzip
-rwxr-xr-x  1 root root   60381 2006-08-07 05:05 gzip
-rwxr-xr-x  1 root root   31076 2006-08-07 05:05 head
-rwxr-xr-x  1 root root   17063 2006-08-07 05:05 hostname
-rwxr-xr-x  1 root root   59268 2006-08-07 05:05 install
-r-xr-xr-x  1 root root   12232 2006-08-07 05:05 kill
-rwxr-xr-x  1 root root   16500 2006-08-07 05:05 killall
-rwxr-xr-x  1 root root  119242 2006-08-07 05:05 less
-rwxr-xr-x  1 root root    7358 2006-08-07 05:05 lessecho
-rwxr-xr-x  1 root root   13681 2006-08-07 05:05 lesskey
-rwxr-xr-x  1 root root   29317 2006-08-07 05:05 ln
-rwxr-xr-x  1 root root   75416 2006-08-07 05:05 loadkeys
-rwxr-xr-x  1 root root    7904 2006-08-07 05:05 logger
-rwxr-xr-x  1 root root   43770 2006-08-07 05:05 login
-rwxr-xr-x  1 root root   83395 2006-08-07 05:05 ls
-rwxr-xr-x  1 root root    8325 2006-08-07 05:05 lsmod
-rwxr-xr-x  1 root root   26419 2006-08-07 05:05 mkdir
-rwxr-xr-x  1 root root   24143 2006-08-07 05:05 mknod
-rwxr-xr-x  1 root root   26724 2006-08-07 05:05 more
-rwsr-xr-x  1 root root   56480 2006-08-07 05:05 mount
-rwxr-xr-x  1 root root    4816 2006-08-07 05:05 mountpoint
-rwxr-xr-x  1 root root   62971 2006-08-07 05:05 mv
-rwsr-xr-x  1 root root   25954 2006-08-07 05:05 passwd
lrwxrwxrwx  1 root root      16 2006-08-07 04:32 pidof -> ../sbin/killall5
-rwsrwxr-x  1 root root   26463 2006-08-07 05:05 ping
-r-xr-xr-x  1 root root   65104 2006-08-07 05:05 ps
-rwxr-xr-x  1 root root   17984 2006-08-07 05:05 pwd
-rwxr-xr-x  1 root root   38252 2006-08-07 05:05 rm
-rwxr-xr-x  1 root root   18766 2006-08-07 05:05 rmdir
-rwxr-xr-x  1 root root  107134 2006-08-07 05:05 sed
lrwxrwxrwx  1 root root       4 2006-07-23 19:24 sh -> bash
-rwxr-xr-x  1 root root   19010 2006-08-07 05:05 sleep
-rwxr-xr-x  1 root root   42867 2006-08-07 05:05 stty
-rwsr-xr-x  1 root root   30278 2006-08-07 05:05 su
-rwxr-xr-x  1 root root   16452 2006-08-07 05:05 sync
-rwxr-xr-x  1 root root  223461 2006-08-07 05:05 tar
-rwxr-xr-x  1 root root   27389 2006-08-07 05:05 test
-rwxr-xr-x  1 root root   33982 2006-08-07 05:05 touch
-rwxr-xr-x  1 root root   15685 2006-08-07 05:05 true
-rwsr-xr-x  1 root root   29972 2006-08-07 05:05 umount
-rwxr-xr-x  1 root root   18714 2006-08-07 05:05 uname
lrwxrwxrwx  1 root root       6 2006-08-07 03:26 uncompress -> gunzip
lrwxrwxrwx  1 root root       4 2006-08-07 03:26 zcat -> gzip


And i forgot to say ,
When i get into my LFS linux thro grub,
after the kernel uncompressing and all.....
the script -
.................................					[ok]
............................. 						[ok]
Mounting the remaning file systems     					[failed]
.........................						[ok]

i could not make guess , whether anything has gone wrong....
can anybody help me out solving this issue ....



More information about the lfs-support mailing list