boot - Why systemd cannot mount swap and local partitions after Kubuntu upgrade from 16.04 to 16.10 - Ask Ubuntu


i performed upgrade kubuntu 16.04 16.10 , cannot boot now, can recovery console systemd. systemd complains cannot mount swap , local partitions, because of timeout waiting device.

lis 10 13:16:06 marcin-hp-probook-6570b systemd[1]: dev-disk-by\x2duuid-0c4415bd\x2d91c9\x2d4434\x2dbace\x2dbe02ee0a8082.device: job dev-disk-by\x2duuid-0c4415bd\x2d91c9\x2d4434\x2dbace\x2dbe02ee0a8082.device/start timed out. lis 10 13:16:06 marcin-hp-probook-6570b systemd[1]: timed out waiting device dev-disk-by\x2duuid-0c4415bd\x2d91c9\x2d4434\x2dbace\x2dbe02ee0a8082.device. -- subject: unit dev-disk-by\x2duuid-0c4415bd\x2d91c9\x2d4434\x2dbace\x2dbe02ee0a8082.device has failed -- defined-by: systemd -- support: http://www.ubuntu.com/support --  -- unit dev-disk-by\x2duuid-0c4415bd\x2d91c9\x2d4434\x2dbace\x2dbe02ee0a8082.device has failed. --  -- result timeout. lis 10 13:16:06 marcin-hp-probook-6570b systemd[1]: dependency failed /home/marcin/kelvatek. -- subject: unit home-marcin-kelvatek.mount has failed -- defined-by: systemd -- support: http://www.ubuntu.com/support --  -- unit home-marcin-kelvatek.mount has failed. --  -- result dependency. lis 10 13:16:06 marcin-hp-probook-6570b systemd[1]: dependency failed 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. --  -- result dependency. lis 10 13:16:06 marcin-hp-probook-6570b systemd[1]: dependency failed clean mess left 0dns-up. -- subject: unit dns-clean.service has failed -- defined-by: systemd -- support: http://www.ubuntu.com/support --  -- unit dns-clean.service has failed. --  -- result dependency. lis 10 13:16:06 marcin-hp-probook-6570b systemd[1]: dns-clean.service: job dns-clean.service/start failed result 'dependency'. lis 10 13:16:06 marcin-hp-probook-6570b systemd[1]: local-fs.target: job local-fs.target/start failed result 'dependency'. lis 10 13:16:06 marcin-hp-probook-6570b systemd[1]: local-fs.target: triggering onfailure= dependencies. lis 10 13:16:06 marcin-hp-probook-6570b systemd[1]: home-marcin-kelvatek.mount: job home-marcin-kelvatek.mount/start failed result 'dependency'. lis 10 13:16:06 marcin-hp-probook-6570b systemd[1]: dependency failed file system check on /dev/disk/by-uuid/0c4415bd-91c9-4434-bace-be02ee0a8082. -- subject: unit systemd-fsck@dev-disk-by\x2duuid-0c4415bd\x2d91c9\x2d4434\x2dbace\x2dbe02ee0a8082.service has failed -- defined-by: systemd -- support: http://www.ubuntu.com/support --  -- unit systemd-fsck@dev-disk-by\x2duuid-0c4415bd\x2d91c9\x2d4434\x2dbace\x2dbe02ee0a8082.service has failed. --  -- result dependency. 

there more similar errors.

i've checked uuids of partitions in /etc/fstab correct. looks kernel has configuration options required systemd. wrong then?

some information on system follows.

/etc/fstab

# /etc/fstab: static file system information. # # use 'blkid' print universally unique identifier # device; may used uuid= more robust way name devices # works if disks added , removed. see fstab(5). # # <file system> <mount point>   <type>  <options>       <dump>  <pass> # / on /dev/sda8 during installation uuid=65f0c8b8-f351-4ad8-aab7-da5093864282 /               ext4    errors=remount-ro 0       1 # /sda6 on /dev/sda6 during installation uuid=b189aa58-3e5f-40fb-a0ab-fbf502975afd /sda6           ext4    defaults        0       2 # /sda7 on /dev/sda7 during installation #uuid=0c4415bd-91c9-4434-bace-be02ee0a8082 /sda7           ext4    defaults        0       2 uuid=0c4415bd-91c9-4434-bace-be02ee0a8082 /home/marcin/kelvatek           ext4    defaults        0       2 # swap on /dev/sda5 during installation uuid=2ecf9719-2fbd-4e40-bd3f-8832e07c4940 none            swap    sw              0       0 

blkid

/dev/sda1: label="system" uuid="36ba6bb6ba6b7173" type="ntfs" partuuid="9417f9fb-01" /dev/sda2: uuid="c43a48d13a48c1e2" type="ntfs" partuuid="9417f9fb-02" /dev/sda4: label="hp_tools" uuid="aa18-b4e7" type="vfat" partuuid="9417f9fb-04" /dev/sda5: uuid="2ecf9719-2fbd-4e40-bd3f-8832e07c4940" type="swap" partuuid="9417f9fb-05" /dev/sda6: uuid="b189aa58-3e5f-40fb-a0ab-fbf502975afd" type="ext4" partuuid="9417f9fb-06" /dev/sda7: uuid="0c4415bd-91c9-4434-bace-be02ee0a8082" type="ext4" partuuid="9417f9fb-07" /dev/sda8: uuid="65f0c8b8-f351-4ad8-aab7-da5093864282" type="ext4" partuuid="9417f9fb-08" /dev/sdb1: uuid="4c40-5fad" type="vfat" partuuid="91f72d24-01" 

