• Ubuntu 18.04 64bit
  • libreboot
  • flashrom 0.99

The matter is beyond my skills.

I want to flash libreboot on a gigabyte mainboard.

I got the ROM file, renamed it to libreboot.rom and tnstalled flashrom.
Then I ran the command

flashrom -p internal:dualbiosindex=0 -w libreboot.rom

But it did not work.

I was told to edit grub to add iomem=relaxed.

At the Ubuntu location Computer > etc > default > grub, the grub file has:

# 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_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`

# 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 ...)

# Uncomment to disable graphical terminal (grub-pc only)

# 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'

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux

# Uncomment to disable generation of recovery mode menu entries

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

Shall I edit



GRUB_CMDLINE_LINUX_DEFAULT="iomem=relaxed quiet splash"

with nano?

  • Yes, exactly like that. Jul 25, 2019 at 12:19

1 Answer 1


You can use nano but personally I do everything with gedit both in my regular user account and with sudo. In this case sudo is needed so it would be:

sudo -H gedit /etc/default/grub

Then change:



GRUB_CMDLINE_LINUX_DEFAULT="iomem=relaxed quiet splash"
  • Save the file
  • Exit gedit
  • Run sudo update-grub
  • Type reboot

After rebooting type:

cat /proc/cmdline

You will see your changes in effect. Whether everything works or not is a different story :)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .