in the midst of installing archlinux on my device i made a mistake, i forgot to include "linux" in the following command.

pacstrap /mnt base linux linux-firmware sudo nano

now i cannot access pacstrap anymore, not sure why. so can i use pacman to install the missing "linux" piece? how would this command look like?


1 Answer 1


Command to install a foo package is:
sudo pacman -S foo
but this needs a working environment;

Starting from information provided I cannot say any more, except for: the easiest way for you* to fix the issue, is probably to start from the beginning the entire installation process.
It is easiest to destroy and create a brand new machine than transform the current one...

*I assume you are a newbie, if you ask a such kind of question...

  • thanks, i didnt even know how to quit the install process :)
    – hal3m
    Dec 21, 2022 at 15:50
  • Did you try CTRL+d or CTRL-c ? anyway, remember, Archwiki is a great place where looking for first help, especially: wiki.archlinux.org/title/Installation_guide
    – mattia.b89
    Dec 21, 2022 at 16:29
  • ctrl c didnt work. i just pushed the power button, so the install process got killed that way
    – hal3m
    Dec 22, 2022 at 16:29

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .