View previous topic :: View next topic |
Author |
Message |
picarica Guru
Joined: 11 Aug 2018 Posts: 326
|
Posted: Thu Oct 17, 2019 5:48 am Post subject: how do i change the order of openrc services? |
|
|
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 |
|
|
xanderal Tux's lil' helper
Joined: 06 Mar 2019 Posts: 133 Location: Germany
|
Posted: Thu Oct 17, 2019 6:01 am Post subject: |
|
|
Sorry if I misunderstood you - I think you might want to look at this guide. |
|
Back to top |
|
|
picarica Guru
Joined: 11 Aug 2018 Posts: 326
|
Posted: Thu Oct 17, 2019 6:21 am Post subject: |
|
|
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 |
|
|
xanderal Tux's lil' helper
Joined: 06 Mar 2019 Posts: 133 Location: Germany
|
Posted: Thu Oct 17, 2019 6:28 am Post subject: |
|
|
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 |
|
|
picarica Guru
Joined: 11 Aug 2018 Posts: 326
|
Posted: Thu Oct 17, 2019 6:32 am Post subject: |
|
|
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 |
|
|
xanderal Tux's lil' helper
Joined: 06 Mar 2019 Posts: 133 Location: Germany
|
Posted: Thu Oct 17, 2019 6:41 am Post subject: |
|
|
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 |
|
|
picarica Guru
Joined: 11 Aug 2018 Posts: 326
|
Posted: Thu Oct 17, 2019 2:12 pm Post subject: |
|
|
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 |
|
|
xanderal Tux's lil' helper
Joined: 06 Mar 2019 Posts: 133 Location: Germany
|
Posted: Thu Oct 17, 2019 4:10 pm Post subject: |
|
|
Hmm, the links have already expired - can you try again, maybe use wgetpaste? |
|
Back to top |
|
|
picarica Guru
Joined: 11 Aug 2018 Posts: 326
|
|
Back to top |
|
|
|