HowTo Linux Posts Ubuntu

How To: Fix “Unknown keyword in configuration file.” Ubuntu USB Boot

Attempting Boot From USB Device

SYSLINUX 3.63 Debian-2008-07-15 EBIOS Copyright (C) 1994-2008 H. Peter Anvin
Unknown keyword in configuration file.

After creating a USB bootable version of Ubuntu from the Startup Disk Creator (or usb-creator-gtk) and attempting to boot, I was greeted by the error above. It might look a bit scary but it’s really easy to fix, just plug the USB flash drive into a computer (windows or linux, mac too probably but I haven’t tried that.)

Solution 1:
  1. Open the the syslinux folder in the root of the flash drive.
  2. Inside is a file called syslinux.cfg you’ll want to edit that.
  3. Find the line “ui gfxboot bootlogo” and simply remove the “ui “.
  4. Save and try booting again.

Below is how my syslinux.cfg file looks after editing:

# D-I config version 2.0
include menu.cfg
default vesamenu.c32
prompt 0
timeout 50
gfxboot bootlogo

Solution 2

Alternatively it looks as though there is another way of fixing this issue if there is no “ui” in the file, this is to do as followed (as pointed out in the comments below):

  1. Type “help” and press enter
  2. Hit Enter again

This should boot correctly and shouldn’t need to be done every time.

HowTo Posts Ubuntu

HowTo: Fix “An error occurred while mounting” – Ubuntu Lucid (10.04)

An error occurred while mounting /dev/bus/usb (and/or)
An error occurred while mounting /proc/bus/usb

Press S to skip mounting or M for manual recovery

If you are seeing this error on boot an easy way to get rid:

  1. sudo gedit /etc/fstab
  2. Fine the following line (or lines if you are having both errors)
  3. none /proc/bus/usb usbfs defaults,devmode=0666 0 0
    none /dev/bus/usb usbfs defaults,devmode=0666 0 0

  4. Add a # infront of them to comment it out
  5. Save & Exit.

As far as I am aware everything is still working fine and it might just be something left in from Karmic which isn’t needed any longer but just to make sure comment out these lines rarther than removing them.