Public bug reported:

Binary package hint: grub-common

Description:    Ubuntu 10.04.1 LTS
Release:        10.04
grub-common 1.98-1ubuntu7

update-grub creates a grub.cfg file that does not "insmod" partition-
handling modules. As a result, I cannot boot from partitions on disks
with "msdos" partitioning.

The fix is straightforward. In /usr/lib/grub/grub-mkconfig_lib edit the
prepare_grub_to_access_device function to add this "partmap" section:

  # Abstraction modules aren't auto-loaded.
  abstraction="`${grub_probe} --device ${device} --target=abstraction`"
  for module in ${abstraction} ; do
    echo "insmod ${module}"
  done

  partmap="`${grub_probe} --device ${device} --target=partmap`"
  for module in ${partmap} ; do
    echo "insmod ${module}"
  done

  fs="`${grub_probe} --device ${device} --target=fs`"
  for module in ${fs} ; do
    echo "insmod ${module}"
  done

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
update-grub omits partition modules
https://bugs.launchpad.net/bugs/626140
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to