Cannot open mounted drive

All Gurus once were Newbies
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. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
james-r
Level 1
Level 1
Posts: 1
Joined: Wed Aug 21, 2019 7:37 pm

Cannot open mounted drive

Post by james-r » Wed Aug 21, 2019 7:51 pm

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

User avatar
WharfRat
Level 21
Level 21
Posts: 13072
Joined: Thu Apr 07, 2011 8:15 pm

Re: Cannot open mounted drive

Post by WharfRat » Thu Aug 22, 2019 5:40 pm

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.
ImageImage

Post Reply

Return to “Newbie Questions”