Results 1 to 5 of 5

Thread: Stuck at "A start job is runnig for dev-disk-by...Partition_ID" after Changing Disk Type -> Leap 42.

  1. #1

    Question Stuck at "A start job is runnig for dev-disk-by...Partition_ID" after Changing Disk Type -> Leap 42.

    Hey Guys,


    I´m lost here, i would really appreciate some help.

    I exported a vm from esxi where it originaly had a paravirtual disk, since Vmware Workstation doesnt support Paravirtual Disks, i changed it to Scsi, but it is stuck at "A start job is runnig for dev-disk-by...Partition_ID" while booting.
    Some INFO:
    VM OS: OpenSUSE Leap
    Disk Before Exporting: Paravirtual SCSI
    Disk After : SCSI

    BLKID:

    /dev/sr0: UUID="2017-03-02-16-15-29-00" LABEL="CDROM" TYPE="udf" PTUUID="ac5dc40b" PTTYPE="dos"
    /dev/loop0: TYPE="squashfs"
    /dev/ram1: UUID="0dcb232b-6f1b-4145-8155-fac7e2527987" TYPE="ext3"
    /dev/sda1: UUID="e331fe6a-b70c-473c-a3b9-9363c9a9ab01" TYPE="swap" PARTUUID="0004cb41-01"
    /dev/sda2: UUID="f25f4e67-396b-41b7-b657-989f9800124c" UUID_SUB="82bf417c-59a0-4de6-8c4f-0d85beead189" TYPE="btrfs" PTTYPE="dos" PARTUUID="0004cb41-02"
    /dev/sda3: UUID="22484b9d-058e-4845-abc0-9d49c9380831" TYPE="xfs" PARTUUID="0004cb41-03"

    FSTAB:

    UUID=e331fe6a-b70c-473c-a3b9-9363c9a9ab01 swap swap defaults 0 0
    UUID=f25f4e67-396b-41b7-b657-989f9800124c / btrfs defaults 0 0
    UUID=f25f4e67-396b-41b7-b657-989f9800124c /boot/grub2/i386-pc btrfs subvol=@/boot/grub2/i386-pc 0 0
    UUID=f25f4e67-396b-41b7-b657-989f9800124c /boot/grub2/x86_64-efi btrfs subvol=@/boot/grub2/x86_64-efi 0 0
    UUID=f25f4e67-396b-41b7-b657-989f9800124c /opt btrfs subvol=@/opt 0 0
    UUID=f25f4e67-396b-41b7-b657-989f9800124c /srv btrfs subvol=@/srv 0 0
    UUID=f25f4e67-396b-41b7-b657-989f9800124c /tmp btrfs subvol=@/tmp 0 0
    UUID=f25f4e67-396b-41b7-b657-989f9800124c /usr/local btrfs subvol=@/usr/local 0 0
    UUID=f25f4e67-396b-41b7-b657-989f9800124c /var/cache btrfs subvol=@/var/cache 0 0
    UUID=f25f4e67-396b-41b7-b657-989f9800124c /var/crash btrfs subvol=@/var/crash 0 0
    UUID=f25f4e67-396b-41b7-b657-989f9800124c /var/lib/libvirt/images btrfs subvol=@/var/lib/libvirt/images 0 0
    UUID=f25f4e67-396b-41b7-b657-989f9800124c /var/lib/machines btrfs subvol=@/var/lib/machines 0 0
    UUID=f25f4e67-396b-41b7-b657-989f9800124c /var/lib/mailman btrfs subvol=@/var/lib/mailman 0 0
    UUID=f25f4e67-396b-41b7-b657-989f9800124c /var/lib/mariadb btrfs subvol=@/var/lib/mariadb 0 0
    UUID=f25f4e67-396b-41b7-b657-989f9800124c /var/lib/mysql btrfs subvol=@/var/lib/mysql 0 0
    UUID=f25f4e67-396b-41b7-b657-989f9800124c /var/lib/named btrfs subvol=@/var/lib/named 0 0
    UUID=f25f4e67-396b-41b7-b657-989f9800124c /var/lib/pgsql btrfs subvol=@/var/lib/pgsql 0 0
    UUID=f25f4e67-396b-41b7-b657-989f9800124c /var/log btrfs subvol=@/var/log 0 0
    UUID=f25f4e67-396b-41b7-b657-989f9800124c /var/opt btrfs subvol=@/var/opt 0 0
    UUID=f25f4e67-396b-41b7-b657-989f9800124c /var/spool btrfs subvol=@/var/spool 0 0
    UUID=f25f4e67-396b-41b7-b657-989f9800124c /var/tmp btrfs subvol=@/var/tmp 0 0
    UUID=f25f4e67-396b-41b7-b657-989f9800124c /.snapshots btrfs subvol=@/.snapshots 0 0
    UUID=22484b9d-058e-4845-abc0-9d49c9380831 /home xfs defaults 1 2


    GRUB.CFG

    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by grub2-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    #

    ### BEGIN /etc/grub.d/00_header ###
    set btrfs_relative_path="y"
    export btrfs_relative_path
    if [ -f ${config_directory}/grubenv ]; then
    load_env -f ${config_directory}/grubenv
    elif [ -s $prefix/grubenv ]; then
    load_env
    fi

    if [ "${env_block}" ] ; then
    load_env -f "${env_block}"
    fi

    if [ "${next_entry}" ] ; then
    set default="${next_entry}"
    set next_entry=
    save_env next_entry
    if [ "${env_block}" ] ; then
    save_env -f "${env_block}" next_entry
    fi
    set boot_once=true
    else
    set default="${saved_entry}"
    fi

    if [ x"${feature_menuentry_id}" = xy ]; then
    menuentry_id_option="--id"
    else
    menuentry_id_option=""
    fi

    export menuentry_id_option

    if [ "${prev_saved_entry}" ]; then
    set saved_entry="${prev_saved_entry}"
    save_env saved_entry
    set prev_saved_entry=
    save_env prev_saved_entry
    set boot_once=true
    fi

    function savedefault {
    if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
    if [ "${env_block}" ] ; then
    save_env -f "${env_block}" saved_entry
    fi

    fi
    }

    function load_video {
    if [ x$feature_all_video_module = xy ]; then
    insmod all_video
    else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
    fi
    }

    if [ x$feature_default_font_path = xy ] ; then
    font=unicode
    else
    insmod part_msdos
    insmod btrfs
    set root='hd0,msdos2'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd0,msdos2' f25f4e67-396b-41b7-b657-989f9800124c
    else
    search --no-floppy --fs-uuid --set=root f25f4e67-396b-41b7-b657-989f9800124c
    fi
    font="/usr/share/grub2/unicode.pf2"
    fi

    if loadfont $font ; then
    set gfxmode=auto
    load_video
    insmod gfxterm
    set locale_dir=$prefix/locale
    set lang=POSIX
    insmod gettext
    fi
    terminal_output gfxterm
    insmod part_msdos
    insmod btrfs
    set root='hd0,msdos2'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd0,msdos2' f25f4e67-396b-41b7-b657-989f9800124c
    else
    search --no-floppy --fs-uuid --set=root f25f4e67-396b-41b7-b657-989f9800124c
    fi
    insmod gfxmenu
    loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans-Bold14.pf2
    loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans10.pf2
    loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans12.pf2
    loadfont ($root)/boot/grub2/themes/openSUSE/ascii.pf2
    insmod png
    set theme=($root)/boot/grub2/themes/openSUSE/theme.txt
    export theme
    if [ x${boot_once} = xtrue ]; then
    set timeout=0
    elif [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=8
    # Fallback normal timeout code in case the timeout_style feature is
    # unavailable.
    else
    set timeout=8
    fi
    if [ -n "$extra_cmdline" ]; then
    submenu "Bootable snapshot #$snapshot_num" {
    menuentry "If OK, run 'snapper rollback' and reboot." { true; }
    }
    fi
    ### END /etc/grub.d/00_header ###

    ### BEGIN /etc/grub.d/10_linux ###
    menuentry 'openSUSE Leap 42.3' --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-f25f4e67-396b-41b7-b657-989f9800124c' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod btrfs
    set root='hd0,msdos2'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd0,msdos2' f25f4e67-396b-41b7-b657-989f9800124c
    else
    search --no-floppy --fs-uuid --set=root f25f4e67-396b-41b7-b657-989f9800124c
    fi
    echo 'Loading Linux 4.4.90-28-default ...'
    linux /boot/vmlinuz-4.4.90-28-default root=UUID=f25f4e67-396b-41b7-b657-989f9800124c ${extra_cmdline} splash=silent quiet showopts
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd-4.4.90-28-default
    }
    submenu 'Advanced options for openSUSE Leap 42.3' --hotkey=1 $menuentry_id_option 'gnulinux-advanced-f25f4e67-396b-41b7-b657-989f9800124c' {
    menuentry 'openSUSE Leap 42.3, with Linux 4.4.90-28-default' --hotkey=2 --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.90-28-default-advanced-f25f4e67-396b-41b7-b657-989f9800124c' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod btrfs
    set root='hd0,msdos2'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd0,msdos2' f25f4e67-396b-41b7-b657-989f9800124c
    else
    search --no-floppy --fs-uuid --set=root f25f4e67-396b-41b7-b657-989f9800124c
    fi
    echo 'Loading Linux 4.4.90-28-default ...'
    linux /boot/vmlinuz-4.4.90-28-default root=UUID=f25f4e67-396b-41b7-b657-989f9800124c ${extra_cmdline} splash=silent quiet showopts
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd-4.4.90-28-default
    }
    menuentry 'openSUSE Leap 42.3, with Linux 4.4.90-28-default (recovery mode)' --hotkey=3 --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.90-28-default-recovery-f25f4e67-396b-41b7-b657-989f9800124c' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod btrfs
    set root='hd0,msdos2'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd0,msdos2' f25f4e67-396b-41b7-b657-989f9800124c
    else
    search --no-floppy --fs-uuid --set=root f25f4e67-396b-41b7-b657-989f9800124c
    fi
    echo 'Loading Linux 4.4.90-28-default ...'
    linux /boot/vmlinuz-4.4.90-28-default root=UUID=f25f4e67-396b-41b7-b657-989f9800124c ${extra_cmdline}
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd-4.4.90-28-default
    }
    menuentry 'openSUSE Leap 42.3, with Linux 4.4.87-25-default' --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.87-25-default-advanced-f25f4e67-396b-41b7-b657-989f9800124c' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod btrfs
    set root='hd0,msdos2'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd0,msdos2' f25f4e67-396b-41b7-b657-989f9800124c
    else
    search --no-floppy --fs-uuid --set=root f25f4e67-396b-41b7-b657-989f9800124c
    fi
    echo 'Loading Linux 4.4.87-25-default ...'
    linux /boot/vmlinuz-4.4.87-25-default root=UUID=f25f4e67-396b-41b7-b657-989f9800124c ${extra_cmdline} splash=silent quiet showopts
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd-4.4.87-25-default
    }
    menuentry 'openSUSE Leap 42.3, with Linux 4.4.87-25-default (recovery mode)' --hotkey=1 --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.87-25-default-recovery-f25f4e67-396b-41b7-b657-989f9800124c' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod btrfs
    set root='hd0,msdos2'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd0,msdos2' f25f4e67-396b-41b7-b657-989f9800124c
    else
    search --no-floppy --fs-uuid --set=root f25f4e67-396b-41b7-b657-989f9800124c
    fi
    echo 'Loading Linux 4.4.87-25-default ...'
    linux /boot/vmlinuz-4.4.87-25-default root=UUID=f25f4e67-396b-41b7-b657-989f9800124c ${extra_cmdline}
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd-4.4.87-25-default
    }
    }

    ### END /etc/grub.d/10_linux ###

    ### BEGIN /etc/grub.d/20_linux_xen ###

    ### END /etc/grub.d/20_linux_xen ###

    ### BEGIN /etc/grub.d/20_memtest86+ ###
    ### END /etc/grub.d/20_memtest86+ ###

    ### BEGIN /etc/grub.d/30_os-prober ###
    ### END /etc/grub.d/30_os-prober ###

    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries. Simply type the
    # menu entries you want to add after this comment. Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/grub.d/40_custom ###

    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f ${config_directory}/custom.cfg ]; then
    source ${config_directory}/custom.cfg
    elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
    source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###

    ### BEGIN /etc/grub.d/80_suse_btrfs_snapshot ###
    if [ -f "/.snapshots/grub-snapshot.cfg" ]; then
    source "/.snapshots/grub-snapshot.cfg"
    fi
    ### END /etc/grub.d/80_suse_btrfs_snapshot ###

    ### BEGIN /etc/grub.d/90_persistent ###
    ### END /etc/grub.d/90_persistent ###

    ### BEGIN /etc/grub.d/95_textmode ###
    ### END /etc/grub.d/95_textmode ###

    So, i might be wrong but i think that:

    UUID for the DISK: Check
    FSTAB: Check
    GRUB: Check
    why is it stuck at "A start job is runnig for dev-disk-by...Partition_ID", even if everything is correct from the OS point of VIEW.
    I Suspect that i must change something else to make it work...but what?


    Thank you all in advance

  2. #2
    Join Date
    Sep 2012
    Posts
    7,096

    Default Re: Stuck at "A start job is runnig for dev-disk-by...Partition_ID" after Changing Disk Type -> Leap

    Quote Originally Posted by brdarkmoon View Post
    why is it stuck at "A start job is runnig for dev-disk-by...Partition_ID", even if everything is correct from the OS point of VIEW.
    Rebuild initrd, check for resume= kernel parameter. Otherwise we have no idea what it is waiting for so it is rather impossible to make even uneducated guess.

  3. #3

    Default Re: Stuck at "A start job is runnig for dev-disk-by...Partition_ID" after Changing Disk Type -> Leap

    Quote Originally Posted by arvidjaar View Post
    Rebuild initrd, check for resume= kernel parameter. Otherwise we have no idea what it is waiting for so it is rather impossible to make even uneducated guess.
    Thank you my friend, you pointed me in the right direction, to help others that could be in the same situation, my exact steps where:
    1 - boot from a live DVD, CD, USB(I believe that any distro would do)
    2 - open terminal
    3 - locate your disks and partitions:
    fdisk -l (use sudo if your not logged in as root)
    Not sure if the next steps would apply to you, but in my case they were needed.
    4 - Execute the following commands
    mount /dev/sda2 /mnt/
    mount --bind /dev/ /mnt/dev/
    mount --bind /proc/ /mnt/proc/
    mount --bind /sys/ /mnt/sys/
    chroot /mnt
    5 - edit boot/grub2/grub.cfg (no / in front of boot otherwise you might end up at the live dvd´s boot directory)
    6 - put the resume parameter back to the correct swap partition(in my case it was pointing to a third partition)
    7 -mkinitrd
    8 - reboot

  4. #4
    Join Date
    Jun 2008
    Location
    Yorkshire
    Posts
    392

    Default Re: Stuck at "A start job is runnig for dev-disk-by...Partition_ID" after Changing Disk Type -> Leap

    Presumably, you would eventually get a prompt to press ctl+alt+del or input root password. Usually it means it's looking for a uuid which is no longer there.
    If you input root password open fstab to edit, comment out the offending line and reboot, that's a bit shorter than what you did. When you get back into the system you can correct fstab.
    Pete

  5. #5

    Default Re: Stuck at "A start job is runnig for dev-disk-by...Partition_ID" after Changing Disk Type -> Leap

    Quote Originally Posted by peteh100 View Post
    Presumably, you would eventually get a prompt to press ctl+alt+del or input root password. Usually it means it's looking for a uuid which is no longer there.
    If you input root password open fstab to edit, comment out the offending line and reboot, that's a bit shorter than what you did. When you get back into the system you can correct fstab.
    Hey Pete,

    I tried that...9 hours passed and there were no signs of it giving up or doing something else, besides like i said on my description, all uuids were correct.
    But thank you, because sometimes if we try what you suggested, it will work, unfortunately my problem was something deeper.

    Cheers m8

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •