mkinitcpio : command not found
Since 2019-10-06 it's required to install a kernel besides installing the base package.
So you have to install either linux or linux-lts (or another kernel of your choice) that will pull the mkinitcpio package as a dependency.
The up-to-date instructions mention that you have to do : pacstrap /mnt base linux linux-firmware
So in your case basically you have to do pacstrap /mnt linux linux-firmware
outside of the chroot, and then you will get the mkinitcpio tool available once you enter the chroot.
The video you mention is from 2014, so don't take that modification into account. At 6:29 you can see that the package linux is being pulled when he is installing base, but it's not the case anymore (you can check in the in /mnt/var/log/pacman.log file, that no linux package has been installed).
Related videos on Youtube
Ali Mostafa
Updated on September 18, 2022Comments
-
Ali Mostafa almost 2 years
I am a beginner in Linux when i install arch Linux dual boot , download base system then i go to chroot then make a ram using a command:
mkinitcpio -p Linux
. when i write it, gives me command not found.
i install using this video: https://www.youtube.com/watch?v=METZCp_JCec i stop at min: 9.16.-
Ned64 over 4 yearsInside the
chroot
environment, please execute thels -l
command and post the output.
-