我正在嘗試安裝 grub,但出現錯誤:
Warning This GPT partition label contains no BIOS boot partition:
embedding won't be possible
我使用GPT分割區,檔案系統是ext3。當我運行時,gdisk -l
它顯示 SSD 上的第一個分割區起始磁區(即 /sda)是 2040。
我收到此錯誤是因為磁碟未從前 512 位元組啟動嗎?
如果不是,還有什麼可能導致此錯誤?
我正在嘗試讓它完成 Arch 安裝。
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 開始,但它必須具有 bios_grub 標誌,這就是您的 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