You are not logged in.

#1 2019-02-13 08:24:00

Dylanus
Member
Registered: 2018-05-21
Posts: 11

Grub configuration seems to picking up the wrong root device

Hi all,

I'm currently attempting to install Arch Linux on a Dell Inspiron 15 7000 after it became abundantly apparent that Debian could not handle such new technology.
I have two partitions, one for root, and one for home, both of which are encrypted. I then have /dev/nvme0n1p1 mounted on /boot, which contains the EFI files for Windows. I am dual booting with windows.
The grub entries all show up as options when I reboot, and Windows boots from the Grub menu without an issue. When I boot into Arch Linux, I am prompted for the decryption for password for /dev/nvme0n1p9, but then it states that crypto_LUKS is an unknown filesystem type and drops me into an emergency shell.
Previously it stated that it couldn't find a particular UUID which I do not recognise from the output of blkid. I checked /boot/grub/grub.cfg and that is the device it was trying to load. I manually edited the file and changed the UUID, and the error message changed, but it still won't start up correctly.
When I run grub-mkconfig I also get the error

failed to connect to lvmetad

. os-prober creates the same issue. It also tries to then manually scan each block device and times out for all of them in a loop, so I have to kill it. Grub still generates the file though, and Windows boots without issue.

My /etc/default/grub: https://paste.pound-python.org/show/ekI … 9nHDKNu8U/
/etc/crypttab: https://paste.pound-python.org/show/z4K … AxIHjfCVq/
output of blkid: https://paste.pound-python.org/show/JhQ … qQPZRmEyV/
/etc/fstab: https://paste.pound-python.org/show/jtM … JrHFGQ3qB/
/boot/grub/grub.cfg: https://paste.pound-python.org/show/EJ7 … rxxvnPBNZ/

I'm sorry I can't paste any of this directly, but of course these files are all on a machine with no GUI.
To summarise, I get an error when I select Arch Linux from Grub, which seems like grub.cfg has been generated with bad options. I can confirm it is now using the correct UUID for the root device in grub.cfg, but it is still complaining about the filesystem type being crypto_LUKS, after it has asked me for the password.

Please let me know if I should provide any more config files or output here, and let me know if there's anything I can try to sort this out.

Thanks

Offline

#2 2019-02-13 15:44:31

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: Grub configuration seems to picking up the wrong root device

I'd just use https://wiki.archlinux.org/index.php/Us … figuration to write the config file by hand. It's actually extremely simple and writing it yourself is not vulnerable to grub-mkconfig's ill-advised attempt to do weird things with lvm.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

Board footer

Powered by FluxBB