I have a laptop Dell Precision 3510 and my Kubuntu 17.04 very often gets frozen on startup.
What I have seen from the output of the command journalctl -xb
is, it gets frozen due to timing out on disks.
The first error that I can see there is this:
systemd[1]: dev-sda1.device: Job dev-sda1.device/start timed out.
I tried to play with /etc/fstab
and replaced UUID with /dev/sdXX links but this did not help.
This is output I get:
čen 27 07:47:51 NEHEZ-Precision-3510 systemd[1]: dev-sda1.device: Job dev-sda1.device/start timed out.čen 27 07:47:51 NEHEZ-Precision-3510 systemd[1]: Timed out waiting for device dev-sda1.device.
-- Subject: Unit dev-sda1.device has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit dev-sda1.device has failed.
--
-- The result is timeout.
čen 27 07:47:51 NEHEZ-Precision-3510 systemd[1]: Dependency failed for File System Check on /dev/sda1.
-- Subject: Unit systemd-fsck@dev-sda1.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit systemd-fsck@dev-sda1.service has failed.
--
-- The result is dependency.
čen 27 07:47:51 NEHEZ-Precision-3510 systemd[1]: Dependency failed for /boot/efi.
-- Subject: Unit boot-efi.mount has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit boot-efi.mount has failed.
--
-- The result is dependency.
čen 27 07:47:51 NEHEZ-Precision-3510 systemd[1]: Dependency failed for Local File Systems.
-- Subject: Unit local-fs.target has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit local-fs.target has failed.
--
-- The result is dependency.
čen 27 07:47:51 NEHEZ-Precision-3510 systemd[1]: local-fs.target: Job local-fs.target/start failed with result 'dependency'.
čen 27 07:47:51 NEHEZ-Precision-3510 systemd[1]: local-fs.target: Triggering OnFailure= dependencies.
čen 27 07:47:51 NEHEZ-Precision-3510 systemd[1]: boot-efi.mount: Job boot-efi.mount/start failed with result 'dependency'.
čen 27 07:47:51 NEHEZ-Precision-3510 systemd[1]: systemd-fsck@dev-sda1.service: Job systemd-fsck@dev-sda1.service/start failed with result 'dependency'.
čen 27 07:47:51 NEHEZ-Precision-3510 systemd[1]: dev-sda1.device: Job dev-sda1.device/start failed with result 'timeout'.
čen 27 07:47:51 NEHEZ-Precision-3510 systemd[1]: dev-sda3.device: Job dev-sda3.device/start timed out.
čen 27 07:47:51 NEHEZ-Precision-3510 systemd[1]: Timed out waiting for device dev-sda3.device.
-- Subject: Unit dev-sda3.device has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit dev-sda3.device has failed.
--
-- The result is timeout.
čen 27 07:47:51 NEHEZ-Precision-3510 systemd[1]: Dependency failed for /dev/sda3.
Any idea how to fix it?
Here is my /etc/fstab
file:
# /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/sda2 during installation
# UUID=2f75b38f-6fa8-473a-b893-e03514a17b1f
/dev/sda2 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
# UUID=D926-7D91
/dev/sda1 /boot/efi vfat umask=0077 0 2
# swap was on /dev/sda3 during installation
/dev/sda3 none swap sw 0 0
UPDATE #1 on 29 June 2017 7:11 CEST
I need to mention that this issue does not always occur; but, I would say in 50% of cases the system is started.
UPDATE #2 on 7 July 2017 8:45 CEST
The suggested answer below obviously did not fix the problem.
This morning I restarted my system and it got frozen again.
My /etc/fstab
file now contains the following entries:
UUID=D926-7D91 /boot/efi vfat defaults 0 1
UUID=2f75b38f-6fa8-473a-b893-e03514a17b1f / ext4 errors=remount-ro 0 1
UUID=de138edb-ee13-4c44-9cbd-cc777e56cca7 none swap sw 0 0
Does anybody have an idea what this issue could be?
UPDATE #3 on 11 July 2017 10:40 CEST
Here is a screenshot of the partitions from GParted:
.
UPDATE #4 on 19 July 2017 11:22 CEST
This issue still persists even if I am using kernel 4.12.2.
UPDATE #5 on 15 August 2017 15:07 CEST
I do not know if the following fact has fixed my issue but since the time I am using kernel 4.12.4 (neither 4.12.7 nor Ubuntu's stock one 4.10.0-32) I have not faced the issue anymore.
The other fact that could help (but I do not believe in it much) was that I disabled Kubuntu's boot splash.
I am not able to use a kernel newer than 4.12.4 because then I am facing another issue with VirtualBox 5.1.26 - Windows 10 guest just got stuck and I have to kill V-B process.