お知らせ

  • 利用規約を守って投稿してください。また、よくある質問および投稿の手引きも参照してください。
  • メッセージの投稿にはアカウントが必要です。未登録の方は、ユーザ登録ページからアカウントを作成することができます。

#1 2010-08-12 10:13:23

owata404
メンバ
登録日: 2010-07-03

grubがインストールできない

grubが壊れたのでliveCDから起動してgurbをインストールしたいのにできません・・・

端末で$sudo grub-install /dev/sda5って打ったら
/usr/sbin/grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR.  This is a BAD idea..
/usr/sbin/grub-setup: warn: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and its use is discouraged..
/usr/sbin/grub-setup: error: if you really want blocklists, use --force.

ってエラーを吐いてしまいます。

一体どうすれば

オフライン

 

#2 2010-08-12 10:25:37

ack
メンバ
登録日: 2007-06-01

Re: grubがインストールできない

owata404 による投稿:

/usr/sbin/grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR.  This is a BAD idea..
/usr/sbin/grub-setup: warn: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and its use is discouraged..
/usr/sbin/grub-setup: error: if you really want blocklists, use --force.

GRUBをHDDの先頭(MBR)でなくパーティションの先頭にインストールすることはGRUBとしては確実に動作できる保証がないので奨めない、本当に実行したければ --force をつけて実行しろ、とのメッセージです。
他のブートローダからチェインロードしているなどにGRUBをパーティションの先頭にインストールする事がありますが、そういう特殊な場合であることをご自身で認識している、またそれに伴い
GRUBをインストールする場所が本当に sda5、すなわちHDDの第5パーティション(拡張パーティション内の論理パーティション1つ目) で良いのかを再度確認し、それで良ければ

sudo grub-install --force /dev/sda5

と行ってください。

オフライン

 

Board footer

Powered by FluxBB