How to fix grub2-mkconfig and Yast2-Boot Loader from running too long in 12.2

If any of you have experienced grub2-mkconfig -o /boot/grub2/grub.cfg or Yast2-Boot Loader taking several minutes to complete.

The following steps will resolve your problem:

  1. Open /boot/grub2/device.map with your favorite editor
  2. Navigate to the line and remove (fd0) /dev/fd0
  3. Resave the changes and exist the editor
  4. Open konsole or xterm and type: grub2-mkconfig -o /boot/grub2/grub.cfg
  5. Then run Yast2-Boot Loader

The grub2-mkconfig command will run under .07 - 10ms and Yast2-Boot Loader will run several seconds instead of several minutes.

Bugzilla reference: https://bugzilla.novell.com/show_bug.cgi?id=774560

This will be fixed in a future release.