You are not logged in.
Pages: 1
I am fully up to date as of today.
I had a kernel panic and had to chroot and run:
pacman -Syy
pacman -S pacman
pacman -Syu
pacman -S udev
pacman -S mkinitcpio
sudo mkinitcpio -p linux
to repair.
Now, I can boot fine and when I tried to load a module, I got the command not found error.
I tried to re-install kmod but still nothing.
Any help would be appreciated.
Last edited by frank419 (2012-04-11 18:59:11)
Datacenter Ninja
Offline
Something wrong with $PATH? When you 'su -', is modprobe still unavailable? What does 'sudo which modprobe' say?
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
[arch ~]$ sudo which modprobe
Password:
which: no modprobe in (/usr/local/bin:/usr/bin:/bin:/usr/games)
[arch ~]$ sudo find / -name modprobe
/sbin/modprobe
/proc/sys/kernel/modprobe
[arch ~]$ su -
Password:
-bash: n#: command not found
-bash: thennfor: command not found
-bash: dontest: command not found
-bash: thenn.: command not found
-bash-4.2# modprobe
-bash: modprobe: command not found
-bash-4.2#edit:code tags
Last edited by frank419 (2012-04-11 18:29:40)
Datacenter Ninja
Offline
A silly question: is it executable?
Edit: I mean: is kmod executable as modprobe is now symlinked to kmod.
Last edited by bohoomil (2012-04-11 18:32:01)
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
lrwxrwxrwx 1 root root 15 Mar 31 10:45 modprobe -> ../usr/bin/kmod
-rwxr-xr-x 1 root root 74K Mar 31 10:45 kmodDatacenter Ninja
Offline
Can you run kmod? What output do you get?
Edit: Am blind. Take a look at your $PATH:
which: no modprobe in (/usr/local/bin:/usr/bin:/bin:/usr/games)Add /sbin and you should be fine.
Last edited by bohoomil (2012-04-11 18:35:26)
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
That did it, thank you my friend. /sbin was not in path, i edited the .bash_profile file. I need to take time to learn the upper level directories....
I learned valuable lesson today
Datacenter Ninja
Offline
Pages: 1