I just ran into this issue with Bento Box's 64-bit image for 16.04. We were trying to boot into recovery mode in order to run `zerofree` prior to packaging up a custom box for internal use (per steps from https://snippets.khromov.se/shrinking-a-virtualbox-linux-image-with- zerofree/).
I can confirm this is a systemd-specific issue. We booted normally, followed instructions under "Permanent switch back to upstart" in https://wiki.ubuntu.com/SystemdForUpstartUsers, and rebooted, which successfully removed systemd. We then booted into Recovery Mode and had no interruptions or strange boot behavior (though there was an error about not being able to start "User Service" on the boot after installing Upstart). Prior to removing systemd, the behavior @b-candler described is exactly what we were seeing -- after about 1 to 2 mins, it seems like systemd gets impatient and starts booting the system normally, bringing up networking, etc, AND THEN starts the recovery menu and recovery shell on top of an existing session. After another few minutes, you actually get a third one on top of that. If you can actually brave the storm and get to a prompt, running `init 1` will cause a system hang. Looks like Ubuntu is not alone here: - https://www.reddit.com/r/linuxquestions/comments/5dug3e/linux_mint_recovery_mode_crashingtiming_out/ - https://forums.linuxmint.com/viewtopic.php?t=232329 -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1609475 Title: Recovery mode won't allow recovery after manually installing the OS incorrectly Status in linux package in Ubuntu: Opinion Bug description: If one manually installs Ubuntu but doesn't install a boot partition, the recovery mode doesn't work. The expectation (perhaps naively) is that the recovery mode is bootable and allows one to fix the situation. --- AlsaVersion: Advanced Linux Sound Architecture Driver Version k4.4.0-31-generic. AplayDevices: Error: [Errno 2] No such file or directory ApportVersion: 2.20.1-0ubuntu2.1 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/hwC0D2', '/dev/snd/hwC0D0', '/dev/snd/pcmC0D3p', '/dev/snd/pcmC0D1p', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', '/dev/snd/controlC0', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: Card0.Amixer.info: Error: [Errno 2] No such file or directory Card0.Amixer.values: Error: [Errno 2] No such file or directory DistroRelease: Ubuntu 16.04 HibernationDevice: RESUME=UUID=8c695f64-12a0-4748-a431-7ab97a1e9042 InstallationDate: Installed on 2016-08-04 (33 days ago) InstallationMedia: Ubuntu-Server 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719) IwConfig: Error: [Errno 2] No such file or directory Lsusb: Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 8087:0a2a Intel Corp. Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub NonfreeKernelModules: zfs zunicode zcommon znvpair zavl Package: linux (not installed) ProcEnviron: LANGUAGE=en_GB:en TERM=xterm-256color PATH=(custom, no user) LANG=en_GB.UTF-8 SHELL=/bin/bash ProcFB: 0 inteldrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-31-generic.efi.signed root=UUID=a91f753b-69af-4125-a03d-0dcb63d55d38 ro net.ifnames=0 ProcVersionSignature: Ubuntu 4.4.0-31.50-generic 4.4.13 RelatedPackageVersions: linux-restricted-modules-4.4.0-31-generic N/A linux-backports-modules-4.4.0-31-generic N/A linux-firmware 1.157.2 RfKill: Error: [Errno 2] No such file or directory Tags: xenial Uname: Linux 4.4.0-31-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: _MarkForUpload: True dmi.bios.date: 05/03/2016 dmi.bios.vendor: Intel Corp. dmi.bios.version: PYBSWCEL.86A.0054.2016.0503.1546 dmi.board.name: NUC5CPYB dmi.board.vendor: Intel Corporation dmi.board.version: H61145-407 dmi.chassis.type: 3 dmi.modalias: dmi:bvnIntelCorp.:bvrPYBSWCEL.86A.0054.2016.0503.1546:bd05/03/2016:svn:pn:pvr:rvnIntelCorporation:rnNUC5CPYB:rvrH61145-407:cvn:ct3:cvr: To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1609475/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp

