Grubのインストール中にエラーが発生しました

Grubのインストール中にエラーが発生しました

grubをインストールしようとしてエラーが発生します。

Warning This GPT partition label contains no BIOS boot partition: 
embedding won't be possible

GPTパーティションを使用しており、ファイルシステムはext3です。実行すると、gdisk -lSSDの最初のパーティション開始セクタ(/ sdaなど)が2040であることが示されます。

ディスクが最初の512バイトから起動しないため、このエラーは発生しますか?

そうでない場合、このエラーの原因は何ですか?

アーチの設置を完了しようとしています。

parted -l:

Warning: /dev/sda contains GPT signatures, indicating that it has a GTP table.
However, it does not have a valid fake msdos partition table, as it should.
Perhaps it was corrupted -- possibly by a program that doesn't understand GTP
partition tables. Or prehaps you deleted the GPT table, and are now using an
msdos partition table. Is this a GPT partition table?
Yes/No: yes
Error: The backup GPT table is not at the end of the disk, as it should be. This might mean that another operating system believes the disk is smaller. Fix, by moving the backup to the end (and removing the old backup)?
Fix/Ignore/Cancel? Fix
Warning: Not all of the space available to /dev/sda appears to be used, you can fix the GPT to use all of the sapce (an extra 6576128 blocks) or continue with the current setting?
Fix/Ignore/Cancel? Fix
Error: Unable to satisfy all constraints on the partition.
Model: Verbatim (scsi)
Disk /dev/sda: 3932MB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:

Model: ATA TOSHIBA THNSNH12 (scsi)
Disk /dev/sdb: 120GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:

Number   Start   End   Size   File system   Flags
 1       0.00B   120GB 120GB  ext3

私のドライブは今/dev/sdbすべてを消してインストールを再開するだけです。

ベストアンサー1

最初のパーティションは2040で開始できますが、grubインストールで問題となるbios_grubフラグが必要です。

これにより、parted -l /dev/sda次の結果が表示されます。

Model: ATA Samsung SSD 840 (scsi)
Disk /dev/sda: 250GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system  Name  Flags
 1      1049kB  2097kB  1049kB                     bios_grub
 2      2097kB  2150MB  2147MB  ext2
 3      2150MB  36,5GB  34,4GB  btrfs

おすすめ記事