分区调整大小后启动缓慢(编辑 fstab 不起作用)

分区调整大小后启动缓慢(编辑 fstab 不起作用)

我知道这个问题已经被问过很多次了,但我浏览了很多网站,仍然没有找到答案。昨天,我调整了根分区和 /home 分区的大小。因此,我删除了交换分区并重新创建了它。从那时起,我的笔记本电脑需要大约一分钟才能启动,而在此之前,它只需要 8 秒。我已经用交换分区的新 UUID 编辑了 /etc/fstab 文件,但启动仍然很慢。这是我的 fstab 文件:

# /dev/sda1
UUID=f78bb7c0-aaf9-4a17-971e-f8f75502b117   /           ext4        rw,relatime,data=ordered    0 1

# /dev/sda3
UUID=efc3916d-81dc-4d77-b8dd-5f4599955461   /home       ext4        rw,relatime,data=ordered    0 2

# /dev/sda2
UUID=ab80c0ec-4311-4b8b-8b5b-a1b9cbf843a7   none        swap        defaults    0 0

这是我的 blkid -o 列表输出:

device                    fs_type    label       mount point                   UUID
-------------------------------------------------------------------------------------------------------------------
/dev/sda1                 ext4                   /                             f78bb7c0-aaf9-4a17-971e-f8f75502b117
/dev/sda2                 swap                   [SWAP]                        ab80c0ec-4311-4b8b-8b5b-a1b9cbf843a7
/dev/sda3                 ext4                   /home                         efc3916d-81dc-4d77-b8dd-5f4599955461

顺便说一句,我已经检查过我的分区对齐情况,所有分区都正常。有什么想法吗?提前谢谢

更新:systemd-analyze critical-chain 输出

The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.

graphical.target @7.681s
└─multi-user.target @7.681s
  └─vmware.service @6.374s +1.306s
    └─network-online.target @6.372s
      └─NetworkManager-wait-online.service @858ms +5.512s
        └─NetworkManager.service @784ms +70ms
          └─dbus.service @678ms
            └─basic.target @669ms
              get @669ms
                └─avahi-daemon.socket @669ms
                  └─sysinit.target @667ms
                    └─systemd-timesyncd.service @534ms +133ms
                      └─systemd-tmpfiles-setup.service @512ms +19ms
                        └─local-fs.target @509ms
                          └─home.mount @495ms +13ms
                            └─systemd-fsck@dev-disk-by\x2duuid-efc3916d\x2d81dc\x2d4d77\x2db8dd\x2d5f4599955461.service @452ms +42ms
                              └─dev-disk-by\x2duuid-efc3916d\x2d81dc\x2d4d77\x2db8dd\x2d5f4599955461.device @438ms└─sockets.tar

相关内容