You are not logged in.
trying to do net install today and during the install after you do the configurations i get the following message:
STARTING MKINITCPIO , 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 happens every time since 4/12, i've tried on 2 machines, one intell, one amd, and i've tried using different mirrors for net install.
going to try local core install and see what that gets me.
Last edited by Mert7 (2012-04-13 08:35:12)
Offline
I have the same issue, it would appear that mkinicpio is not in sbin, I carried on with the install, then on first boot ran
mkinitcpio -p linux
Seemed to fix the issue, however I'm sure this bug will get fixed
Offline
wow, such a simple thing to do.
I was having a nightmare with the core install involving file conflicts and pacman keyring and .... well thats in the past.
I guess with a better understanding of what mkinitpcio really is the problem does not seem all that bad and it turns out to be easy to fix.
I was on my way to using wget and pacman -U to install the older version while logged into tty2 during the install process when I noticed you replied.
Thanks so much, I can sleep easy now
Offline
Actually, scrap what I said, I've got issues with a clean install of Arch and KDE, networkmanager is on DEAMONS, it says its started but the KDE applet says it isn't
Not sure if this is tied to mkinitcpio
Offline
Me again
My working Arch KDE box has mkinitcpio 0.8.6-2, I see that the latest is 0.8.7-1, I can only assume it's broken
Offline
Found a workaround
Continue with your install but do not reboot, whilst still in the live environment run
cd /mnt
mount -t proc proc proc/
mount -t sysfs sys sys/
mount -o bind /dev dev/
mkinitcpio -p linux
Then reboot
Last edited by vassie (2012-04-13 14:15:14)
Offline
Actually the new PKGBUILD for mkinicpio does not create a symlink in /sbin/ for /usr/bin/mkinitcpio:
https://projects.archlinux.org/svntogit … a972450169
- # compat symlink
- install -dm755 "$pkgdir/sbin"
- ln -s /usr/bin/mkinitcpio "$pkgdir/sbin/mkinitcpio"
It may be an error, or if it is on purpose, the installer has to be updated too.
Last edited by zebulon (2012-04-13 14:36:07)
Offline
Found a workaround
Continue with your install but do not reboot, whilst still in the live environment run
cd /mnt mount -t proc proc proc/ mount -t sysfs sys sys/ mount -o bind /dev dev/ mkinitcpio -p linux
Then reboot
You need to do a "chroot ." before executing mkinitcpio.
Offline
Alternatively, after installing the base packages (between step 6 and step 7), you can switch to another console, login as root and do:
cd /mnt/sbin
ln -s ../usr/bin/mkinitcpio .
Offline
Alternatively, after installing the base packages (between step 6 and step 7), you can switch to another console, login as root and do:
cd /mnt/sbin ln -s ../usr/bin/mkinitcpio .
Thanks zebulon
I plan on re-installing Arch on my laptop this weekend, I'll try that should the installer not be fixed by then
Offline
Alternatively, after installing the base packages (between step 6 and step 7), you can switch to another console, login as root and do:
cd /mnt/sbin ln -s ../usr/bin/mkinitcpio .
ok just to be clear, i tend to take cli instruction verbatim, so when i did it, that last dot, made it not work, it just turned up what i said in original post, so i had to do it again.
# cd /mnt/sbin
# ln -s ../usr/bin/mkinitcpio
no errors ^_^
so now i'll move on to my gui but i think every is nice now.
Offline
I was having this same problem and creating the above mentioned symlink was the solution. Thank you.
Offline