在 VirtualBox 中运行的 Ubuntu 无法启动

在 VirtualBox 中运行的 Ubuntu 无法启动

我一直在使用 VirtualBox 来托管 Ubuntu VM 以使用 Python。启动时,我设置了 16 GB 的大小限制,但用完了,所以我尝试增加它。我不小心创建了另一个虚拟硬盘来替换第一个,但我把它恢复了。但是,当我尝试启动时,我得到了这个:

[ 0.958792] [drm:vmw_host_log [vmwgfx]] *ERROR* failed to send log

[ 0.959515] [drm:vmw_host_log [vmwgfx]] *ERROR* failed to send log
/dev/sda5: clean, 190008/458752 files, 1783535/1834240 blocks
[ok] started disk manager
[ok] started network manager wait online
[ok] reached target network is online
Starting tool to automatically collect and submit kernal crash signatures
[ok] started crash report submission daemon
[ok] Created slice user slice of ryan
[ok] Started session 1 of user ryan
Starting user manager for UID 1000...
[ok] started tool to automatically collect and submit kernal crash signatures
[ok] started snappy daemon
Starting wait until snapd is fully seeded
[ok] Started wait until snapd is fully seeded
[ok] started user manager for uid 1000
[ok] Created slice of user clice of gdm
Starting user manager for uid 121
[ok] Started session c1 of user gdm
[ok] Started user manager for uid 121
Stopping user manager for uid 121
[ok] Stopped user manager for UID 1000
[ok] Removed slice user slice of ryan
[ok] stopped user manager for UID 121
[ok] removed slice user of slice gdm
[ok] Created slice user of slice gdm
Starting user manager for uid 121
[ok] Started session c2 of user gdm
[FAILED] Failed to start MySQL Community Server
see 'systemctl status mysql.service' for details
[ok] Started user manager for UID 12

答案1

我遇到了完全相同的问题。我终于在这里找到了答案:

我遇到了同样的事情,原因是磁盘上没有剩余空间。

如果这也可能是您的问题,请尝试以下操作:

在启动卡住期间,按Alt+F3进入第二个终端,然后登录。现在您应该在您的主文件夹中。由于空间不足,某些功能可能无法使用。现在尝试通过rm命令删除一些大文件。您可以使用命令检查磁盘使用情况的当前状态df -h。当您的磁盘上有足够的空间时,只需输入reboot,系统应该就可以正常启动。

Ubuntu 18.04 在华硕 1015PX 上启动时挂起,并显示消息“已启动 uid 120 的用户管理器” (在 Ask Ubuntu 上)。

对我来说很管用!我只需要等待命令行停止闪烁即可输入我的登录名和密码(也许您会明白我的意思)。

相关内容