{"id":2275,"date":"2014-07-10T07:41:01","date_gmt":"2014-07-10T06:41:01","guid":{"rendered":"http:\/\/kudzia.eu\/b\/?p=2275"},"modified":"2014-07-10T12:51:51","modified_gmt":"2014-07-10T11:51:51","slug":"fsck-on-truecrypt","status":"publish","type":"post","link":"https:\/\/kudzia.eu\/b\/2014\/07\/fsck-on-truecrypt\/","title":{"rendered":"fsck on truecrypt"},"content":{"rendered":"<p>it&#8217;s high time to move away from truecrypt [ which i&#8217;m doing by moving to luks and btrfs on the top of it for extra thrills ], but i still have bunch of places that were not moved to the alternative full disk encryption.<\/p>\n<p>what do do when after unclean shutdown this happens:<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nroot@host0:~# \/usr\/bin\/truecrypt --protect-hidden=no -m nokernelcrypto --fs-options=noatime,nodiratime --mount \/dev\/sdc1 \/mnt\/encrypted\/\r\nError: mount: wrong fs type, bad option, bad superblock on \/dev\/loop1,\r\n       missing codepage or helper program, or other error\r\n       In some cases useful info is found in syslog - try\r\n       dmesg | tail  or so\r\n<\/pre>\n<p>?<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nroot@host:~# truecrypt --filesystem=none -m nokernelcrypto \/dev\/sdc1 \/mnt\/encrypted\/\r\nEnter password for \/dev\/sdc1:\r\nEnter keyfile &#x5B;none]:\r\nProtect hidden volume (if any)? (y=Yes\/n=No) &#x5B;No]: no\r\nroot@host:~# mount|grep truecrypt\r\ntruecrypt on \/tmp\/.truecrypt_aux_mnt2 type fuse.truecrypt (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other)\r\nroot@host:~# fsck -f \/tmp\/.truecrypt_aux_mnt2\/\r\n..\r\nFilesystem is clean.\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>it&#8217;s high time to move away from truecrypt [ which i&#8217;m doing by moving to luks and btrfs on the top of it for extra thrills ], but i still have bunch of places that were not moved to the alternative full disk encryption. what do do when after unclean shutdown this happens: root@host0:~# \/usr\/bin\/truecrypt [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17,51],"tags":[],"class_list":["post-2275","post","type-post","status-publish","format-standard","hentry","category-tech","category-unimportant"],"_links":{"self":[{"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/posts\/2275","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/comments?post=2275"}],"version-history":[{"count":2,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/posts\/2275\/revisions"}],"predecessor-version":[{"id":2277,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/posts\/2275\/revisions\/2277"}],"wp:attachment":[{"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/media?parent=2275"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/categories?post=2275"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/tags?post=2275"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}