[Bug 1332211] [NEW] The "--disk-module=MODULE" option of "grub-install" don't work in Grub 2.02~beta2-9

Asuna 811197881 at qq.com
Thu Jun 19 17:34:38 UTC 2014


Public bug reported:

My OS is ubuntu14.04 LTS.
And the command "grub-install -V" shows that the grub version is Grub 2.02~beta2-9.

Since I have two disk on my laptop, and one of them is not bootable, I
have to use nativedisk mode.

But the "--disk-module=MODULE" option of grub-install can not work normaly.
Command like:
sudo grub-install --disk-module=native /dev/sda

returns me the following message:
"
 --disk-module: (PROGRAM ERROR) Option should have been recognized!?
Try 'grub-install --help' or 'grub-install --usage' for more information.
"

What's the meaning of "should have been recognized", not unrecognized?

Grub(-install)2.00 in ubuntu13.10 don't have this bug. Everything goes
well.

The following attachment is the output of `sudo fdisk -l`. /dev/sda is
SSD, /dev/sdb is HDD and because of the bios problem, it's not bootable.

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


** Tags: disk module nativedisk

** Attachment added: "the output of `sudo fdisk -l`"
   https://bugs.launchpad.net/bugs/1332211/+attachment/4135010/+files/output.txt

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1332211

Title:
  The "--disk-module=MODULE" option of "grub-install" don't work in Grub
  2.02~beta2-9

Status in “grub2” package in Ubuntu:
  New

Bug description:
  My OS is ubuntu14.04 LTS.
  And the command "grub-install -V" shows that the grub version is Grub 2.02~beta2-9.

  Since I have two disk on my laptop, and one of them is not bootable, I
  have to use nativedisk mode.

  But the "--disk-module=MODULE" option of grub-install can not work normaly.
  Command like:
  sudo grub-install --disk-module=native /dev/sda

  returns me the following message:
  "
   --disk-module: (PROGRAM ERROR) Option should have been recognized!?
  Try 'grub-install --help' or 'grub-install --usage' for more information.
  "

  What's the meaning of "should have been recognized", not unrecognized?

  Grub(-install)2.00 in ubuntu13.10 don't have this bug. Everything goes
  well.

  The following attachment is the output of `sudo fdisk -l`. /dev/sda is
  SSD, /dev/sdb is HDD and because of the bios problem, it's not
  bootable.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1332211/+subscriptions



More information about the foundations-bugs mailing list