Cannot open mounted drive

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
james-r
Level 2
Level 2
Posts: 54
Joined: Wed Aug 21, 2019 7:37 pm

Cannot open mounted drive

Post by james-r »

I cannot open Linux Mint so I am using a bootable USB drive.
If I click on my SSD in the Devices list, after entering the password I get the error in the attachments.

About the partitions

Code: Select all

mint@mint:~$ sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL
NAME   FSTYPE        SIZE MOUNTPOINT LABEL
fd0                    4K            
loop0  squashfs      1.7G /rofs      
sda                111.8G            
├─sda1 ext4          731M            
├─sda2                 1K            
└─sda5 crypto_LUKS 111.1G            
sdb                 14.9G            
└─sdb1 vfat         14.9G /cdrom     LINUX MINT
Reading
viewtopic.php?t=224817
this is what I get on terminal:

Code: Select all

mint@mint:~$ sudo -i
root@mint:~# /sbin/cryptsetup luksOpen /dev/sda5 crypt
Enter passphrase for /dev/sda5: 
Cannot use device /dev/sda5 which is in use (already mapped or mounted).
root@mint:~# mount /dev/mapper/mint--vg-root /mnt
mount: /mnt: unknown filesystem type 'ext4dev'.
Attachments
Screenshot from 2019-08-21 23-43-00.png
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
WharfRat

Re: Cannot open mounted drive

Post by WharfRat »

Hello james-r Image

Welcome to Linux Mint and the Linux Mint forum :)

You might have a corrupted filesystem in which case there might not be any resolution.

When you boot the usb don't use the file manager to mount it.

Go right to the terminal and give the following a try one line at a time:

Code: Select all

sudo -i
/sbin/cryptsetup luksOpen /dev/sda5 sda5_crypt
/sbin/e2fsck -fvC0y /dev/mapper/mint--vg-root
/sbin/lvchange -an /dev/mapper/mint--vg
/sbin/cryptsetup luksClose sda5_crypt
reboot
Hopefully e2fsck can repair the filesystem and you will start normally if it succeeded.
Locked

Return to “Beginner Questions”