我曾双启动运行过 Ubuntu 和 Fedora,但为了防止我的笔记本电脑(Lenovo Ideapad 330-15ARR)在两个发行版中不断随机冻结,我不得不安装 Windows 10。这表明 Linux 内核中存在视频驱动程序问题。
我可以毫无问题地启动 Fedora。但是,Ubuntu 启动失败(尽管 Ubuntu 引导加载程序及其分区似乎完好无损),并出现以下错误:
Error reading block 17334271 (Invalid argument)
/dev/sda3: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. (i.e., without -a or -p options)
fsck exited with status code 4
The root filesystem on /dev/sda3 requires manual fsck
该分区/dev/sda3
是 Microsoft 系统保留分区 (MSRP),已被 Windows 安装程序格式化为 Ext4(这对我来说确实是一个谜)。
这是(来自 Fedora 的)输出sudo fdisk -l
:
Disk /dev/sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: WDC WD10SPZX-24Z
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: B4736AF6-9343-441C-8149-2A047E71AA32
Device Start End Sectors Size Type
/dev/sda1 2048 209717247 209715200 100G Linux filesystem
/dev/sda2 209717248 314574847 104857600 50G Linux filesystem
/dev/sda3 314574848 314607615 32768 16M Microsoft reserved
/dev/sda4 314607616 523217697 208610082 99.5G Microsoft basic data
/dev/sda5 523218944 524287999 1069056 522M Windows recovery environment
/dev/sda6 782157824 1222559743 440401920 210G Linux filesystem
/dev/sda7 1222559744 1851705343 629145600 300G Linux filesystem
/dev/sda8 1851705344 1935591423 83886080 40G Linux filesystem
/dev/sda9 1935591424 1937688575 2097152 1G EFI System
/dev/sda10 1937688576 1953523711 15835136 7.6G Linux swap
分区现在已按顺序设置,可能是通过 Windows 更新。在一周前安装 Windows 之前,Ubuntu 一切正常。
我担心fsck
使用 Ubuntu live USB 运行该实用程序,因为它会检测错误并尝试修复,这可能会破坏 Windows 安装(顺便说一句,它运行良好)。
我尝试安装有问题的 MSRP 分区但出现此错误:
sudo mount /dev/sda3 /mnt
mount: /mnt: wrong fs type, bad option, bad superblock on /dev/sda3, missing codepage or helper program, or other error
所以,我的问题是:
- 我是否应该尝试重新安装 Ubuntu
/dev/sda1
或者是否fsck
需要清理 MSRP? - 我是不是应该顺其自然,什么也不做?
- 我是否应该安装一些其他 Linux 发行版(可能是 openSUSE),
/dev/sda1
然后在可用空间中再次安装 Ubuntu?
输出gdisk -l /dev/sda
:
GPT fdisk (gdisk) version 1.0.5
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 1953525168 sectors, 931.5 GiB
Model: WDC WD10SPZX-24Z
Sector size (logical/physical): 512/4096 bytes
Disk identifier (GUID): B4736AF6-9343-441C-8149-2A047E71AA32
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 1953525134
Partitions will be aligned on 2048-sector boundaries
Total free space is 257874507 sectors (123.0 GiB)
Number Start (sector) End (sector) Size Code Name
1 2048 209717247 100.0 GiB 8300
2 209717248 314574847 50.0 GiB 8300
3 314574848 314607615 16.0 MiB 0C01 Microsoft reserved ...
4 314607616 523217697 99.5 GiB 0700 Basic data partition
5 523218944 524287999 522.0 MiB 2700
6 782157824 1222559743 210.0 GiB 8300 Linux filesystem
7 1222559744 1851705343 300.0 GiB 8300 Linux filesystem
8 1851705344 1935591423 40.0 GiB 8300 Linux filesystem
9 1935591424 1937688575 1024.0 MiB EF00 EFI System Partition
10 1937688576 1953523711 7.6 GiB 8200 Linux swap