LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   4MLinux (https://www.linuxquestions.org/questions/4mlinux-115/)
-   -   Terminal "bash: command not found" (https://www.linuxquestions.org/questions/4mlinux-115/terminal-bash-command-not-found-4175625859/)

cepheus52 03-19-2018 10:29 AM

Terminal "bash: command not found"
 
I installes M4Linux version 24.
in the terminal I get for each command "bash: command not found".
Command "ls" is working.
What did I wrong?
What can I do?

zk1234 03-19-2018 10:43 AM

Welcome to LQ and 4MLinux !

What is the exact name of the ISO image? For example: 4MLinux-24.0-32bit.iso

.

cepheus52 03-19-2018 10:52 AM

4MLinux-24.0-32bit.iso

zk1234 03-19-2018 10:58 AM

Which menu item?
1) 4MLinux 24.0 with Default Display.
2) 4MLinux 24.0 with VESA Framebuffer.
3) 4MLinux 24.0 Legacy Installer (for old PCs).

.

cepheus52 03-19-2018 11:00 AM

with Default Display on an ASUS EeePC

zk1234 03-19-2018 11:05 AM

Your 4MLinux is installed to a hard disk drive now. Is this so ?
How much RAM does your ASUS EeePC have ?

.

cepheus52 03-19-2018 11:08 AM

4MLinux is installed to a hard disk drive 292GiB.
RAM Usage 120MiB/724MiB

zk1234 03-19-2018 11:21 AM

OK.

Have a look here:
http://4mlinux.com/index.php?page=download

As you can see, 1024 MB of RAM is required for 4MLinux live CD/USB. Your machine has 724 MB, and this is the most probable reason of this buggy installation process.
Repeat the installation choosing Legacy Installer from the menu. It requires only 128 MB of RAM.

Good luck!

.

cepheus52 03-19-2018 12:38 PM

When I choose Legacy I get a message:
Seeking...
ERROR:
Execute "installer" to retry.
Execute "exit" to reboot.
~#

zk1234 03-19-2018 12:40 PM

Well...

Execute "installer" to retry :-)

.

cepheus52 03-19-2018 12:44 PM

I did, but the same results in the Terminal: bath: command not found.
I think when I execute "installer" that the installer "default display" is used.

zk1234 03-19-2018 12:55 PM

Legacy Installer does not include bash. It uses BusyBox.

What are you using to install 4MLinux: CD or USB? Have you executed the "installer" command (as instructed in the error message)?

.

cepheus52 03-19-2018 12:57 PM

Using CD. Yes, installer executed!

zk1234 03-19-2018 01:15 PM

The installation script is trying to find your CDROM, which is, for some reason, not responding.

1) Choose Legacy Installer.
2) Execute "mount /dev/cdrom"
3) Wait a few seconds.
4) Execute "mount" (this will show you if the CD is mounted).
5) Repeat 2,3,4 if needed.
6) When the CD is finally mounted, run the "installer" script.

.

cepheus52 03-19-2018 01:33 PM

"mount /dev/cdrom" is not working: no such file or directory.
"installer" is working.
Now I got the message
Done!
~#

Restart: Lilo is booting Linux....
Changing password for root
4MLinux loging:
startx
I have a desktop
Terminal
root@4Mlinux:~$ apt-get update
bash: apt-get: command not found


All times are GMT -5. The time now is 11:34 AM.