Quantcast
Channel: Ubuntu Forums - Virtualisation
Viewing all articles
Browse latest Browse all 4211

[Ubuntu 18.04] Fresh install on VMware 12 host has timeout during boot

$
0
0
Hi all,

I've recently downloaded Ubuntu 18.04 and tried to install it on VMware 12.5.7 (my CPU is not supported by VMware 14.x) running on a Win10 host.
During the installation, the only thing non-default is that I've chosen LVM (as I've more experience with LVM from work and I like how it works).

After the OS installation completed, the only thing I've done is install open-vm-tools (as recommended by Canonical) and not VMware Tools.

As you see, I haven't done much yet ;) so it should be quite reproducible :)

When I boot my VM there is 34 second timeout happening before "Gave up waiting for suspend/resume device".


After going down the rabbit hole, I managed to get a "set -x" and some echos just before the timeout, with the following result:

This was done by editing:
/usr/share/initramfs-tools/scripts/local-premount/resume
which calls a function local_device_setup() in:
/usr/share/initramfs-tools/scripts/local
followed by running
Code:

update-initramfs -u
It seems like my swap is causing the issue
Code:

root@UbuntuVM:~# blkid
/dev/sda1: UUID="o2JaE4-1g3P-irfJ-9wAK-2fgt-no8P-8OnuRZ" TYPE="LVM2_member" PARTUUID="3063a1a1-01"
/dev/mapper/ubuntu--vg-root: UUID="121d8985-139d-4027-9716-3434e3e592ba" TYPE="ext4"
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
/dev/loop4: TYPE="squashfs"
/dev/loop5: TYPE="squashfs"
/dev/loop6: TYPE="squashfs"
/dev/loop7: TYPE="squashfs"
/dev/mapper/ubuntu--vg-swap_1: UUID="2c893b15-9a8a-491e-8493-4504aa63e602" TYPE="swap"
/dev/loop8: TYPE="squashfs"
/dev/loop9: TYPE="squashfs"
/dev/loop10: TYPE="squashfs"
/dev/loop11: TYPE="squashfs"
/dev/loop12: TYPE="squashfs"
/dev/loop13: TYPE="squashfs"

root@UbuntuVM:~# cat /etc/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>
UUID="121d8985-139d-4027-9716-3434e3e592ba" /              ext4    errors=remount-ro 0      1
UUID="2c893b15-9a8a-491e-8493-4504aa63e602" none            swap    sw              0      0

root@UbuntuVM:~# lsblk
NAME                  MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
loop0                  7:0    0 86,6M  1 loop /snap/core/4486
loop1                  7:1    0 12,2M  1 loop /snap/gnome-characters/69
loop2                  7:2    0  4,9M  1 loop /snap/canonical-livepatch/39
loop3                  7:3    0 45,6M  1 loop /snap/notepad-plus-plus/34
loop4                  7:4    0  1,6M  1 loop /snap/gnome-calculator/154
loop5                  7:5    0  21M  1 loop /snap/gnome-logs/25
loop6                  7:6    0  3,3M  1 loop /snap/gnome-system-monitor/36
loop7                  7:7    0  140M  1 loop /snap/gnome-3-26-1604/59
loop8                  7:8    0  3,7M  1 loop /snap/gnome-system-monitor/39
loop9                  7:9    0  2,3M  1 loop /snap/gnome-calculator/167
loop10                  7:10  0 21,6M  1 loop /snap/gnome-logs/31
loop11                  7:11  0 46,6M  1 loop /snap/notepad-plus-plus/37
loop12                  7:12  0  13M  1 loop /snap/gnome-characters/86
loop13                  7:13  0  140M  1 loop /snap/gnome-3-26-1604/62
sda                    8:0    0  30G  0 disk
└─sda1                  8:1    0  30G  0 part
  ├─ubuntu--vg-root  253:0    0  29G  0 lvm  /
  └─ubuntu--vg-swap_1 253:1    0  976M  0 lvm  [SWAP]
sr0                    11:0    1 1024M  0 rom 

root@UbuntuVM:~# cat /proc/swaps
Filename                Type        Size    Used    Priority
/dev/dm-1                              partition    999420    1036    -2

root@UbuntuVM:~# swapon
NAME      TYPE      SIZE USED PRIO
/dev/dm-1 partition 976M  1M  -2

I already tried inserting UUIDs in /etc/fstab, but this did not help.
Even commenting out the swap in /etc/fstab (as a test) didn't help.

Can someone instruct me what else I can try?

Thanks!

Viewing all articles
Browse latest Browse all 4211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>