Re: command not found - can't run anything already on hard drive

Tom Oehser <[email protected]>
Newsgroups gmane.linux.tomsrtbt
Message-ID <[email protected]>
PS, the easiest way in your situation is to do something like:

chroot /mnt/5 /usr/bin/lynx

-Tom

On Fri, 14 Jun 2002, Corey Trager wrote:

> Date: Fri, 14 Jun 2002 18:38:36 -0700 (PDT)
> From: Corey Trager <[email protected]>
> To: [email protected]
> Subject: [tomsrtbt] command not found - can't run anything already on
>     hard drive
>
> I must be unclear on the concept...
>
> I wanted to run lynx under tomsrtbt.   Lynx was
> installed on my harddrive via a redhat installation.
> I thought I could just boot with tomsrtbt, mount the
> hard drive and execute the lynx that was there.   Is
> that possible?
>
> I did something like this (I'm doing this from memory
> so what I'm showing below isn't verbatim)
>
> # mkdir /mnt/5
> # mount /dev/hda5 /mnt/5
> # cd /mnt/5/usr/bin
>
> .....  prove that lynx is there
>
> # ls l*
> lynx
> # lynx
> lynx: command not found
> # ./lynx
> lynx: command not found
>
> .... getting more desperate now, maybe it's a path
> thing...
>
> # PATH=/usr/bin:/usr:/mnt/5/usr/bin
> # lynx
> lynx: command not found
>
> I tried some other commands too.  What went wrong?
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.