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:
Comment by Ben Vassie (vassie) -
Friday, 13 April 2012, 12:09 GMT
Comment by
Dave Reisner (falconindy) - Friday,
13 April 2012, 12:41 GMT
Comment by Ben Vassie (vassie) -
Friday, 13 April 2012, 13:02 GMT
Comment by
Dave Reisner (falconindy) - Friday,
13 April 2012, 13:03 GMT
Comment by Trent (trentzb) -
Friday, 13 April 2012, 19:19 GMT
Comment by
Dave Reisner (falconindy) - Friday,
13 April 2012, 19:20 GMT
Comment by Trent (trentzb) -
Friday, 13 April 2012, 19:45 GMT
Unless I'm mistaken, isn't mkinitcpio in /bin not /sbin?
'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.
type -p mkinitcpio says /sbin/mkinitcpio, I'm still booted into
the live environment and mkinitcpio is indeed in /sbin ?
On the install CD it does...
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?
No, it was removal of a symlink. mkinitcpio has been in /usr/bin
for several months now.
I see it was removed a few days ago in 0.8.7-1, why was that?