[Bug 972250] Re: "This GPT partition label has no BIOS Boot Partition"
caViator
caviator.pl at gmail.com
Tue Apr 3 11:26:02 UTC 2012
I too got this error today after upgrading grub2. My grub2 is installed
on a GPT.
================================================================
[code]# aptitude full-upgrade -sV
Następujące pakiety zostaną zaktualizowane:
bash [4.2-1ubuntu3 -> 4.2-2ubuntu1] bash-builtins [4.2-1ubuntu3 -> 4.2-2ubuntu1] cups-pdf [2.6.1-5 -> 2.6.1-6]
grub-common [1.99-18ubuntu1 -> 1.99-20ubuntu1] grub-pc [1.99-18ubuntu1 -> 1.99-20ubuntu1]
grub-pc-bin [1.99-18ubuntu1 -> 1.99-20ubuntu1] grub2-common [1.99-18ubuntu1 -> 1.99-20ubuntu1]
libsoup-gnome2.4-1 [2.38.0-0ubuntu1 -> 2.38.0-1] libsoup2.4-1 [2.38.0-0ubuntu1 -> 2.38.0-1]
Następujące pakiety POLECANE przez inne NIE zostaną zainstalowane:
os-prober
9 pakietów aktualizowanych, 0 instalowanych, 0 do usunięcia i 0 nieaktualizowanych.
Do pobrania 4154 kB archiwów. Zajęte po rozpakowaniu: 47,1 kB.
Kontynuować? [Y/n/?]
Pakiety zostałyby pobrane/zainstalowane/usunięte.[/code]
================================================================
[code]# aptitude full-upgrade
Następujące pakiety zostaną zaktualizowane:
bash bash-builtins cups-pdf grub-common grub-pc grub-pc-bin grub2-common libsoup-gnome2.4-1 libsoup2.4-1
Następujące pakiety POLECANE przez inne NIE zostaną zainstalowane:
os-prober
9 pakietów aktualizowanych, 0 instalowanych, 0 do usunięcia i 0 nieaktualizowanych.
Do pobrania 4154 kB archiwów. Zajęte po rozpakowaniu: 47,1 kB.
Kontynuować? [Y/n/?]
Pobieranie: 1 http://cursa.canonical.com/ubuntu/ precise/universe bash-builtins i386 4.2-2ubuntu1 [110 kB]
Pobieranie: 2 http://cursa.canonical.com/ubuntu/ precise/main bash i386 4.2-2ubuntu1 [616 kB]
Pobieranie: 3 http://cursa.canonical.com/ubuntu/ precise/main libsoup2.4-1 i386 2.38.0-1 [211 kB]
Pobieranie: 4 http://cursa.canonical.com/ubuntu/ precise/main libsoup-gnome2.4-1 i386 2.38.0-1 [9548 B]
Pobieranie: 5 http://cursa.canonical.com/ubuntu/ precise/universe cups-pdf i386 2.6.1-6 [38,4 kB]
Pobieranie: 6 http://cursa.canonical.com/ubuntu/ precise/main grub-pc i386 1.99-20ubuntu1 [140 kB]
Pobieranie: 7 http://cursa.canonical.com/ubuntu/ precise/main grub-pc-bin i386 1.99-20ubuntu1 [841 kB]
Pobieranie: 8 http://cursa.canonical.com/ubuntu/ precise/main grub2-common i386 1.99-20ubuntu1 [94,2 kB]
Pobieranie: 9 http://cursa.canonical.com/ubuntu/ precise/main grub-common i386 1.99-20ubuntu1 [2094 kB]
Pobrano 4154 kB w 5s (768 kB/s)
(Odczytywanie bazy danych ... 257003 files and directories currently installed.)
Przygotowanie do zastąpienia bash-builtins 4.2-1ubuntu3 (wykorzystując .../bash-builtins_4.2-2ubuntu1_i386.deb) ...
Rozpakowanie pakietu zastępującego bash-builtins ...
Przygotowanie do zastąpienia bash 4.2-1ubuntu3 (wykorzystując .../bash_4.2-2ubuntu1_i386.deb) ...
Rozpakowanie pakietu zastępującego bash ...
Przetwarzanie wyzwalaczy dla man-db...
Przetwarzanie wyzwalaczy dla menu...
Konfigurowanie bash (4.2-2ubuntu1) ...
Instalowanie nowej wersji pliku konfiguracyjnego /etc/skel/.bashrc ...
Instalowanie nowej wersji pliku konfiguracyjnego /etc/bash.bashrc ...
update-alternatives: użycie /usr/share/man/man7/bash-builtins.7.gz jako dostarczającego /usr/share/man/man7/builtins.7.gz (builtins.7.gz) w tryb auto.
Przetwarzanie wyzwalaczy dla menu...
(Odczytywanie bazy danych ... 257003 files and directories currently installed.)
Przygotowanie do zastąpienia libsoup2.4-1 2.38.0-0ubuntu1 (wykorzystując .../libsoup2.4-1_2.38.0-1_i386.deb) ...
Rozpakowanie pakietu zastępującego libsoup2.4-1 ...
Przygotowanie do zastąpienia libsoup-gnome2.4-1 2.38.0-0ubuntu1 (wykorzystując .../libsoup-gnome2.4-1_2.38.0-1_i386.deb) ...
Rozpakowanie pakietu zastępującego libsoup-gnome2.4-1 ...
Przygotowanie do zastąpienia cups-pdf 2.6.1-5 (wykorzystując .../cups-pdf_2.6.1-6_i386.deb) ...
Rozpakowanie pakietu zastępującego cups-pdf ...
Przygotowanie do zastąpienia grub-pc 1.99-18ubuntu1 (wykorzystując .../grub-pc_1.99-20ubuntu1_i386.deb) ...
Rozpakowanie pakietu zastępującego grub-pc ...
Przygotowanie do zastąpienia grub-pc-bin 1.99-18ubuntu1 (wykorzystując .../grub-pc-bin_1.99-20ubuntu1_i386.deb) ...
Rozpakowanie pakietu zastępującego grub-pc-bin ...
Przygotowanie do zastąpienia grub2-common 1.99-18ubuntu1 (wykorzystując .../grub2-common_1.99-20ubuntu1_i386.deb) ...
Rozpakowanie pakietu zastępującego grub2-common ...
Przygotowanie do zastąpienia grub-common 1.99-18ubuntu1 (wykorzystując .../grub-common_1.99-20ubuntu1_i386.deb) ...
Rozpakowanie pakietu zastępującego grub-common ...
Przetwarzanie wyzwalaczy dla cups...
Przetwarzanie wyzwalaczy dla man-db...
Przetwarzanie wyzwalaczy dla install-info...
Przetwarzanie wyzwalaczy dla ureadahead...
Konfigurowanie bash-builtins (4.2-2ubuntu1) ...
Konfigurowanie libsoup2.4-1 (2.38.0-1) ...
Konfigurowanie libsoup-gnome2.4-1 (2.38.0-1) ...
Konfigurowanie cups-pdf (2.6.1-6) ...
Konfigurowanie grub-common (1.99-20ubuntu1) ...
Konfigurowanie grub2-common (1.99-20ubuntu1) ...
Konfigurowanie grub-pc-bin (1.99-20ubuntu1) ...
Konfigurowanie grub-pc (1.99-20ubuntu1) ...
Replacing config file /etc/default/grub with new version
/usr/sbin/grub-setup: warn: This GPT partition label has no BIOS Boot Partition; embedding won't be possible!.
/usr/sbin/grub-setup: warn: Osadzenie jest niemożliwe. GRUB może być zainstalowany tylko przy użyciu listy blokowej. Jednak listy blokowe są ZAWODNE, a ich stosowanie nie jest zalecane..
/usr/sbin/grub-setup: error: odnaleziono dane nie wyrównane do sektora w pliku core.
/usr/sbin/grub-setup: warn: This GPT partition label has no BIOS Boot Partition; embedding won't be possible!.
/usr/sbin/grub-setup: warn: Osadzenie jest niemożliwe. GRUB może być zainstalowany tylko przy użyciu listy blokowej. Jednak listy blokowe są ZAWODNE, a ich stosowanie nie jest zalecane..
/usr/sbin/grub-setup: error: odnaleziono dane nie wyrównane do sektora w pliku core.
/usr/sbin/grub-setup: warn: This GPT partition label has no BIOS Boot Partition; embedding won't be possible!.
/usr/sbin/grub-setup: warn: Osadzenie jest niemożliwe. GRUB może być zainstalowany tylko przy użyciu listy blokowej. Jednak listy blokowe są ZAWODNE, a ich stosowanie nie jest zalecane..
/usr/sbin/grub-setup: error: odnaleziono dane nie wyrównane do sektora w pliku core.
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.0-21-generic
Found initrd image: /boot/initrd.img-3.2.0-21-generic
Found linux image: /boot/vmlinuz-3.2.0-20-generic
Found initrd image: /boot/initrd.img-3.2.0-20-generic
Found memtest86+ image: /memtest86+.bin
Found memdisk: /memdisk
Imagepath /boot/images not found
done
Przetwarzanie wyzwalaczy dla libc-bin...
ldconfig deferred processing now taking place
Bieżący status: 0 aktualizacji [-9].[/code]
================================================================
[code]# 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: Osadzenie jest niemożliwe. GRUB może być zainstalowany tylko przy użyciu listy blokowej. Jednak listy blokowe są ZAWODNE, a ich stosowanie nie jest zalecane..
/usr/sbin/grub-setup: error: odnaleziono dane nie wyrównane do sektora w pliku core.[/code]
================================================================
[code]# fdisk -l
Disk /dev/sda: 320 GB, 320070320640 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 26 208813 83 Linux
Warning: Partition 1 does not end on cylinder boundary.
/dev/sda2 26 1331 10482412 83 Linux
Warning: Partition 2 does not end on cylinder boundary.
/dev/sda3 1331 38914 301885447 83 Linux
Warning: Partition 3 does not end on cylinder boundary.[/code]
================================================================
[code]# gdisk -l /dev/sda
GPT fdisk (gdisk) version 0.8.1
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 625142448 sectors, 298.1 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 1B789DA7-6024-4A0B-B184-0CAC6EBEAD51
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 625142414
Partitions will be aligned on 8-sector boundaries
Total free space is 16 sectors (8.0 KiB)
Number Start (sector) End (sector) Size Code Name
1 34 409634 200.0 MiB 0700 Boot
2 409635 21381155 10.0 GiB 0700 System
3 21381156 625142398 287.9 GiB 0700 Users[/code]
================================================================
[code]# grub-setup -f -v /dev/sda
grub-setup: info: nie można otworzyć "/boot/grub/device.map".
grub-setup: info: Scanning for dmraid_nv RAID devices on disk hd0.
grub-setup: info: the size of hd0 is 625142448.
grub-setup: info: the size of hd0 is 625142448.
grub-setup: info: scanning hd0 for LVM.
grub-setup: info: the size of hd0 is 625142448.
grub-setup: info: no LVM signature found.
grub-setup: info: the size of hd0 is 625142448.
grub-setup: info: Scanning for mdraid09 RAID devices on disk hd0.
grub-setup: info: the size of hd0 is 625142448.
grub-setup: info: the size of hd0 is 625142448.
grub-setup: info: Scanning for mdraid1x RAID devices on disk hd0.
grub-setup: info: the size of hd0 is 625142448.
grub-setup: info: the size of hd0 is 625142448.
grub-setup: info: Scanning for mdraid09 RAID devices on disk hd0.
grub-setup: info: the size of hd0 is 625142448.
grub-setup: info: the size of hd0 is 625142448.
grub-setup: info: Scanning for mdraid09 RAID devices on disk hd0,gpt3.
grub-setup: info: the size of hd0 is 625142448.
grub-setup: info: Scanning for mdraid09 RAID devices on disk hd0,gpt2.
grub-setup: info: the size of hd0 is 625142448.
grub-setup: info: Scanning for mdraid09 RAID devices on disk hd0,gpt1.
grub-setup: info: the size of hd0 is 625142448.
grub-setup: info: Scanning for mdraid1x RAID devices on disk hd0.
grub-setup: info: the size of hd0 is 625142448.
grub-setup: info: the size of hd0 is 625142448.
grub-setup: info: Scanning for mdraid1x RAID devices on disk hd0,gpt3.
grub-setup: info: the size of hd0 is 625142448.
grub-setup: info: Scanning for mdraid1x RAID devices on disk hd0,gpt2.
grub-setup: info: the size of hd0 is 625142448.
grub-setup: info: Scanning for mdraid1x RAID devices on disk hd0,gpt1.
grub-setup: info: the size of hd0 is 625142448.
grub-setup: info: scanning hd0 for LVM.
grub-setup: info: the size of hd0 is 625142448.
grub-setup: info: no LVM signature found.
grub-setup: info: the size of hd0 is 625142448.
grub-setup: info: scanning hd0,gpt3 for LVM.
grub-setup: info: the size of hd0 is 625142448.
grub-setup: info: no LVM signature found.
grub-setup: info: scanning hd0,gpt2 for LVM.
grub-setup: info: the size of hd0 is 625142448.
grub-setup: info: no LVM signature found.
grub-setup: info: scanning hd0,gpt1 for LVM.
grub-setup: info: the size of hd0 is 625142448.
grub-setup: info: no LVM signature found.
grub-setup: info: transformed OS device `/dev/sda' into GRUB device `hd0'.
grub-setup: info: /dev/sda1 starts from 34.
grub-setup: info: opening the device hd0.
grub-setup: info: the size of hd0 is 625142448.
grub-setup: info: Partition 0 starts from 34.
grub-setup: info: guessed root device `/dev/sda1' and root_dev `hd0,gpt1' from dir `/boot/grub'.
grub-setup: info: getting the size of /boot/grub/boot.img.
grub-setup: info: reading /boot/grub/boot.img.
grub-setup: info: getting the size of /boot/grub/boot.img.
grub-setup: info: getting the size of /boot/grub/core.img.
grub-setup: info: reading /boot/grub/core.img.
grub-setup: info: getting the size of /boot/grub/core.img.
grub-setup: info: root is `hd0,gpt1', dest is `hd0'.
grub-setup: info: Opening root.
grub-setup: info: the size of hd0 is 625142448.
grub-setup: info: Opening dest.
grub-setup: info: the size of hd0 is 625142448.
grub-setup: info: setting the root device to `hd0,gpt1'.
grub-setup: warn: This GPT partition label has no BIOS Boot Partition; embedding won't be possible!.
grub-setup: warn: Osadzenie jest niemożliwe. GRUB może być zainstalowany tylko przy użyciu listy blokowej. Jednak listy blokowe są ZAWODNE, a ich stosowanie nie jest zalecane..
grub-setup: info: will leave the core image on the filesystem.
grub-setup: info: próba odczytania obrazu core "/grub/core.img" z programu GRUB.
grub-setup: info: the size of hd0 is 625142448.
grub-setup: info: the size of hd0 is 625142448.
grub-setup: info: the first sector is <70052,0,512>.
grub-setup: info: saving <70053,0,512>.
grub-setup: info: saving <70054,0,512>.
grub-setup: info: saving <70055,0,512>.
grub-setup: info: saving <70056,0,512>.
grub-setup: info: saving <70057,0,512>.
grub-setup: info: saving <70058,0,512>.
grub-setup: info: saving <70059,0,512>.
grub-setup: info: saving <70060,0,512>.
grub-setup: info: saving <70061,0,512>.
grub-setup: info: saving <70062,0,512>.
grub-setup: info: saving <70063,0,512>.
grub-setup: info: saving <70064,0,512>.
grub-setup: info: saving <70065,0,512>.
grub-setup: info: saving <70066,0,512>.
grub-setup: info: saving <70067,0,512>.
grub-setup: info: saving <70068,0,512>.
grub-setup: info: saving <70069,0,512>.
grub-setup: info: saving <70070,0,512>.
grub-setup: info: saving <70071,0,512>.
grub-setup: info: saving <70072,0,512>.
grub-setup: info: saving <70073,0,512>.
grub-setup: info: saving <70074,0,512>.
grub-setup: info: saving <70075,0,512>.
grub-setup: info: saving <70076,0,512>.
grub-setup: info: saving <70077,0,512>.
grub-setup: info: saving <70078,0,512>.
grub-setup: info: saving <70079,0,512>.
grub-setup: info: saving <70080,0,512>.
grub-setup: info: saving <70081,0,512>.
grub-setup: info: saving <70082,0,512>.
grub-setup: info: saving <70083,0,512>.
grub-setup: info: saving <70084,0,512>.
grub-setup: info: saving <70085,0,512>.
grub-setup: info: saving <70086,0,512>.
grub-setup: info: saving <70087,0,512>.
grub-setup: info: saving <70088,0,512>.
grub-setup: info: saving <70089,0,512>.
grub-setup: info: saving <70090,0,512>.
grub-setup: info: saving <70091,0,512>.
grub-setup: info: saving <70092,0,512>.
grub-setup: info: saving <70093,0,512>.
grub-setup: info: saving <70094,0,512>.
grub-setup: info: saving <70095,0,512>.
grub-setup: info: saving <70096,0,512>.
grub-setup: info: saving <70097,0,512>.
grub-setup: info: saving <70098,0,512>.
grub-setup: info: saving <70099,0,512>.
grub-setup: info: saving <70100,0,512>.
grub-setup: info: saving <70101,0,512>.
grub-setup: info: saving <70102,0,408>.
grub-setup: info: saving <70103,0,512>.
grub-setup: error: odnaleziono dane nie wyrównane do sektora w pliku core.[/code]
================================================================
[code]# dpkg --print-architecture i386[/code]
================================================================
[code]# lsb_release -cdr
Description: Ubuntu precise (development branch)
Release: 12.04
Codename: precise[/code]
================================================================
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/972250
Title:
"This GPT partition label has no BIOS Boot Partition"
Status in “grub2” package in Ubuntu:
Confirmed
Bug description:
On a system installed with 11.10 and upgraded to 12.04 last week,
today grub fails to apt-get upgrade with this error in
/var/log/apt/term.log:
/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 discouraged..
/usr/sbin/grub-setup: error: non-sector-aligned data is found in the core file.
The system has luks+lvm as installed by 11.10 alternative installation
cd, and indeed seems to have GPT but no BIOS partition (system is
running BIOS on Asus F1A75V-PRO motherboard).
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/972250/+subscriptions
More information about the foundations-bugs
mailing list