Results 1 to 4 of 4

Thread: Wrong fs type, bad option, bad superblock

  1. #1
    Join Date
    Nov 2019
    Beans
    9

    Wrong fs type, bad option, bad superblock

    Hello,

    I am trying to mount an encrypted home partition on external hdd with Ubuntu 16.04. I have Ubuntu 19.10. Here is a good explanation of how to do it.
    www.techrepublic.com/article/how-to-mount-an-encrypted-linux-home-directory-to-salvage-data/

    But after i run
    sudo ecryptfs-recover-private /media/UUID/home/.ecryptfs/USERNAME/.Private

    i end up with
    mount: /tmp/ecryptfs.8jkY3rvY: wrong fs type, bad option, bad superblock on /tmp/ecryptfs.I0n0vlBS/.ecryptfs/USER/.Private, missing codepage or helper program, or other error.
    ERROR: Failed to mount private data at [/tmp/ecryptfs.8jkY3rvY].

    I cannot boot from this hdd either. Is there any way to solve it. Hopefully not too complicated.

    There is an option to repair filesystem in Disks app. Can i start with it.

    Thank you

  2. #2
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Wrong fs type, bad option, bad superblock

    I think these are similar instructions.
    Includes chroot. /home encryption:
    https://help.ubuntu.com/community/En...home_directory
    http://ubuntuforums.org/showthread.php?t=2028865
    http://www.howtogeek.com/116297/how-...ory-on-ubuntu/

    The most common and often only alternative with encrypted data is reinstall & restore from backup. The entire purpose of encryptions is to prevent access. And if any sort of data corruption that possibly could be repaired with standard data, often cannot be done as repairing/moving broken data sector does not work.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  3. #3
    Join Date
    Sep 2009
    Location
    Pennsylvania
    Beans
    2,951
    Distro
    Xubuntu

    Re: Wrong fs type, bad option, bad superblock

    I have no experience with encryption, but when I see "bad superblock", that tells me that I need a new hard drive.

  4. #4
    Join Date
    Nov 2019
    Beans
    9

    Re: Wrong fs type, bad option, bad superblock

    Thank you
    Last edited by antee; December 11th, 2019 at 12:44 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •