/etc/fstab: ---------- /dev/mapper/crypt-tmp /tmp ext2 noatime 0 1 /etc/conf.d/cryptfs: ------------------- ## /tmp mount=crypt-tmp options='-c aes -s 256 -h sha256 -d /dev/urandom' source='/dev/hda9' pre_mount='mke2fs ${dev}' post_mount='chown root:root ${mount_point}; chmod 1777 ${mount_point}' Error at boot: ------------- Skipping invalid line in /etc/conf.d/cryptfs: mount=crypt-tmp ... mke2fs 1.39 (29/05/2006) fsck.ext2: No such file or directory while trying to open /dev/mapper/crypt-tmp /dev/mapper/crypt-tmp: superblock could not be read ... (try with command) e2fsck -b 8193 Convo ----- fsck.ext2: No such file or directory while trying to open /dev/mapper/crypt-tmp hmn yes because it skipped it * [Brain] is away (away) what parameters is mke2fs called with then any cmd to "create" it? * [Brain] is away (away) like what does it do dunno * [Brain] is away (away) to create it? sure cyptsetup -c aes -s 256 -h sha256 -d /dev/urandom create crypt-tmp /dev/hda9 I think Shell ----- Gentoo theirman # ls /dev/mapper/ control crypt-swap Gentoo theirman # cryptsetup -c aes -s 256 -h sha256 -d /dev/urandom create crypt-tmp /dev/hda9 Gentoo theirman # ls /dev/mapper/ control crypt-swap crypt-tmp When reboot: same error. After reboot: Gentoo theirman # ls /dev/mapper/ control crypt-swap Screen partitioning: ------------------- http://img479.imageshack.us/img479/7858/gpartedgf8.jpg Convo #2: -------- I just installed another system and get same problems, seems syntax has changed Gentoo theirman # cryptsetup --version cryptsetup-luks 1.0.4 see /lib/rcscripts/addons/dm-crypt-start.sh # check for the start of a new target/swap case ${targetline} in target=*|swap=*) so try target not mount in that version brb I did that ;/ yeserday night I did mount=tmp target=crypt-tmp options='-c aes -s 256 -h sha256 -d /dev/urandom' source='/dev/hda9' pre_mount='mke2fs ${dev}' post_mount='chown root:root ${mount_point}; chmod 1777 ${mount_point} didn't work mount=tmp no remove that line just target? think so when looking at the code target and options source pre_mount and post_mount that might work k now I got: target=crypt-tmp options='-c aes -s 256 -h sha256 -d /dev/urandom' source='/dev/hda9' pre_mount='mke2fs ${dev}' post_mount='chown root:root ${mount_point}; chmod 1777 ${mount_point}' well your version is unknown to me but that is my guess after checking the script that loads it # check for the start of a new target/swap case ${targetline} in target=*|swap=*) # If we have a target queued up, then execute it # check for the start of a new target/swap hehe else: not # check for the start of a new mount/swap ewarn "Skipping invalid line in /etc/conf.d/cryptfs: ${targetline}" as it is in my old version and that's what I get someone didn't update example config