-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
systemd-gpt-auto-generator settings (Dependency failed for Initrd Root Device) #70
Comments
|
Hi @Andrei-Pozolotin, oops forgot to include content of
|
assume resolved |
I'm actually running into the same issue on several systems (with a system setup close to the one described above). When booting without network access (e.g. on a laptop), after typing in the password, a start job for Fun fact: My fstab for mkinitcpio-systemd-tool does not have a |
Also, this entire issue does not appear, when I do not use crypttab and fstab in the initrd but rely on kernel commandline parameters. |
@dvzrv great, since you can actually reproduce this :-) |
I believe I have figured out what triggers this behavior (in my case), now that I had some time to read up on things. The systemd-gpt-auto-generator acts according to the "discoverable partitions specification", which in turn makes a few assumptions about the layout of a partition. My system facilitates btrfs on LUKS in a flat hierarchy. Here the default subvolume (id 5) is not mounted as I have now added @hv15 I hope this will also fix your issues (which seem to be of the same nature, but I'm not 100% sure). |
@dvzrv What is there inside your |
@ArchangeGabriel it is only:
On that specific machine I only have a subvolume for home otherwise, so that's not important in early userspace (which is why I only specify That being said, this is my list of subvolumes:
|
@ArchangeGabriel did you set your btrfs subvolume used for |
No, I did not. Over I notice that you specified 3 time the subvol directive, not sure that’s a good thing (I know all three settings are correct, but ykk). My line is just:
|
@dvzrv re: doc: added to wiki home: https://github.com/random-archer/mkinitcpio-systemd-tool/wiki |
@ArchangeGabriel ah, I believe that it is because your device opens as |
Hi there,
Problem:
I keep experience a delay on system startup due to systemd not being able to load the root device (see
journalctl
output bellow). To be clear, the system does boot and eventually I reach a TTY to login to. Funnily though, my/boot
partition does not get mounted, I suspect this is due to the dependency on the root device.System Information and mkinitcpio-systemd-tool Configuration
I use Arch Linux (linux-lts kernel). My boot drive has two partitions on it, one for
boot
(EFI vFat) and the other is the root partition, setup as LVM on LUKs. The LVM partition has two volume groups (VGs), one for the root filesystem (calledvg-root
) and one for the home directory (calledvg-home
). I use systemd-boot with the these kernel parameters:(notice that I omit
root=
).Versions
systemd services
I have the following mkinitcpio-systemd-tool services enabled:
Files
mkinitcpio-systemd-tool/config/crypttab
has only this:mkinitcpio-systemd-tool/config/fstab
has only this (wherevg-root
is the name of the LVM VG containing the root filesystem):crypttab
has:fstab
has:Is my setup of mkinitcpio-systemd-tool wrong? I followed the 'instructions' as outlined in #62.
Any suggestions are welcome 😸 !
The text was updated successfully, but these errors were encountered: