Skip to content

Help! Unable to Boot into Arch

Loader.Conf:

  • Default Arch
  • timeout 4
  • console-mode auto
  • editor no

Mkinitcpio:

  • MODULES=""
  • BINARIES=""
  • FILES=""
  • HOOKS="base systemd sd-vconsole modconf keyboard block filesystems btrfs sd-encrypt fsck"

I am unable to boot into arch after a new install. Things I have tried :

  • Several reinstalls and still the same issue
  • changed bootloaders and still the same issue
  • I have checked my steps in the wiki and everything seems to be right

System Build :

  • BTRFS with luks
  • Subvolumes : root,home, swap,snapshots
  • I am running with no swap partition
  • current Bootloader is System D boot; I have tried refind

What is the cause of this error ? And How do I go about fixing it ?

Edited 13 Sep 2019. We only hold this version.

2 points14 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
2 · 100% up
Kind
Text
ID
d37fs5

Author

8
posts
76
comments
2
media
View profile

14 comments

Your initrd is waiting for /dev/mapper/cryptsystem to appear, but that never happens.

You need to open the encrypted partition in the initramfs, listing it in /etc/crypttab isn't enough. Since you're running systemd in the initrd, you can omit the root=… kernel parameter and rely on the gpt-auto-generator, provided you correctly flagged your root partition as type "Linux Root (x86-64)". (In that case it is opened as /dev/mapper/root instead of cryptsystem.) Otherwise, list your root partition in /etc/crypttab.initramfs (the file doesn't exist by default), and regenerate your initrd.

2 points

I have done everything and still receiving the error ; so I have updated the post with my full setup in hopes of finally having a computer that boots up

1 points
  1. Can you decrypt your drive? If you can't its because you are loading the wrong partition.

I noticed that in your entries your UUID is for the drive not the partition. You need to use the one that's labelled crypto_LUKS.

1 points

Which entries if you don’t mind me asking ? The arch.conf?

I can also decrypt the device when ch root to fix the issue

1 points
  1. Did you modify /etc/mkinitcpio.conf?
  2. Is /dev/mapper/cryptsystem in your boot loader entries.

Check this

1 points

Not loader.conf but the one at /boot/loader/entries/arch.conf

`filesystems` is usually after `encrypt` but before `fsck`

In the last screenshot you have /dev/mapper/system instead of /dev/mapper/cryptsystem

1 points

I tried that didn’t work ; same result as above

1 points

I fixed the issue by attaching “:luks” to the cryptdevice and changing the path of root = /dev/mapper/luks in the arch.conf.

It still would not boot after that so I then modified the mkinitcpio.conf to :

  • systemd to “udev”
  • sdencrypt to “encrypt”

Then I experimented ; I tried it the original way with the systemd hook and it didn’t work . I want to know why the udev hook works but the systemd hook does not

1 points

Looks like you have messed up with systemd boot boot options or you have entered wrong uuid in /etc/crypttab if I remember correctly.

Error mean that system wait for encrypted partition which isn't provided as it start to boot i assume root partition

Check wiki for your setup but I would start with systemd-boot efi file at /boot/efi/loader/loadernane and /etc/crypttab /etc/fstab

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.