Ubuntu 启动时间太长

Ubuntu 启动时间太长

所以,我有一台戴尔笔记本电脑。Core i5 第 4 代和 8GB RAM。我最近在 Ubuntu 和 Windows 10 旁边安装了 Kali,然后当我再次从 Ubuntu(15.10 带 Gnome)启动时,花了很长时间才显示登录界面,相比之下,在我安装 Kali 之前,最多需要 20-30 分钟(在使用 GRUB 之前,速度还不错,只是那个小 Gnome 圆圈滚动需要很长时间)。作为一个愚蠢的新手,我删除了 kali,以为它会变得更好,因为我认为分区顺序是问题所在(它就像 sda1、sda2、sda3、sda4、sda5、sda8、sda6、sda7),但它没有用。我查了一下,但什么也没找到。请帮忙。

编辑:boot.log 给了我这个:

[K[    [31m*[1;31m*[0m] A start job is running for dev-disk-by\x2duuid-e39e44ff\x2dbf9e\x2d4c0e\x2dbc35\x2dba255ac475e6.device (1min 29s / 1min 30s)
[K[     [31m*[0m] A start job is running for dev-disk-by\x2duuid-e39e44ff\x2dbf9e\x2d4c0e\x2dbc35\x2dba255ac475e6.device (1min 30s / 1min 30s)
[K[[1;31m TIME [0m] Timed out waiting for device dev-disk-by\x2duuid-e39e44ff\x2dbf9e\x2d4c0e\x2dbc35\x2dba255ac475e6.device.
[[1;33mDEPEND[0m] Dependency failed for /dev/disk/by-uuid/e39e44ff-bf9e-4c0e-bc35-ba255ac475e6.
[[1;33mDEPEND[0m] Dependency failed for Swap.

事实上,有很多“A 开始工作...”。大概有五十个。

我的 fstab 如下所示:

# /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/sda5 during installation
UUID=3504ff47-dec1-407c-ad0a-a82b74007d24 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
#UUID=7ADE-45D6  /boot/efi       vfat    umask=0077      0       1
# /home was on /dev/sda7 during installation
UUID=ab6e808f-2570-44d6-9552-5b90a55723a5 /home           ext4    defaults        0       2
# swap was on /dev/sda6 during installation
UUID=e39e44ff-bf9e-4c0e-bc35-ba255ac475e6 none            swap    sw              0       0
UUID=7ADE-45D6  /boot/efi   vfat    defaults    0   1

答案1

解决了!问题是 fstab 上的 swap 的 UUID 与使用显示的实际 UUID 不同:sudo blkid.我只需要替换它,然后启动就像子弹一样再次启动。:D

相关内容