You are not logged in.

#1 2014-09-08 01:00:36

josh.slark
Member
Registered: 2014-09-07
Posts: 3

Unable to find root "/dev/mapper/vgLinux-arch_root" after Install

I set up multiple partitions on lvm so that I could install arch linux on it. I installed the grub bootloader and set the lvm hook in mkinitcpio. Now, when I try to boot from any of the options in grub (Ubuntu, Arch, Arch Fallback), it fails after loading initramfs with the error "Unable to find root device." I have been struggling with this error for several weeks and have read more forum answers than you can imagine and have had no luck with any of their solutions. I can provide any additional information you need, I'm just not sure which information will be helpful. Also, I am new to the forums, and I don't yet know how to include copies of config files like other forum posters do.


Update: I have managed to successfully boot into Arch after using "lvm vgchange -ay" in the rootfs recovery shell to activate the lvm partitions and then exiting. However, I can't figure out how to boot automatically without doing this every time.

Last edited by josh.slark (2014-09-08 01:15:35)

Offline

#2 2014-09-08 10:35:49

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: Unable to find root "/dev/mapper/vgLinux-arch_root" after Install

Welcome,
what i found about this issue is rather old, but try out if this fixes it:
https://mailman.archlinux.org/pipermail … 29124.html

Offline

#3 2014-09-09 21:29:45

josh.slark
Member
Registered: 2014-09-07
Posts: 3

Re: Unable to find root "/dev/mapper/vgLinux-arch_root" after Install

Finally had time to try out your suggestion. I tried using lvmwait=/dev/sda4 and lvmwait=/dev/mapper/vgLinux-arch_root in the arch menuentry in grub and neither one of them worked.

Offline

#4 2014-09-09 21:38:57

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

Re: Unable to find root "/dev/mapper/vgLinux-arch_root" after Install

What's in your /etc/mkinitcpio.conf?

(Use code tags to paste to the boards: see the BBCode link below each text box).


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2014-10-02 09:06:36

josh.slark
Member
Registered: 2014-09-07
Posts: 3

Re: Unable to find root "/dev/mapper/vgLinux-arch_root" after Install

Here's my mkinitcpio.conf. I set up email subscription to my topic, so my next response will be much faster. I didn't even notice your post until I came back to trying to fix this problem again after a hiatus. Thank you for you help.

Last edited by josh.slark (2014-10-02 09:10:45)

Offline

Board footer

Powered by FluxBB