8.7 サイズが2TiBのハード・ディスクを搭載したOracle Linux 6 HVMゲスト仮想マシンが起動時にハングする

サイズが2TiBのハード・ディスクからゲストが起動する場合、Oracle Linux 6を実行しているハードウェア仮想化(HVM)ゲストを起動できません。

回避策:

  1. 必要なGRUB2パッケージ・ファイルにアクセスできるように、Oracle VM Server ISOイメージ・ファイルのコンテンツをネットワークを介してホスト管理します。

  2. Oracle VM Manager Webインタフェースにログインします。

  3. Oracle Linux 6仮想マシンをクローニングし、サイズが2TiBのハード・ディスクにアタッチされていないことを確認します。

  4. 2TiBハード・ディスクを、クローニングした仮想マシンにアタッチします。

  5. 次のようにして、grub2-ovsパッケージを、クローニングした仮想マシンにアタッチした2TiBハード・ディスクにインストールします。

    # cd /tmp
    # wget --no-proxy /path/grub2-ovs-version.rpm
    # wget --no-proxy /path/grub2-ovs-tools-version.rpm
    # mkdir tmp
    # cd tmp
    # rpm2cpio ../grub2-ovs-version.rpm | cpio -iumd
    # rpm2cpio ../grub2-ovs-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-ovsパッケージ・バージョンで置換します。

    • /dev/sdbを、クローニングした仮想マシンにアタッチした2TiBハード・ディスクのデバイス名で置換します。

  6. 次のようにして、/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を更新します。

  7. 起動できなかった仮想マシンに2TiBハード・ディスクを再度アタッチします。

Oracle Bug#25655807