You are not logged in.

#1 2012-04-13 05:28:02

Mert7
Member
Registered: 2012-04-13
Posts: 3

[SOLVED] Net install fails at starting mkinitcpio

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

#2 2012-04-13 07:44:47

vassie
Member
Registered: 2006-02-05
Posts: 31

Re: [SOLVED] Net install fails at starting mkinitcpio

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

#3 2012-04-13 08:34:31

Mert7
Member
Registered: 2012-04-13
Posts: 3

Re: [SOLVED] Net install fails at starting mkinitcpio

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

#4 2012-04-13 11:00:43

vassie
Member
Registered: 2006-02-05
Posts: 31

Re: [SOLVED] Net install fails at starting mkinitcpio

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

#5 2012-04-13 11:30:18

vassie
Member
Registered: 2006-02-05
Posts: 31

Re: [SOLVED] Net install fails at starting mkinitcpio

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

#6 2012-04-13 14:14:31

vassie
Member
Registered: 2006-02-05
Posts: 31

Re: [SOLVED] Net install fails at starting mkinitcpio

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

#7 2012-04-13 14:35:56

zebulon
Member
Registered: 2008-10-20
Posts: 374

Re: [SOLVED] Net install fails at starting mkinitcpio

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

#8 2012-04-13 14:43:57

zebulon
Member
Registered: 2008-10-20
Posts: 374

Re: [SOLVED] Net install fails at starting mkinitcpio

vassie wrote:

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

#9 2012-04-13 15:06:33

zebulon
Member
Registered: 2008-10-20
Posts: 374

Re: [SOLVED] Net install fails at starting mkinitcpio

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

#10 2012-04-13 15:16:47

vassie
Member
Registered: 2006-02-05
Posts: 31

Re: [SOLVED] Net install fails at starting mkinitcpio

zebulon wrote:

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

#11 2012-04-13 18:03:06

Mert7
Member
Registered: 2012-04-13
Posts: 3

Re: [SOLVED] Net install fails at starting mkinitcpio

zebulon wrote:

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

#12 2012-04-13 21:59:46

ferdog
Member
Registered: 2007-03-18
Posts: 5

Re: [SOLVED] Net install fails at starting mkinitcpio

I was having this same problem and creating the above mentioned symlink was the solution. Thank you.

Offline

Board footer

Powered by FluxBB