You are not logged in.

#1 2012-02-23 10:11:32

dezza
Member
From: Denmark
Registered: 2007-04-05
Posts: 126

[SOLVED] dmcrypt boot ERROR unable to find root device

Rebooted a few mins ago and suddenly it looks like my root device is not mapped to /dev/mapper/root

:: Running Hook [keymap]
:: Loading keymap...done
:: Running Hook [encrypt]
:: Running Hook [openswap]
Device /dev/sda2 doesn't exist or access denied.
:: Running Hook [resume]
ERROR: Unable to find root device '/dev
/mapper/root'

Update failure?

Last edited by dezza (2012-02-24 15:52:37)

Offline

#2 2012-02-23 10:30:55

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [SOLVED] dmcrypt boot ERROR unable to find root device

There are several other threads in recent history with similar problems (and solutions). Take a look here for example.


Burninate!

Offline

#3 2012-02-23 14:42:14

dezza
Member
From: Denmark
Registered: 2007-04-05
Posts: 126

Re: [SOLVED] dmcrypt boot ERROR unable to find root device

Thanks.

But it did not solve my problem reading his thread ..

Haven't changed anything.

Offline

#4 2012-02-23 17:42:00

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] dmcrypt boot ERROR unable to find root device

dezza wrote:

Rebooted a few mins ago and suddenly it looks like my root device is not mapped to /dev/mapper/root

:: Running Hook [keymap]
:: Loading keymap...done
:: Running Hook [encrypt]
:: Running Hook [openswap]
Device /dev/sda2 doesn't exist or access denied.
:: Running Hook [resume]
ERROR: Unable to find root device '/dev
/mapper/root'

Update failure?

Partial upgrade failure, more likely.

As is the case in most of the other threads, chroot in do a complete update and rebuild your initramfs...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2012-02-23 20:23:52

dezza
Member
From: Denmark
Registered: 2007-04-05
Posts: 126

Re: [SOLVED] dmcrypt boot ERROR unable to find root device

Now I have mounted my old system via live cd mounted {proc, dev, sys} .. Chrooted and tried running mkinitcpio -k 3.2.6-2-ARCH ..

ERROR: Hook 'udev' can not be found.

.. and I doubt I should remove udev from the hooks array at mkinitcpio.conf ?

Last edited by dezza (2012-02-23 20:24:55)

Offline

#6 2012-02-23 20:45:52

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] dmcrypt boot ERROR unable to find root device

jasonwryan wrote:

... chroot in do a complete update and rebuild your initramfs...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2012-02-23 22:45:03

dezza
Member
From: Denmark
Registered: 2007-04-05
Posts: 126

Re: [SOLVED] dmcrypt boot ERROR unable to find root device

Sorry my friend smile I did actually do 'pacman -Syu' but it was so recent it didn't upgrade any packages

Offline

#8 2012-02-23 22:55:06

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] dmcrypt boot ERROR unable to find root device

What does pacman -Q udev show (in the chroot)?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2012-02-23 23:07:51

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

Re: [SOLVED] dmcrypt boot ERROR unable to find root device

Reinstall udev in the chroot and please post your pacman.log.

Offline

#10 2012-02-23 23:51:52

dezza
Member
From: Denmark
Registered: 2007-04-05
Posts: 126

Re: [SOLVED] dmcrypt boot ERROR unable to find root device

jasonwryan wrote:

What does pacman -Q udev show (in the chroot)?

Output:

udev 181-2

as you wish:

pacman -S udev

.. --reinstalling .. [Y/n] ..

Forgot anything?

pacman.log shows succesful building of the mkinitcpio on my latest kernel update.

Last edited by dezza (2012-02-24 14:55:38)

Offline

#11 2012-02-24 15:53:16

dezza
Member
From: Denmark
Registered: 2007-04-05
Posts: 126

Re: [SOLVED] dmcrypt boot ERROR unable to find root device

Got it working smile thanks alot!

Offline

Board footer

Powered by FluxBB