我已经从 xubuntu 14.04 64 位升级到 xubuntu 16.04 位,现在系统无法正常启动。我必须进入恢复模式并选择清理或修复,但图形功能有限,没有外接显示器。
这是一台笔记本电脑 ACER - Aspire E5-571 Intel Core i5-5200U 4Gb ram - Intel Corporation HD Graphics 5500(rev 09)。
有带 Windows 的 efi 双启动。
我已尝试以下命令。
sudo dpkg configure
sudo apt install f
sudo apt install systemd
但这并没有改变任何事情。
我在下面发布了日志启动的摘录,其中应显示恢复前后的部分
systemd[1]: Started Getty on tty1.
systemd[1]: Reached target Login Prompts.
systemd[1]: Starting Set console scheme...
systemd[1]: Started Set console scheme.
systemd[1]: Started LSB: disk temperature monitoring daemon.
gnome-keyring-daemon[1954]: couldn't access
control socket: /run/user/1000/keyring/control: File o directory non esistente
NetworkManager[1341]: <info> [1474728198.2489] WiFi hardware radio set disabled
NetworkManager[1341]: <info> [1474728198.2489] WWAN hardware radio set disabled
systemd[1]: teamviewerd.service: PID file
/var/run/teamviewerd.pid not readable (yet?) after start: No such file or directory
systemd[1]: Started TeamViewer remote control daemon.
systemd[1]: Started Recovery mode menu.
systemd[1574]: Time has been changed
ntpdate[1737]: step time server 91.189.89.198 offset 2.048170 sec
systemd[1]: Time has been changed
systemd[1]: snapd.refresh.timer: Adding 5h
17min 5.685294s random time.
systemd[1]: snapd.refresh.timer: Adding 3h 7min
31.108270s random time.
systemd[1]: apt-daily.timer: Adding 3h 2min
49.775354s random time.
gnome-keyring-daemon[1954]: The SSH agent was
already initialized
gnome-keyring-daemon[1954]: The Secret Service
was already initialized
gnome-keyring-daemon[1954]: The PKCS#11
component was already initialized
org.a11y.Bus[1919]: ** (process:2076): WARNING
**: Failed to register client:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.gnome.SessionManager was not provided by any .service files
org.a11y.Bus[1919]: Activating service
name='org.a11y.atspi.Registry'
org.a11y.Bus[1919]: Successfully activated
service 'org.a11y.atspi.Registry'
org.a11y.atspi.Registry[2081]: SpiRegistry
daemon is running with well-known name - org.a11y.atspi.Registry
systemd[1]: Started LSB: start Samba daemons
for the AD DC.
nmbd[1882]: * Starting NetBIOS name server nmbd
nmbd[1882]: ...done.
systemd[1]: Started LSB: start Samba NetBIOS
nameserver (nmbd).
systemd[1]: Starting LSB: start Samba SMB/CIFS
daemon (smbd)...
smbd[2092]: * Starting SMB/CIFS daemon smbd
smbd[2092]: ...done.
systemd[1]: Started LSB: start Samba SMB/CIFS
daemon (smbd).
systemd[1]: Reached target Multi-User System.
systemd[1]: Starting Notify bootloader that
boot was successful...
systemd[1]: Reached target Graphical
Interface.= vuol dier login screen
谢谢!
答案1
实际上,我发现使用内核 3.19.0-xx-generic upstart 一切都很好(除了注销速度非常慢)。在启动时,您应该会在 1 到 2 秒钟内看到一个屏幕,其中显示您可以使用的内核列表,要停止它,只需按下例如向下按钮即可。如果您没有内核列表,我认为有一个键(可能是 F5)或组合键。
如果我理解正确的话,解释是现在有 2 种启动技术,旧的“upstart”,新的“systemd”,3.19(4.4...)之后的内核仅使用 systemd,3.19 及之前的内核让您选择。在从 14.04 升级到 16.04 的程序中出现错误,您只能使用 3.19... upstart 启动。如果您绝对需要/想要使用最新的内核,目前,我发现解决方案只有重新安装 : (
答案2
您无需更改内核版本即可返回 upstart。您可以始终使用 upstart,如Ubuntu 维基百科:
安装 upstart-sysv 包:
sudo apt install upstart-sysv
跑步
sudo update-initramfs -u
然后,您将默认使用 upstart 启动,并获得一个高级启动选项,以使用您想要的 systemd i 进行启动。