Results 1 to 3 of 3

Thread: Unlock encrypted partition and access data

  1. #1
    Join Date
    Sep 2018
    Beans
    1

    Unhappy Unlock encrypted partition and access data

    hello I have 2 hard disks- 128GB SSD, and 1TB. My system drive ( 128gb ssd) encrypted (during Ubuntu 18 installation).
    I tried to cancel the encryption, but it's failed, and my second disk (1TB) encrypted to, and my system can't boot. I used the fsck to fix- and now it's can only give me a grub command-line. I have the password of both (the same). I have used live ubuntu, and here the results:
    https://i.stack.imgur.com/G8dZI.png
    I have unlocked the 1TB- but I cant mount it and get access to my data.
    https://i.stack.imgur.com/jRaxH.png
    and get an error:
    mount /dev/sda4 /mnt
    mount: /mnt: unknown filesystem type 'crypto_LUKS'
    How can I get my data back?
    Second 128GB SSD drive is locked. I have the password- when I boot the system (before braked) I can unlock the 128 drive with the same password.
    But now I can't unlock the drive- here is the error:
    https://i.stack.imgur.com/GCbpB.png
    Some pictures of my disks system:
    https://i.stack.imgur.com/QScre.png
    https://i.stack.imgur.com/vHLcl.png
    I have installed win8 on 50GB partition, and try to use librecrypt and Ext2Read. Both cannot help me.
    I'd appreciate help

    ubuntu@ubuntu:~$ lsblk -o NAME,SIZE,FSTYPE,TYPE,MOUNTPOINT /dev/sda
    NAME SIZE FSTYPE TYPE MOUNTPOINT

    sda 931.5G disk
    ├─sda1 62M vfat part
    ├─sda2 128M part
    ├─sda3 46.5G ntfs part
    └─sda4 884.9G crypto_LUKS part
    ubuntu@ubuntu:~$ lsblk -o NAME,SIZE,FSTYPE,TYPE,MOUNTPOINT /dev/sdb
    NAME SIZE FSTYPE TYPE MOUNTPOINT
    sdb 119.2G disk
    ├─sdb1 512M vfat part
    ├─sdb2 732M ext4 part
    └─sdb3 118G crypto_LUKS part

    'ubuntu@ubuntu:~$ sudo mount /dev/mapper/sda_decrypt /mnt'
    'mount: /mnt: unknown filesystem type 'LVM2_member''

    try:
    'ubuntu@ubuntu:~$ sudo mount -a /dev/mapper/sda_decrypt /mnt'
    no errors, but /mnt is empty. i cant access my files.
    Last edited by ajgreeny; September 3rd, 2018 at 07:12 PM. Reason: Huge images replaced with links

  2. #2
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!

    Re: Unlock encrypted partition and access data

    Please do not add large images inline as you did in your post.

    You should use the Attachment icon (paperclip) in the toolbar of the New thread or Reply text box which will add a thumbnail of your image as I have done.

    Many users still have slow network speeds and limited or expensive bandwidth, and huge images are not comfortably viewed with small screens.
    Attached Images Attached Images
    DISTRO: Xubuntu 18.04-64bit --- Code-tags --- Boot-Repair --- Grub2 wiki & Grub2 Basics --- RootSudo --- Wireless-Info --- SolvedThreads

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

    Re: Unlock encrypted partition and access data

    With full drive encryption you also have to use LVM - logical volumes and then all your volumes are inside the physical partition. And you have to use LVM tools to manage those volumes.

    I do not know LVM, but saved some links.

    LVM - Logical Volume Management.
    Advantages/Disadvantages LVM Post #9
    http://ubuntuforums.org/showthread.p...45#post9917145
    https://wiki.ubuntu.com/Lvm
    https://wiki.archlinux.org/index.php/LVM
    https://www.howtoforge.com/linux_lvm


    Recover files on encrypted drive
    https://ubuntuforums.org/showthread.php?t=2382995
    https://askubuntu.com/questions/6359...m-command-line
    How to: Mount & Resize an Encrypted Partition (LUKS) also mount for repairs
    http://ubuntuforums.org/showthread.php?p=4530641

    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.

Tags for this Thread

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
  •