添加交换需要 90 秒?

添加交换需要 90 秒?

在我的 Lubuntu 14.04 机器上添加 SWAP 需要 90 秒。我不知道为什么会发生这种情况,这让我的电脑启动非常慢。我该如何解决这个问题?我的 RAM 是 2 GB,硬盘是 250 GB,只有一个分区。

      [    4.352025] floppy0: no floppy controllers found
      [    5.718270] random: nonblocking pool is initialized
    **[   94.134265] Adding 2094076k swap on /dev/sda5.  Priority:-1 extents:1 across:2094076k FS**
      [   96.988453] init: bootchart main process (274) terminated with status 127

固定固定座

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda1 during installation
UUID=ca1e2698-8701-4d53-84f0-e0e7e1c5d4ee /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=12aecaa8-85e8-4bc2-a069-9ba96bbe0b40 none            swap    sw              0       0

Bootchart(来自昨天) https://i.stack.imgur.com/yXnGa.png

Sudo blkid 输出

/dev/sda1: UUID="ca1e2698-8701-4d53-84f0-e0e7e1c5d4ee" TYPE="ext4" 
/dev/sda5: UUID="12aecaa8-85e8-4bc2-a069-9ba96bbe0b40" TYPE="swap"

大家检查一下启动图。启动需要 130 秒。自定义内核?从官方网站下载的 lubuntu。

相关内容