在离开 Grub 菜单和 Ubuntu 启动画面之前会出现此消息。
如何解决问题以清除消息?
这是什么意思?
error: Diskfilter writes are not supported
Run Code Online (Sandbox Code Playgroud)
系统启动,似乎工作得很好。
使用本站点上描述的所有解决方案,将 Grub 菜单等待时间设置为零不起作用。
我做了以下事情:
sudo cp /etc/default/grub /etc/default/grub.old
sudo gedit /etc/default/grub
Run Code Online (Sandbox Code Playgroud)
根据说明取消注释此行。
GRUB_HIDDEN_TIMEOUT="0"
Run Code Online (Sandbox Code Playgroud)
根据说明设置此行。
GRUB_TIMEOUT="0"
Run Code Online (Sandbox Code Playgroud)
/etc/default/grub现在看起来像这样:
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT="0"
GRUB_HIDDEN_TIMEOUT="0"
GRUB_HIDDEN_TIMEOUT_QUIET="true"
GRUB_TIMEOUT="0"
GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash profile"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux …
Run Code Online (Sandbox Code Playgroud) 我正在尝试将我的默认 shell 更改为 zsh。我将条目正确放置在 /etc/shells 文件中。
我使用此命令所做的每次尝试都以相同的错误消息结束:
chsh -s $(which zsh)
Password: ### after entering the correct password
chsh: PAM: Authentication failure
sudo chsh -s $(which zsh) ## yields the same result
Run Code Online (Sandbox Code Playgroud)
我已将 sudo 用于其他命令,以确保它不是密码失败,并且所有其他命令都有效,但对“chsh”不起作用。
完全被难住了。
附加信息:
我已经按照 Oli 的建议代码在 /etc/shells 文件中附加了一行。
echo $SHELL
/bin/bash
sudo chsh -s /usr/local/bin/zsh
Password:
chsh: PAM: Authentication failure
chsh -s /usr/local/bin/zsh
You may not change the shell for 'username'
Run Code Online (Sandbox Code Playgroud)
还是不能换壳。