我按照以下指南安装了 Ubuntuhttps://help.ubuntu.com/community/Full_Disk_Encryption_Howto_2019并且安装工作持续数月非常顺利。
然而,在应用 Windows 10 更新后,Ubuntu 将不再在启动时提示我输入密码,而是打印以下错误消息:
Malformed security header
Failed to read header: Invalid Parameter
Failed to load image: Invalid Parameter
start_image() returned Invalid Parameter, falling back [...]
Malformed security header
Failed to read header: Invalid Parameter
Failed to load image: Invalid Parameter
start_image() returned Invalid Parameter
我有 2 个 SSD,一个用于 Ubuntu,一个用于 Windows,因为我想避免这种情况(一个操作系统搞砸了另一个)。Ubuntu SSD 称为nvme0n1
,它也是我的启动盘,分区如下:
# fdisk -l /dev/nvme0n1
Disk /dev/nvme0n1: 953.87 GiB, 1024209543168 bytes, 2000409264 sectors
Disk model: XPG GAMMIX S50 Lite
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: gpt
Disk identifier: 35BB26D2-DCC3-4781-8C04-10DA391CFC12
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 4196351 4194304 2G Linux reserved
/dev/nvme0n1p2 4196352 8390655 4194304 2G BIOS boot
/dev/nvme0n1p3 8390656 12584959 4194304 2G EFI System
/dev/nvme0n1p5 12584960 2000409230 1987824271 947.9G Linux reserved
nvme0n1p1
( /boot
) 和nvme0n1p5
( )都已ubuntu-vg
加密。我可以使用 打开和挂载这两个加密卷cryptsetup luksOpen
并查看文件,乍一看一切似乎都正常。我也可以挂载nvme0n1p3
并查看文件。nvme0n1p2
但是,当我尝试挂载时,发生了以下情况:
# mount /dev/nvme0n1p2 /media/nvme0n1p2
NTFS signature is missing.
Failed to mount '/dev/nvme0n1p2': Invalid argument
The device '/dev/nvme0n1p2' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
NTFS signature is missing.
Failed to mount '/dev/nvme0n1p2': Invalid argument
The device '/dev/nvme0n1p2' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
使用工具启动修复(https://help.ubuntu.com/community/Boot-Repair)我生成了以下报告:https://pastebin.com/1RueY6yF
谁能告诉我发生了什么事以及如何在不重新安装的情况下解决这个问题?