Page 1 of 1

Cannot open mounted drive

Posted: Wed Aug 21, 2019 7:51 pm
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'.

Re: Cannot open mounted drive

Posted: Thu Aug 22, 2019 5:40 pm
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.