I want to confirm the problem and the workaround for the benefit of
other people who will come across it, since it wasn't easy to fing.

If you are using encrypted disk and the fcsk is being executed before or
during the cryptsetup password prompt during plymouth or more precise
mountall, it is more likely due to the fact that your encrypted disks
are references in the /etc/fstab using UUID rather than using the mapper
paths. The workaround is to edit /etc/fstab and refer the encrypted
disks using mapper paths, e.g.

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc                                      /proc           proc    
nodev,noexec,nosuid 0       0
UUID=cfc42d03-788c-4ce8-a5bf-b1ed12e286c0 /boot           ext4    
relatime,discard 0       2
#UUID=5c18efc3-d3eb-4e2e-a8a1-c4be8b7cacb5 /               ext4    
relatime,discard,errors=remount-ro 0       1
/dev/mapper/root_crypt                    /               ext4    
relatime,discard,errors=remount-ro 0       1
#UUID=151192b4-2f9c-479b-8b4d-62bb38cef7ee /home           ext4    
relatime,errors=remount-ro 0       1
/dev/mapper/home_crypt                    /home           ext4    
relatime,errors=remount-ro 0       1
#UUID=cc988cfb-3bf9-41b4-9cc4-11ff5fdf089c /data           ext4    
relatime,errors=remount-ro 0       2
/dev/mapper/data_crypt                    /data           ext4    
relatime,errors=remount-ro 0       2
#UUID=60c8d952-f3dc-4d15-8eac-c97718de9f6a /archive        ext4    
relatime,errors=remount-ro 0       2
/dev/mapper/archive_crypt                 /archive        ext4    
relatime,errors=remount-ro 0       2
#UUID=47A7-EF59                            /media/bootkey  vfat    
utf8,umask=007,gid=46 0       1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/719563

Title:
  mountall: fatal error: cannot open /dev/mapper/crypthome_unformatted

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/719563/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to