Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

Question

Linux Mint With Full Disk Encryption Wont Boot?

Jan 22, 2020 9:52AM PST

I know it's not new. I've been reading tons of forums these days....try this and that. I know very little on how work Linux Mint in the depth.
so I'm looking for help on the similar problem that was posted before.
I backup the disk 2 weeks ago so it's not that critical...if there's no simple way to recover the system as it was. I'll install Mint 19.3...still I'd like to see my stuff as it was.
Thank you
Following a copy of my latest trying:
mint@mint:~$ sudo fdisk -l
Disk /dev/loop0: 1.8 GiB, 1904443392 bytes, 3719616 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xb4ac476c

Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 1499135 1497088 731M 83 Linux
/dev/sda2 1501182 976771071 975269890 465G 5 Extended
/dev/sda5 1501184 976771071 975269888 465G 83 Linux


Disk /dev/mapper/luks-67993b72-156f-4c18-9e39-f704f87b6f73: 465 GiB, 499336085504 bytes, 975265792 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/mint--vg-root: 461.1 GiB, 495150170112 bytes, 967090176 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/mint--vg-swap_1: 3.9 GiB, 4143972352 bytes, 8093696 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
mint@mint:~$ sudo parted -l
Model: ATA Hitachi HTS54505 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number Start End Size Type File system Flags
1 1049kB 768MB 767MB primary ext4 boot
2 769MB 500GB 499GB extended
5 769MB 500GB 499GB logical


Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/mint--vg-root: 495GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:

Number Start End Size File system Flags
1 0.00B 495GB 495GB ext4


Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/mint--vg-swap_1: 4144MB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:

Number Start End Size File system Flags
1 0.00B 4144MB 4144MB linux-swap(v1)


Error: /dev/mapper/luks-67993b72-156f-4c18-9e39-f704f87b6f73: unrecognised disk
label
Model: Linux device-mapper (crypt) (dm)
Disk /dev/mapper/luks-67993b72-156f-4c18-9e39-f704f87b6f73: 499GB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:

Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
has been opened read-only.
Model: HL-DT-ST DVDRAM GT30N (scsi)
Disk /dev/sr0: 1995MB
Sector size (logical/physical): 2048B/2048B
Partition Table: mac
Disk Flags:

Number Start End Size File system Name Flags
1 2048B 6143B 4096B Apple
2 348kB 2871kB 2523kB EFI


mint@mint:~$ sudo blkid
/dev/sda1: UUID="f06b7939-4908-40f0-9b58-8e692d1a17dd" TYPE="ext4" PARTUUID="b4ac476c-01"
/dev/sr0: UUID="2019-12-13-13-25-57-00" LABEL="Linux Mint 19.3 Xfce 64-bit" TYPE="iso9660" PTUUID="0dfab3a5" PTTYPE="dos"
/dev/loop0: TYPE="squashfs"
/dev/sda5: UUID="67993b72-156f-4c18-9e39-f704f87b6f73" TYPE="crypto_LUKS" PARTUUID="b4ac476c-05"
/dev/mapper/luks-67993b72-156f-4c18-9e39-f704f87b6f73: UUID="5Ffshc-eoGz-YJyQ-wM1d-4clO-Kzs3-OjFDn7" TYPE="LVM2_member"
/dev/mapper/mint--vg-root: UUID="b681a346-a76f-4a38-9245-8c58e72a471c" TYPE="ext4"
/dev/mapper/mint--vg-swap_1: UUID="f4431db7-2cb4-4fe8-906f-509284839abe" TYPE="swap"
mint@mint:~$ sudo e2fsck -c -f -v /dev/sdd
e2fsck 1.44.1 (24-Mar-201Cool
e2fsck: No such file or directory while trying to open /dev/sdd
Possibly non-existent device?
mint@mint:~$ sudo e2fsck -c -f -v /dev/sda
e2fsck 1.44.1 (24-Mar-201Cool
/dev/sda is in use.
e2fsck: Cannot continue, aborting.


mint@mint:~$ sudo e2fsck -c -f -v /dev/sda2
e2fsck 1.44.1 (24-Mar-201Cool
e2fsck: Attempt to read block from filesystem resulted in short read while trying to open /dev/sda2
Could this be a zero-length partition?
mint@mint:~$ sudo e2fsck -c -f -v /dev/sda5
e2fsck 1.44.1 (24-Mar-201Cool
/dev/sda5 is in use.
e2fsck: Cannot continue, aborting.


mint@mint:~$ fsck /dev/sda2
fsck from util-linux 2.31.1
e2fsck 1.44.1 (24-Mar-201Cool
fsck.ext2: Permission denied while trying to open /dev/sda2
You must have r/w access to the filesystem or be root
mint@mint:~$ sudo fsck /dev/sda2
fsck from util-linux 2.31.1
e2fsck 1.44.1 (24-Mar-201Cool
fsck.ext2: Attempt to read block from filesystem resulted in short read while trying to open /dev/sda2
Could this be a zero-length partition?
mint@mint:~$ sudo mount /dev/mapper/mint--vg-root /mnt
mint@mint:~$ sudo mount /dev/sda2/ mnt/boot
mount: mnt/boot: mount point does not exist.
mint@mint:~$

Discussion is locked

- Collapse -
Answer
sounds like failed hard drive partition
Jan 22, 2020 10:15AM PST
"Attempt to read block from filesystem resulted in short read while trying to open /dev/sda2"

Best to never use full disk encryption. If something needs encryption, better to use an encrypted file (see Veracrypt) to store the information in, or put in encrypted zip files.
- Collapse -
Answer
All that information.
Jan 22, 2020 10:24AM PST

If backups don't restore then they were not backups. Next time be sure to clone that drive so you can get back to where you were. Also, if the files are not to be lost you copy them to an unencrypted drive then place that in the safe.

PS.I use a sync app for safety.

Post was last edited on January 22, 2020 10:25 AM PST