[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:56802] Re: grub-install のエラー



木下さん

こんちには、笛田です。情報ありがとうございます。

実は、前回の投稿後、ネットで見つけた
# parted /dev/sda set 1 bios_grub on
# grub-mkdevicemap
# del /etc/mtab
等をしてしまった結果、bootは、GRUB loadingまで進むようになったものの、LVMの構成が見えない状態になってしまいました。
まずは、LVMの復旧をしてから、木下さんに教えていただいた方法を試してみます。
 笛田

(2013/05/26 1:17), Haruo Kinoshita wrote:
> こんにちは、木下です。
>
> grub苦労人おつかれさまです。
> 一足先にUEFIにgrubをインストールできてハマりからは卒業できました。
>
> grub-install で自分は上手く行ったためしがないので、
> ブートを壊したときは、rescue modeの中で
> dpkg-reconfigure grub-pc と update-grub を実行して直していました。
>
> ご参考になれば。
>
> 2013/5/25 htaka <9seihtaka@xxxxxxxxx>:
>> みなさん、こんにちは。お世話になります。
>>
>> Debian をWheezyにupgradeし、Kernel 3.2.41をrecomplieして、dpkg -i linux-image....debをしてrebootしたところ、
>> bootの際に、GRUBと表示された状態で止まってしまうようになってしまったため、install CDのrescue modeで、grub-installを実行したのですが、
>>
>> # grub-install /dev/sda
>> /usr/sbin/grub-setup: warn: This GPT partition label has no BIOS Boot Partition; embedding won't be possible!.
>> /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 their use is descouraged..
>> /usr/sbin/grub-setup: error: will not proceed with blocklists.
>>
>> # grub-install --force /dev/sda
>> /usr/sbin/grub-setup: warn: This GPT partition label has no BIOS Boot Partition; embedding won't be possible!.
>> /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 their use is descouraged..
>> /usr/sbin/grub-setup: error: cannot read `/grub/core.img' correctly.
>>
>> となってしまいます。解決のためには、何から手を付けたら良いのか、アドバイスを頂けないでしょうか。なお、Diskのpartitionは、
>> # parted /dev/sda
>> Model: ATA .....
>> Disk /dev/sda: 2000GB
>> Sector size (logical/physical): 512B/512B
>> Partition Table: gpt
>>
>> Number Start End Size File system Name Flags
>> 1 17.4kB 256MB 256MB ext2 boot
>> 2 256MB 2000GB 2000GB lvm
>>
>> という状態です。
>> また、dpkg -i linux-image...debを実行すると、最後に
>> Imagepath /boot/images not found
>> done
>> と表示されます。
>> よろしくお願いします。
>>
>>  笛田
>>
>>