How to Disable USB Scanning at Boot on Libre Computer Boards

The u-boot USB stack is not as fault tolerant as Linux. Any failure that occur when scanning and enumerating USB devices has the potential to cause unhandled hard faults that will result in the system rebooting.

There are a lot of problematic USB devices out there and this can cause boot loops which is unwanted behavior. To avoid the boot loops, you can disable USB scanning at startup if your OS is not on USB storage.

  1. Create file called boot.ini on your first partition (usually mounted at /boot/efi).
  2. Add preboot= to the file on a new line.

When I try to save a file to that location, I’m given an error message that that location isn’t writable.

Linux 101, you need sudo your editor to write in anything but home.

I don’t know what that means. I don’t know anything about Linux, this is my first time messing with it, can you explain in a bit more depth?

Please use Google. We do not provide Linux instructional support. We assume basic Linux knowledge.