You are not logged in.

#1 2016-07-29 18:34:18

FragginLucky
Member
Registered: 2016-07-28
Posts: 19

Command line issues

While trying to complete install and trying to run commands such as "tzselect", "locale-gen", "ls", "lsblk", etc. I am only getting "The command could not be located because '/usr/bin' is not located in the PATH environment variable.
Where have I gone wrong...lol

Offline

#2 2016-07-29 18:44:59

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,561

Re: Command line issues

How are you logging in? What shell are you using? What does /usr/bin/echo $PATH say?

Last edited by Scimmia (2016-07-29 18:45:39)

Offline

#3 2016-07-29 18:52:47

FragginLucky
Member
Registered: 2016-07-28
Posts: 19

Re: Command line issues

I haven't made it to login.

Showing: root@archiso:~#

Made it to Locale in the Begginers guide and now I'm having issues.

/user/bin# echo $PATH
/bin:/usr/local/bin/:/sbin:/usr/sbin

Offline

#4 2016-07-29 19:07:26

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,868
Website

Re: Command line issues

Where did you get/how did you create the installation CD?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2016-07-29 19:15:52

FragginLucky
Member
Registered: 2016-07-28
Posts: 19

Re: Command line issues

I got the installation iso from Arch and did the dd method to a usb drive. archlinux-2016.07.01-dual.iso is the one I have.

Offline

#6 2016-07-29 19:30:36

loqs
Member
Registered: 2014-03-06
Posts: 17,377

Re: Command line issues

So you are up to Configuration
Did the two previous commands execute successfully?

# genfstab -U /mnt >> /mnt/etc/fstab

and

# arch-chroot /mnt /bin/bash

Offline

#7 2016-07-29 19:35:42

FragginLucky
Member
Registered: 2016-07-28
Posts: 19

Re: Command line issues

Yes those commands went fine. After # arch-chroot things hit a wall...lol

Offline

#8 2016-07-29 19:37:56

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: Command line issues

@OP: Please post *all* of the commands that you used up until that point.

Please post the *exact* commands rather than the vague descriptions of which you seem to be so fond.

For command output and error messages, please post verbatim output using a pastebin client:
https://wiki.archlinux.org/index.php?ti … in_clients

Offline

#9 2016-07-29 20:32:35

loqs
Member
Registered: 2014-03-06
Posts: 17,377

Re: Command line issues

See also the script command for recording terminal sessions.

Offline

#10 2016-07-29 20:48:06

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,534
Website

Re: Command line issues

I suspect this is related to your other thread where you did something odd to mount the archiso from within Ubuntu.  Describe these steps.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#11 2016-07-30 14:51:31

FragginLucky
Member
Registered: 2016-07-28
Posts: 19

Re: Command line issues

Guys I got Arch installed. My apologies for the vagueness. There was an error in fstab so I reinstalled and all issues were clear. I am making this post from my Arch PC! Thanks for the patience and guidance. With any further issues I will be able to post exactly what commands and errors I am getting. My next task to learn is pastebin...lol. Thanks again everyone.

Offline

Board footer

Powered by FluxBB