1

我已经安装了flashrom软件。当我尝试运行sudo flashrom命令时,它给了我“无法获得 I/O 权限(不允许操作)。您需要成为 root”错误。我也尝试su了切换root并再次运行的命令。我还尝试sudo -i了以 root 身份登录的命令。但是其中任何一个都不起作用

4

2 回答 2

2
#if defined (__OpenBSD__)
    msg_perr("If you are root already please set securelevel=-1 in /etc/rc.securelevel and\n"
         "reboot, or reboot into single user mode.\n");
#elif defined(__NetBSD__)
    msg_perr("If you are root already please reboot into single user mode or make sure\n"
         "that your kernel configuration has the option INSECURE enabled.\n");
#endif

从 FlashRom.org pastebin 站点阅读此内容应该会有所了解。

这是 Flashrom 中唯一包含“您必须是 root”行的文件。因此,在我看来,这是唯一可能出现错误的地方。

于 2013-10-02T18:20:15.600 回答
1

我将bios设置中的安全启动选项更改为禁用。这样我就可以运行 flashrom 程序了。但它给出了这个输出。

警告!您似乎在不受支持的笔记本电脑上运行 flashrom。笔记本电脑、笔记本电脑和上网本很难支持,我们建议使用供应商的刷机实用程序。这些机器中的嵌入式控制器 (EC) 通常与闪存交互不良。有关详细信息,请参阅手册页和http://www.flashrom.org/Laptops

如果闪存与 EC 共享,则保证擦除会使您的笔记本电脑变砖,而写入可能会使您的笔记本电脑变砖。读取和探测可能会刺激您的 EC 并导致风扇故障、背光故障和突然断电。你被警告了。

所以没有什么可做的。我必须搜索另一个工具来刷新我的 BIOS

于 2013-10-02T18:40:21.597 回答