lsblk -f

name   fstype label    uuid                                 mountpoint sdb                                                         └─sdb1 vfat            4c40-5fad                            /media/pen sr0                                                         sda                                                         ├─sda4 vfat   hp_tools aa18-b4e7                             ├─sda2 ntfs            c43a48d13a48c1e2                     ├─sda7 ext4            0c4415bd-91c9-4434-bace-be02ee0a8082 ├─sda5 swap            2ecf9719-2fbd-4e40-bd3f-8832e07c4940 ├─sda3                                                       ├─sda1 ntfs   system   36ba6bb6ba6b7173                     ├─sda8 ext4            65f0c8b8-f351-4ad8-aab7-da5093864282 / └─sda6 ext4            b189aa58-3e5f-40fb-a0ab-fbf502975afd 

udevadm info /dev/sda7

p: /devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda7 n: sda7 s: disk/by-id/ata-hitachi_hts727550a9e364_j3320082gy2ara-part7 s: disk/by-id/wwn-0x5000cca68acd3791-part7 s: disk/by-partuuid/9417f9fb-07 s: disk/by-path/pci-0000:00:1f.2-ata-1-part7 s: disk/by-uuid/0c4415bd-91c9-4434-bace-be02ee0a8082 e: devlinks=/dev/disk/by-path/pci-0000:00:1f.2-ata-1-part7 /dev/disk/by-id/ata-hitachi_hts727550a9e364_j3320082gy2ara-part7 /dev/disk/by-partuuid/9417f9fb-07 /dev/disk/by-uuid/0c4415bd-91c9-4434-bace-be02ee0a8082 /dev/disk/by-id/wwn-0x5000cca68acd3791-part7 e: devname=/dev/sda7 e: devpath=/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda7 e: devtype=partition e: id_ata=1 e: id_ata_download_microcode=1 e: id_ata_feature_set_apm=1 e: id_ata_feature_set_apm_current_value=128 e: id_ata_feature_set_apm_enabled=1 e: id_ata_feature_set_pm=1 e: id_ata_feature_set_pm_enabled=1 e: id_ata_feature_set_security=1 e: id_ata_feature_set_security_enabled=0 e: id_ata_feature_set_security_enhanced_erase_unit_min=124 e: id_ata_feature_set_security_erase_unit_min=122 e: id_ata_feature_set_security_frozen=1 e: id_ata_feature_set_smart=1 e: id_ata_feature_set_smart_enabled=1 e: id_ata_rotation_rate_rpm=7200 e: id_ata_sata=1 e: id_ata_sata_signal_rate_gen1=1 e: id_ata_sata_signal_rate_gen2=1 e: id_ata_write_cache=1 e: id_ata_write_cache_enabled=1 e: id_bus=ata e: id_fs_type=ext4 e: id_fs_usage=filesystem e: id_fs_uuid=0c4415bd-91c9-4434-bace-be02ee0a8082 e: id_fs_uuid_enc=0c4415bd-91c9-4434-bace-be02ee0a8082 e: id_fs_version=1.0 e: id_model=hitachi_hts727550a9e364 e: id_model_enc=hitachi\x20hts727550a9e364\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20 e: id_part_entry_disk=8:0 e: id_part_entry_number=7 e: id_part_entry_offset=525309952 e: id_part_entry_scheme=dos e: id_part_entry_size=437495808 e: id_part_entry_type=0x83 e: id_part_entry_uuid=9417f9fb-07 e: id_part_table_type=dos e: id_part_table_uuid=9417f9fb e: id_path=pci-0000:00:1f.2-ata-1 e: id_path_tag=pci-0000_00_1f_2-ata-1 e: id_revision=jf3oa0e0 e: id_serial=hitachi_hts727550a9e364_j3320082gy2ara e: id_serial_short=j3320082gy2ara e: id_type=disk e: id_wwn=0x5000cca68acd3791 e: id_wwn_with_extension=0x5000cca68acd3791 e: major=8 e: minor=7 e: partn=7 e: subsystem=block e: usec_initialized=6825467 

i had same problem after upgrade ubuntu 16.10.

first possible solution

i found probable solution in systemd issue 3446 iztok jeras installed udev (sudo apt install -y udev).

it didn't fix me permanently. next boot successfull after ran sudo dpkg-reconfigure udev ran again next boot time.

if installing udevdoesn't work either may consider participating in open systemd issue on launchpad.

second possible solution

add selinux=1 enforcing=0 yout kernel parameter. there seem bug in cases helped (it didn't me though)

i have same (unsolved) symptoms , can't fix them on system. seems there many reasons these error messages (crypto-setup seems 1 of them not relevant in case).

the strange thing booting works 1 of ten times in case. might dependency issue in case.


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User