You are not logged in.

#1 2013-02-12 17:36:43

jib2
Member
From: Paris, France
Registered: 2009-08-13
Posts: 84

mkinitcpio error

Since device-mapper last update, dmsetup moved from /sbin to /usr/sbin
Now, mkinitcpio fails with this message:

[2013-02-12 17:23] ==> Starting build: 3.7.7-1-ARCH
[2013-02-12 17:23]   -> Running build hook: [base]
[2013-02-12 17:23]   -> Running build hook: [udev]
[2013-02-12 17:23]   -> Running build hook: [autodetect]
[2013-02-12 17:23]   -> Running build hook: [block]
[2013-02-12 17:23]   -> Running build hook: [lvm2]
[2013-02-12 17:23] ==> ERROR: file not found: `/sbin/dmsetup'

For now, I solved the problem with a link. Is there another solution?
Thanks.

Edit: I suppose the problem was update order:  device-mapper, then kernel then lvm2. device-mapper and lvm2 should be updated together.

Last edited by jib2 (2013-02-12 17:58:41)

Offline

#2 2013-02-12 18:01:12

AndrzejL
Member
Registered: 2012-12-07
Posts: 160

Re: mkinitcpio error

https://bugs.archlinux.org/task/33828

I have also added symlink (as root)

ln -s /usr/sbin/dmsetup /sbin/dmsetup

and then re-run (also as root) the

mkinitcpio -p linux

command. But it's a nasty solution and definitely temporary.

Regards.

Andrzej

Last edited by AndrzejL (2013-02-12 18:03:29)


The worst thing about censorship is ██████ ██ ████ ████████████ and ██████ ███████ ███ ███████████.

Offline

#3 2013-02-12 18:14:00

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,092
Website

Re: mkinitcpio error

Just rebuild the images. It's an issue of order of installation. There's zero need to work around anything.

Last edited by falconindy (2013-02-12 18:14:17)

Offline

Board footer

Powered by FluxBB