这与更新后我为“GRUB 安装设备”选择什么几乎完全相同?- 或者可能不是,因此问,因为我通过 Vagrant 在 Virtualbox 机器上运行 Ubuntu。
我无法更新包,所以我跑了sudo apt-get update那么sudo apt-get dist-upgrade。它出现了以下消息:
The GRUB boot loader was previously installed to a disk that is no longer present, or whose unique identifier has changed for some reason. It is ?
? important to make sure that the installed GRUB core image stays in sync with GRUB modules and grub.cfg. Please check again to make sure that GRUB is ?
? written to …Run Code Online (Sandbox Code Playgroud) 我正在使用 Vagrant 运行 Ubuntu 12.04 LTS 机器。
$ sudo ufw enable
Command may disrupt existing ssh connections. Proceed with operation (y|n)?
Run Code Online (Sandbox Code Playgroud)
显然,我不想中断我的 SSH 连接,因为这就是我访问盒子的方式。显然,检查现有规则的命令是sudo ufw status verbose但这返回inactive.
不启用规则就没有办法检查规则吗?它很快就会变得不方便。