Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem to mount swap and home on boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
sad_dam
n00b
n00b


Joined: 07 May 2018
Posts: 14

PostPosted: Sun Mar 29, 2020 5:06 pm    Post subject: Problem to mount swap and home on boot Reply with quote

systemd, lvm on luks, mounting home and swap for fstab failed with error "Timed out waiting for device ..."
https://imgur.com/vQoX5ux
https://imgur.com/Ar2CzZg
Not sure, but my problem is looks like this bug - https://bugs.gentoo.org/706434
Do i have to manually add an udev rule or unmask some package? Any help?
Back to top
View user's profile Send private message
sad_dam
n00b
n00b


Joined: 07 May 2018
Posts: 14

PostPosted: Mon Mar 30, 2020 7:18 am    Post subject: Reply with quote

I tried to generate an intratramfs with dracut. The same error is displayed, but now for LUKS container.
Back to top
View user's profile Send private message
starsky
n00b
n00b


Joined: 12 May 2020
Posts: 1

PostPosted: Thu May 14, 2020 8:14 am    Post subject: Re: Problem to mount swap and home on boot Reply with quote

The bug that you are quoting has an exact solution to your problem. Please see: https://bugs.gentoo.org/706434#c21

You have to create
Code:
 /etc/udev/rules.d/09-hack.rules
with the following content:
Code:

#: fix for non-udev initramfs boot with luks/lvm/systemd
#
# 10-dm.rules checks DM_UDEV_PRIMARY_SOURCE_FLAG
#
SUBSYSTEM=="block", KERNEL=="dm-[0-9]*", ACTION=="add|change", \
   ENV{DM_UDEV_PRIMARY_SOURCE_FLAG}="1"


It fixed the problem in my case.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum