Create an empty file with the size of your container (10 MB here)
dd if=/dev/zero bs=512 count=19532 of=myFile


Here we make an encrypted LUKS partition on myFile
sudo cryptsetup luksFormat myFile


Now we mount the file on an vitual device named mydevice
sudo cryptsetup luksOpen myFile myDevice


We create an ext4 file system on this device
sudo mkfs -t ext4 /dev/mapper/myDevice


Now we mount myDevice on an folder named here myMountPoint
mkdir myMountPoint
sudo mount /dev/mapper/myDevice myMountPoint/


Change the proprietary
sudo chown 'here your sesion name' myMountPoint


Now you can drag and drop from nautilus

Reply via email to