升级到 ubuntu 15.04 后疯狂启动和重启时间(会话 c2 正在运行停止/启动作业)

Bła*_*lik 11 reboot boot 15.04

升级到 15.04 后,我的 ubuntu 加载速度非常慢,比同一台机器上的 Windows 8 慢,这让我感到不快。

我关闭了启动画面,当我启动系统时,我得到了这个:

A start job is running for dev-hdb2.device
Run Code Online (Sandbox Code Playgroud)

它会保持这种状态 1:30 分钟,旁边的时间计数器精确设置为 1:30。

此外,当我重新启动时,我收到此消息:

A stop job is running for Session c2 of user MrMino
Run Code Online (Sandbox Code Playgroud)

同样在这里 - 它保持这种状态 1:30

dmesg 的输出:http : //pastebin.com/yzbFQG05

不幸的是,由于某些我现在不知道的原因,bootchart 无法正常工作,因此我无法从中发布日志。

如何让这个消失?我在戴尔 Inspiron 3537 上运行 ubuntu。

Bła*_*lik 1

我设法通过从 systemd 回滚到 upstart 来解决这个问题。更多信息请点击这里:

https://wiki.ubuntu.com/SystemdForUpstartUsers

Permanent switch back to upstart
Install the upstart-sysv package, which will remove ubuntu-standard 
and systemd-sysv (but should not remove anything else -- if it does, yell!), 
and run sudo update-initramfs -u. After that, grub's "Advanced options" 
menu will have a corresponding "Ubuntu, with Linux ... (systemd)" 
entry where you can do an one-time boot with systemd.

If you want to switch back to systemd, install the systemd-sysv and ubuntu-standard packages.
Run Code Online (Sandbox Code Playgroud)


Die*_*iao 1

我在 Manjaro 中也遇到了同样的问题,搜索后在 Arch Linux 的 reddit 论坛中找到了一篇帖子。

这是适合我的解决方案 https://www.reddit.com/r/archlinux/comments/4bawf7/a_stop_job_is_running_for_session_c2_of_user/d17th3u

你需要对其进行 ubuntullize:

安装看门狗

# pacman -S watchdog

然后在开机时启动该服务:

# systemctl enable watchdog.service

启动服务就不会再看到该消息了

# systemctl start watchdog.service

我为此创建了一个要点https://gist.github.com/dianjuar/98d02af4050dc2df8ae6f18695d44ca3