UTM icon indicating copy to clipboard operation
UTM copied to clipboard

Ubuntu 20.04 fails to soft-reboot after install

Open AwlsomeAlex opened this issue 2 years ago • 9 comments

Describe the issue Similar to #3320 and what @ivorscott described. After the Ubuntu 20.04 LTS Desktop install completes, you're prompted to reboot. However, after pressing reboot you're left at a black screen which will remain until the virtual machine is cold powered off/rebooted. This also happens with Ubuntu Server 20.04, but this one is a blank screen with a blinking cursor.

Ubuntu 20.04 will boot fine after a cold boot, and I'm able to reboot from the installed disk. Maybe CD boot related issue?

Configuration

  • UTM Version: 2.4.1
  • OS Version: macOS Monterey 12.0.1
  • Intel or Apple Silicon? Apple Silicon M1 Pro

Crash log UTM did not crash

Debug log Ubuntu 20.04 Desktop debug.log

Ubuntu 20.04 Server debug2.log

Upload VM Ubuntu 20.04 Desktop config.plist.txt

Ubuntu 20.04 Server config.plist.txt

AwlsomeAlex avatar Nov 27 '21 04:11 AwlsomeAlex

I just observed the same issue with Ubuntu 21.10 ARM. The installer goes to a blank screen with blinking cursor after selecting "Reboot now". Have to close and start the VM again to get it to boot.

conath avatar Dec 09 '21 11:12 conath

I just observed the same issue with Ubuntu 21.10 ARM. The installer goes to a blank screen with blinking cursor after selecting "Reboot now". Have to close and start the VM again to get it to boot.

Yeah that's what I'm experiencing with 20.04

AwlsomeAlex avatar Dec 10 '21 17:12 AwlsomeAlex

facing the same issue

imSaharukh avatar Jan 24 '22 16:01 imSaharukh

Same: the curser just stays blinking after "reboot Now". Virtualising 22.04 server.

Configuration

  • UTM Version: 3.0.4
  • OS Version: macOS Monterey 12.2
  • Apple Silicon M1 Air

emailyc avatar Jan 31 '22 22:01 emailyc

I have experienced this as well on all three builds. To me the issue appears to be with the USB drive not being dismounted/ejected on the soft reboot after install. Not sure if that is a bug in the ubiquity/subiquity installer scripts or with UTM. My workaround is to shutdown, edit the VM to eject the install ISO and/or reorder the USB drive after the hard drive.

Note that if you are attempting a LUKS LVM encrypted install, you may also need to redirect the passphrase prompt to the graphics console--see #3555.

tcrgit avatar Feb 05 '22 19:02 tcrgit

I've experienced this on various QEMU emulators, both in UTM and using vanilla QEMU. I suspect it's a QEMU issue, not a UTM issue, but I'm not sure (there could be multiple things at play here).

adespoton avatar Feb 05 '22 22:02 adespoton

Running into the same issue here.

  • UTM 3.1.5
  • ubuntu-20.04.4-live-server-arm64.iso
  • Apple Silicon M1max 64gb

DanielBo avatar Mar 16 '22 21:03 DanielBo

Same here: disabling the boot drive image fixes the issue.

tegola avatar May 12 '22 08:05 tegola

After installation is finished and you have selected Reboot Now:

  1. Shut down the VM
  2. Either
    • Move USB Drive down OR
      drives
    • Delete USB Drive entirely
  3. Start VM

benz0li avatar Sep 20 '22 07:09 benz0li

After installation is finished and you have selected Reboot Now:

  1. Shut down the VM

  2. Either

    • Move USB Drive down OR drives
    • Delete USB Drive entirely
  3. Start VM

This worked for me. Thanks!

lukeabela38 avatar Oct 18 '22 08:10 lukeabela38

After installation is finished and you have selected Reboot Now:

  1. Shut down the VM

  2. Either

    • Move USB Drive down OR

      drives
    • Delete USB Drive entirely

  3. Start VM

This worked!! First time setting up a VM and first time on Linux!!! Thanks

anthony-urbina avatar Jan 14 '23 03:01 anthony-urbina

After installation is finished and you have selected Reboot Now:

1. Shut down the VM

2. Either
   
   * Move USB Drive down OR
     <img alt="drives" width="797" src="https://user-images.githubusercontent.com/20233085/191200654-c8165272-0e8b-4a89-b91a-7e0a8a09fb00.png">
   * Delete USB Drive entirely

3. Start VM

This is the way.. hopefully this gets documented. If it's documented already somewhere, it should likely be more prominent.

JakenHerman avatar Jan 24 '23 03:01 JakenHerman

After installation is finished and you have selected Reboot Now:

  1. Shut down the VM

  2. Either

    • Move USB Drive down OR drives
    • Delete USB Drive entirely
  3. Start VM

This also helped in my case using: ubuntu-22.04.2-live-server-arm64.iso Thanks!

Bartlomiej-Kachniarz avatar Aug 07 '23 13:08 Bartlomiej-Kachniarz