The --disk-module=MODULE option of grub-install don't work in Ubuntu 14.04

Asked by Asuna

My OS is ubuntu14.04.

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 option.

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.
`

Grub(-install)2.00 in ubuntu13.10 don't have this bug. Is there any way to fix it?

Here is the output of `sudo fdisk -l`, /dev/sdb is not bootable:

    Disk /dev/sda: 128.0 GB, 128035676160 bytes

    255 heads, 63 sectors/track, 15566 cylinders, total 250069680 sectors

    Units = 扇区 of 1 * 512 = 512 bytes

    Sector size (logical/physical): 512 bytes / 512 bytes

    I/O size (minimum/optimal): 512 bytes / 512 bytes

    Disk identifier: 0x27cd3b50

       设备 启动 起点 终点 块数 Id 系统

    /dev/sda1 * 2048 250066943 125032448 7 HPFS/NTFS/exFAT

    Disk /dev/sdb: 500.1 GB, 500107862016 bytes

    255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors

    Units = 扇区 of 1 * 512 = 512 bytes

    Sector size (logical/physical): 512 bytes / 512 bytes

    I/O size (minimum/optimal): 512 bytes / 512 bytes

    Disk identifier: 0xad250a1f

       设备 启动 起点 终点 块数 Id 系统

    /dev/sdb1 * 64 209718392 104859164+ 7 HPFS/NTFS/exFAT

    /dev/sdb2 209718406 976771071 383526333 f W95 扩展 (LBA)

    /dev/sdb5 209718408 419439415 104860504 7 HPFS/NTFS/exFAT

    /dev/sdb6 419439480 829968431 205264476 7 HPFS/NTFS/exFAT

    /dev/sdb7 829970432 830359551 194560 83 Linux

    /dev/sdb8 830361600 888952831 29295616 83 Linux

    /dev/sdb9 888954880 894812159 2928640 82 Linux 交换 / Solaris

    /dev/sdb10 894814208 976771071 40978432 83 Linux

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu grub2 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.