FS#29427 - [mkinitcpio] failed to run command '/sbin/mkinicpio'
Attached to Project:
Arch Linux
Opened by Ben Vassie (vassie) - Friday, 13 April 2012, 11:37 GMT
Last edited by Dave Reisner (falconindy) - Friday, 13 April 2012, 20:27 GMT
Opened by Ben Vassie (vassie) - Friday, 13 April 2012, 11:37 GMT
Last edited by Dave Reisner (falconindy) - Friday, 13 April 2012, 20:27 GMT
|
Details
Description:
initicpio images fail to build after configuring system Executing chroot /mnt /sbin/mkinitcpio -p linux >>/var/log/aif/mkinitcpio.log 2>&1\n chroot: failed to run command '/sbin/mkinicpio' : No such file or directory Additional info: mkinitcpio-0.8.7-1-any.pkg.tar.xz Steps to reproduce: Fresh install using archlinux-2011.08.19-netinstall-dual.iso initicpio images fail to build after configuring system Executing chroot /mnt /sbin/mkinitcpio -p linux >>/var/log/aif/mkinitcpio.log 2>&1\n chroot: failed to run command '/sbin/mkinicpio' : No such file or directory |
This task depends upon
Closed by Dave Reisner (falconindy)
Friday, 13 April 2012, 20:27 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#29420
Friday, 13 April 2012, 20:27 GMT
Reason for closing: Duplicate
Additional comments about closing:
![Link to this comment](../themes/ArchLinux/comment.png)
Unless I'm mistaken, isn't mkinitcpio in /bin not /sbin?
![Link to this comment](../themes/ArchLinux/comment.png)
'type -p' or 'which' or 'pacman -Ql' would tell you It's in
/usr/bin. The real problem here is that AIF doesn't want to do a
path lookup.
![Link to this comment](../themes/ArchLinux/comment.png)
type -p mkinitcpio says /sbin/mkinitcpio, I'm still booted into
the live environment and mkinitcpio is indeed in /sbin ?
![Link to this comment](../themes/ArchLinux/comment.png)
On the install CD it does...
![Link to this comment](../themes/ArchLinux/comment.png)
I am using archlinux-2011.08.19-netinstall-dual.iso. I also see
that AIF is doing a chroot to /mnt to run mkinitcpio where
mkinitcpio does not exist in /sbin or /bin but /usr/bin rather. I
just did a symlink of /usr/bin/mkinitcpio to /sbin and AIF
continues just fine. Was this a recent change in mkinitcpo
location?
![Link to this comment](../themes/ArchLinux/comment.png)
No, it was removal of a symlink. mkinitcpio has been in /usr/bin
for several months now.
![Link to this comment](../themes/ArchLinux/comment.png)
I see it was removed a few days ago in 0.8.7-1, why was that?