前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >如何在Linux下重置bios setting

如何在Linux下重置bios setting

作者头像
姚华
发布2022-06-29 11:31:47
2.7K0
发布2022-06-29 11:31:47
举报
文章被收录于专栏:运维民工

简介: 如何在Linux下重置bios setting

下述的方法只是探讨为主,不建议在生产环境下使用

今天被问到一个问题,要用命令重置恢复bios默认设置。因为bios是被写在ROM上,无法直接设置,但是大多数服务器主板自带bcm,通过ipmitool说不定就可以了,因此去搜索一些相关文档说不定可以设置,发现了下列的一些信息,粘贴出来参考一下。

Clearing CMOS Settings After an Update (Optional) If you cannot get output to your serial console after the firmware update, you might have to clear CMOS settings. This is because your default CMOS settings might have been changed by the update of the BIOS.

To clear CMOS settings, use the following IPMItool commands (in this example, the default username, root, and the default password, changeme, are used):

代码语言:javascript
复制
ipmitool -U root -P changeme -H SP-IP chassis power off
ipmitool -U root -P changeme -H SP-IP chassis bootdev disk clear-cmos=yes

后续,或者可以尝试如下方法(具有一定风险性)

代码语言:javascript
复制
modprobe nvram
dd if=/dev/zero of=/dev/nvram
本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2022-06-23,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档