サイズが2TiBのハード・ディスクからゲストが起動する場合、Oracle Linux 6を実行しているハードウェア仮想化(HVM)ゲストを起動できません。
回避策:
必要なGRUB2パッケージ・ファイルにアクセスできるように、Oracle VM Server ISOイメージ・ファイルのコンテンツをネットワークを介してホスト管理します。
Oracle VM Manager Webインタフェースにログインします。
Oracle Linux 6仮想マシンをクローニングし、サイズが2TiBのハード・ディスクにアタッチされていないことを確認します。
2TiBハード・ディスクを、クローニングした仮想マシンにアタッチします。
クローンされた仮想マシンにアタッチした2TiBハードディスクに
grub2
パッケージをインストールします。次に例を示します:# cd /tmp # wget --no-proxy /
path
/grub2-version
.rpm # wget --no-proxy /path
/grub2-tools-version
.rpm # mkdir tmp # cd tmp # rpm2cpio ../grub2version
.rpm | cpio -iumd # rpm2cpio ../grub2-tools-version
.rpm | cpio -iumd # /usr/sbin/grub2-install -d ./usr/lib/grub/i386-pc/ --force/dev/sdb
Installing for i386-pc platform. ./usr/sbin/grub2-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible. ./usr/sbin/grub2-install: warning: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged. Installation finished. No error reported.注意path
を、ファイル・システム上のOracle VM Server ISOイメージ・ファイルのコンテンツへのパスで置換します。version
を、Oracle VM Serverインスタンスに含まれるgrub2
パッケージのバージョンに置き換えます。/dev/sdb
を、クローニングした仮想マシンにアタッチした2TiBハード・ディスクのデバイス名で置換します。
次のようにして、
/boot/grub2/grub.cfg
構成を作成します。set default="0" set timeout=5 menuentry 'Linux' { insmod part_gpt insmod ext2 set root='hd0,gpt1' linux /vmlinuz-
version
ro root=/dev/mapper/VolGroup-lv_root initrd /initramfs-version
.img }注意インストールしたOracle Linux 6バージョンに基づいて適宜
vmlinuz
およびinitramfs
version
を更新します。起動できなかった仮想マシンに2TiBハード・ディスクを再度アタッチします。
Oracle Bug#25655807