我在 VirtualBox 上运行 Ubuntu GNOME 17.04,镜像来自 osboxes.org
昨晚更新了。今天,它无法启动。它在启动过程中的各个时刻都会挂起,并显示以下消息
A start job is running for Daily apt activities ( 55s / no limit )
[ OK ] Created slice system-getty.slice
Started User Manager for UID 120
Stopping User Manager for UID 120
Stopped User Manager for UID 120
Removed slice User Slice of gdm
最好的处理方法是什么?显然我可以删除虚拟机并创建另一个,但它可能会再次执行相同的操作。
Heynnema 建议从 Live CD 启动并运行fsck
$ sudo fsck /dev/sda
fsck from util-linux 2.27.1
e2fsck 1.42.13 (17-May-2015)
ext2fs_open2: Bad magic number in super-block
fsck.ext2: Superblock invalid, trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/sda
The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem. If the device is valid and it really contains an ext2/ext3/ext4
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
or
e2fsck -b 32768 <device>
编辑2
carl@osboxes:~$ dpkg -l *virtualbox* | grep ii
carl@osboxes:~$
没有返回任何东西,但是......
carl@osboxes:~$ dpkg -l *virtualbox*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
un virtualbox-gue <none> <none> (no description available)
un virtualbox-gue <none> <none> (no description available)