Announcement

Collapse
No announcement yet.

Kubuntu 16.10 does not boot after upgrade, because systemd cannot mount partitions

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Kubuntu 16.10 does not boot after upgrade, because systemd cannot mount partitions

    Hi

    I performed upgrade from Kubuntu 16.04 to 16.10 and it cannot boot now, I can get recover console from systemd. systemd complains that it cannot mount swap and local partitions, because of timeout waiting for device.
    Code:
    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 for 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.
    -- 
    -- The result is timeout.
    lis 10 13:16:06 marcin-HP-ProBook-6570b systemd[1]: Dependency failed for /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.
    -- 
    -- The result is dependency.
    lis 10 13:16:06 marcin-HP-ProBook-6570b 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.
    lis 10 13:16:06 marcin-HP-ProBook-6570b systemd[1]: Dependency failed for Clean up any mess left by 0dns-up.
    -- Subject: Unit dns-clean.service has failed
    -- Defined-By: systemd
    -- Support: http://www.ubuntu.com/support
    -- 
    -- Unit dns-clean.service has failed.
    -- 
    -- The result is dependency.
    lis 10 13:16:06 marcin-HP-ProBook-6570b systemd[1]: dns-clean.service: Job dns-clean.service/start failed with result 'dependency'.
    lis 10 13:16:06 marcin-HP-ProBook-6570b systemd[1]: local-fs.target: Job local-fs.target/start failed with 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 with result 'dependency'.
    lis 10 13:16:06 marcin-HP-ProBook-6570b systemd[1]: Dependency failed for 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.
    -- 
    -- The result is dependency.
    There are some more similar errors.

    I've checked that uuids of partitions in /etc/fstab are correct. It also looks like kernel has all configuration options required by systemd. What is wrong then?

    Some information on my system follows.
    /etc/fstab
    Code:
    # /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/sda8 during installation
    UUID=65f0c8b8-f351-4ad8-aab7-da5093864282 /               ext4    errors=remount-ro 0       1
    # /sda6 was on /dev/sda6 during installation
    UUID=b189aa58-3e5f-40fb-a0ab-fbf502975afd /sda6           ext4    defaults        0       2
    # /sda7 was 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 was on /dev/sda5 during installation
    UUID=2ecf9719-2fbd-4e40-bd3f-8832e07c4940 none            swap    sw              0       0
    blkid
    Code:
    /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
    Code:
    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
    Code:
    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

    #2
    It turns out that I have similar problem to: http://superuser.com/questions/85073...ount-partition

    The workaround for mounting partition later does not work - partition is not mounted, but at least system fully boots up. Unfortunately it turned out that there are more problems with Kubuntu 16.10 - new kernel has recursive exception problems, so at the minute I fall backed to kernel 3.13.0-24 and manual mounting of partition.

    Comment


      #3
      I had the same issue.
      I fixed it by recreating the mount entry with disks tool.

      Before:
      Code:
      UUID=2c32c2fd-f213-4b83-86fa-82947792a85d      /media/data     ext4    defaults        0       2
      After:
      Code:
      /dev/disk/by-uuid/2c32c2fd-f213-4b83-86fa-82947792a85d /media/data auto nosuid,nodev,nofail,x-gvfs-show 0 0
      May be the UUID= syntax has an issue or may be it is the "pass" value (2 -> 0).
      Very strange.

      Comment


        #4
        Only the root partition should have the "pass" value set to 0. Other mountable (non-swap) partitions should have their "pass" value left as they were set at.
        Windows no longer obstructs my view.
        Using Kubuntu Linux since March 23, 2007.
        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

        Comment

        Working...
        X