dmcrypt bad initialize

Discussion in general that pertains to Sabayon Linux - Must Pertain to Sabayon Linux

Moderator: Moderators

dmcrypt bad initialize

Postby sabayanus » Fri Mar 22, 2013 18:42

People, every time I start the system, dmcrypt try to create the filesystem, with cryptsetup create, and delete my files, I just want him uses cryptsetup luksOpen, he just do that on one partition and in others he try to create them, how I fix it?
rc.log:
* crypt2 using: create crypt2 /dev/sda2 ...

But in the other cases he does right:
crypt3 using: luksOpen /dev/sda3 crypt3 ...

I changed the fstab and the conf.d/dmcrypt to make a ext4 in it, but it delete my files, this way fstab initialize right, the problem is on dmcrypt
conf.d/dmcrypt

target=crypt2
source='/dev/sda2'
pre_mount='/sbin/mkfs.ext4 /dev/mapper/sda7_crypt' <<<< PATCH

target=crypt3
source='/dev/sda3'
sabayanus
Baby Hen
 
Posts: 15
Joined: Wed Mar 20, 2013 1:57

Re: dmcrypt bad initialize

Postby sabayanus » Fri Mar 22, 2013 19:25

I know... '/sbin/mkfs.ext4 /dev/mapper/sda7_crypt' make another filesystem but,
the problem isn't there, the problem is cryptsetup making another filesystem!
mkfs is a patch, for fstab mount the filesystem right.
sabayanus
Baby Hen
 
Posts: 15
Joined: Wed Mar 20, 2013 1:57


Return to Sabayon Linux General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron