- Ubuntu 18.04 64位
- 自由启动
- flashrom 0.99
此事超出了我的能力范围。
我得到了 ROM 文件,将其重命名为libreboot.rom
并安装了 flashrom。
然后我运行命令
flashrom -p internal:dualbiosindex=0 -w libreboot.rom
但它没有起作用。
我被告知编辑 grub 来添加iomem=relaxed
。
在 Ubuntu 位置计算机 > 等 > 默认 > grub,该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_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
我应该编辑
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
进入
GRUB_CMDLINE_LINUX_DEFAULT="iomem=relaxed quiet splash"
用纳米吗?
答案1
您可以使用,但就我个人而言,我在我的常规用户帐户和 中都nano
使用 进行所有操作。在这种情况下需要 ,因此它将是:gedit
sudo
sudo
sudo -H gedit /etc/default/grub
然后改变:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
到:
GRUB_CMDLINE_LINUX_DEFAULT="iomem=relaxed quiet splash"
- 保存文件
- 出口
gedit
- 跑步
sudo update-grub
- 类型
reboot
重启后输入:
cat /proc/cmdline
您将看到更改生效。一切是否有效又是另外一回事 :)