小编RCF*_*RCF的帖子

不支持 Diskfilter 写入 > 是什么触发了此错误?

在离开 Grub 菜单和 Ubuntu 启动画面之前会出现此消息。

如何解决问题以清除消息?

这是什么意思?

error:  Diskfilter writes are not supported
Run Code Online (Sandbox Code Playgroud)

系统启动,似乎工作得很好。

boot grub2 14.04

90
推荐指数
2
解决办法
10万
查看次数

在 /etc/default/grub 中编辑为“0”后,Grub 等待时间 10 秒?

使用本站点上描述的所有解决方案,将 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)

boot grub2 dual-boot 15.04

6
推荐指数
2
解决办法
8739
查看次数

14.04 不对 chsh 命令进行身份验证

我正在尝试将我的默认 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)

还是不能换壳。

command-line pam chsh 14.04

5
推荐指数
1
解决办法
1万
查看次数

标签 统计

14.04 ×2

boot ×2

grub2 ×2

15.04 ×1

chsh ×1

command-line ×1

dual-boot ×1

pam ×1