[Bug 1309735] Re: The --disk-module=MODULE option of grub-install don't work

Asuna 811197881 at qq.com
Sat Apr 19 15:11:29 UTC 2014


** Attachment added: "the output of `sudo fdisk -l`"
   https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1309735/+attachment/4089016/+files/out.txt

** Description changed:

  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:
  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.
  
- 
- 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
+ The following attachment in the output of `sudo fdisk -l`, /dev/sdb is
+ not bootable.

-- 
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/1309735

Title:
  The --disk-module=MODULE option of grub-install don't work

Status in “grub2” package in Ubuntu:
  New

Bug description:
  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:
  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.

  The following attachment in the output of `sudo fdisk -l`, /dev/sdb is
  not bootable.

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



More information about the foundations-bugs mailing list