Package: installation-reports Severity: normal Dear Maintainer,
I installed debain with encrypted hard disk. The /tmp directory is mounted to a separate partition with a random key. In /etc/crypttab the line sda3_crypt /dev/sda3 /dev/urandom cipher=aes-xts-plain64,size=256,tmp was generated, in /etc/fstab the line /dev/mapper/sda3_crypt /tmp ext2 defaults 0 2 was generated. During boot I got the message Mounting local filesystems...mount: wrong fs type, bad option, bad superblock on /dev/mapper/sda3_crypt, missing codepage or helper program, or other error [...] And indeed, the /tmp file system was not mounted. According to crypttab(5), I changed the corresponding line in /etc/crypttab to sda3_crypt /dev/sda3 /dev/urandom cipher=aes-xts-plain64,size=256,tmp=ext2 Now the /tmp file system is mounted on boot as expected. It seems to me that the original crypttab entry is either invalid (as the option 'tmp' needs to be followed by '=<tmpfs>') or the default file system for tmp is not ext2. For the sake of completeness I append /etc/crypttab and /etc/fstab. The only manual change I have made is the above mentioned line in crypttab. Thank you for the (otherwise) really great automated installation process. Sincerely Lars --- /etc/crypttab ------------------------------------------------------------ sda2_crypt UUID=afc745bf-6b36-4f43-a483-b49d28ab7eea none luks sda3_crypt /dev/sda3 /dev/urandom cipher=aes-xts-plain64,size=256,tmp=ext2 sda5_crypt /dev/sda5 /dev/urandom cipher=aes-xts-plain64,size=256,swap --- /etc/fstab --------------------------------------------------------------- # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> /dev/mapper/sda2_crypt / ext4 errors=remount-ro 0 1 # /boot was on /dev/sda1 during installation UUID=04d34b71-b02b-4f10-8a04-d399793a087c /boot ext4 defaults 0 2 /dev/mapper/sda3_crypt /tmp ext2 defaults 0 2 /dev/mapper/sda5_crypt none swap sw 0 0 /dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0 /dev/fd0 /media/floppy0 auto rw,user,noauto 0 0 -- Package-specific info: Boot method: CD Image version: 7.8.0 "Wheezy" - Official i386 NETINST Binary-1 20150110-13:31 Date: 2015-03-07 ============================================== Installer lsb-release: ============================================== DISTRIB_ID=Debian DISTRIB_DESCRIPTION="Debian GNU/Linux installer" DISTRIB_RELEASE="7 (wheezy) - installer build 20130613+deb7u2+b4" X_INSTALLATION_MEDIUM=cdrom -- System Information: Debian Release: 7.8 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150314165013.GA11555@nepomuk