
Ubuntu日本語フォーラム

ログインしていません。
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.
ってエラーを吐いてしまいます。
一体どうすれば
オフライン
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
と行ってください。
オフライン