Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how do i change the order of openrc services?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
picarica
Guru
Guru


Joined: 11 Aug 2018
Posts: 326

PostPosted: Thu Oct 17, 2019 5:48 am    Post subject: how do i change the order of openrc services? Reply with quote

So i have problem that i have encrypted partition
And fstab tries to mount /dev/mapper
Beforr even when its open by dm-crypt

What i need to put dm-ccrypt service before mount service, how ? They ate both in boot runlevel
Back to top
View user's profile Send private message
xanderal
Tux's lil' helper
Tux's lil' helper


Joined: 06 Mar 2019
Posts: 133
Location: Germany

PostPosted: Thu Oct 17, 2019 6:01 am    Post subject: Reply with quote

Sorry if I misunderstood you - I think you might want to look at this guide.
Back to top
View user's profile Send private message
picarica
Guru
Guru


Joined: 11 Aug 2018
Posts: 326

PostPosted: Thu Oct 17, 2019 6:21 am    Post subject: Reply with quote

xanderal wrote:
Sorry if I misunderstood you - I think you might want to look at this guide.


yes i used that guide to encrypt my partition, i even did the automatic mount at boot, but i have differet setup from his

i dont have whole disk encrypted only /home partition, but at boot it tries to mount /home partition beofre it was decrypted by dmcrypt. so it fails
Back to top
View user's profile Send private message
xanderal
Tux's lil' helper
Tux's lil' helper


Joined: 06 Mar 2019
Posts: 133
Location: Germany

PostPosted: Thu Oct 17, 2019 6:28 am    Post subject: Reply with quote

picarica wrote:
xanderal wrote:
Sorry if I misunderstood you - I think you might want to look at this guide.


yes i used that guide to encrypt my partition, i even did the automatic mount at boot, but i have differet setup from his

i dont have whole disk encrypted only /home partition, but at boot it tries to mount /home partition beofre it was decrypted by dmcrypt. so it fails
Ok, can you post your blkid, /etc/fstab and /etc/default/grub? Did you use lvm anyway?
Back to top
View user's profile Send private message
picarica
Guru
Guru


Joined: 11 Aug 2018
Posts: 326

PostPosted: Thu Oct 17, 2019 6:32 am    Post subject: Reply with quote

xanderal wrote:
picarica wrote:
xanderal wrote:
Sorry if I misunderstood you - I think you might want to look at this guide.


yes i used that guide to encrypt my partition, i even did the automatic mount at boot, but i have differet setup from his

i dont have whole disk encrypted only /home partition, but at boot it tries to mount /home partition beofre it was decrypted by dmcrypt. so it fails
Ok, can you post your blkid, /etc/fstab and /etc/default/grub? Did you use lvm anyway?


i am at work now but ill post it when i get home, also i think i used lvm when i mount the partition i use cryptsetup luksOpen /dev/sda3 lvm and i see lvm partition in mapper so i guess so
Back to top
View user's profile Send private message
xanderal
Tux's lil' helper
Tux's lil' helper


Joined: 06 Mar 2019
Posts: 133
Location: Germany

PostPosted: Thu Oct 17, 2019 6:41 am    Post subject: Reply with quote

picarica wrote:
xanderal wrote:
Did you use lvm anyway?
i am at work now but ill post it when i get home, also i think i used lvm when i mount the partition i use cryptsetup luksOpen /dev/sda3 lvm and i see lvm partition in mapper so i guess so
That just means that you open it with the name lvm - you could also have named it picarica if you wanted to. Same goes for ls /dev/mapper. So when you get home please also look at pvdisplay, vgdisplay, lvdisplay. That will tell you whether you're using lvm or not.
Back to top
View user's profile Send private message
picarica
Guru
Guru


Joined: 11 Aug 2018
Posts: 326

PostPosted: Thu Oct 17, 2019 2:12 pm    Post subject: Reply with quote

xanderal wrote:
picarica wrote:
xanderal wrote:
Did you use lvm anyway?
i am at work now but ill post it when i get home, also i think i used lvm when i mount the partition i use cryptsetup luksOpen /dev/sda3 lvm and i see lvm partition in mapper so i guess so
That just means that you open it with the name lvm - you could also have named it picarica if you wanted to. Same goes for ls /dev/mapper. So when you get home please also look at pvdisplay, vgdisplay, lvdisplay. That will tell you whether you're using lvm or not.


hope this ist too messy grub fstab

here is that pv displays etc.
Back to top
View user's profile Send private message
xanderal
Tux's lil' helper
Tux's lil' helper


Joined: 06 Mar 2019
Posts: 133
Location: Germany

PostPosted: Thu Oct 17, 2019 4:10 pm    Post subject: Reply with quote

picarica wrote:
hope this ist too messy grub fstab
here is that pv displays etc.
Hmm, the links have already expired - can you try again, maybe use wgetpaste?
Back to top
View user's profile Send private message
picarica
Guru
Guru


Joined: 11 Aug 2018
Posts: 326

PostPosted: Thu Oct 17, 2019 5:24 pm    Post subject: Reply with quote

xanderal wrote:
picarica wrote:
hope this ist too messy grub fstab
here is that pv displays etc.
Hmm, the links have already expired - can you try again, maybe use wgetpaste?


sorry here they are

http://dpaste.com/2FPGK8T
http://dpaste.com/2FDJD3T
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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