•
If you are using Oracle Linux 7u2, use grub2:
# grub2-mkconfig -o /boot/grub2/grub.cfg
# grub2-install /dev/xvdc
The following example uses grub:
# grub
Probing devices to guess BIOS drives. This may take a long time.
GNU GRUB version 0.97 (640K lower / 3072K upper memory)
[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
completions of a device/filename.]
grub> device (hd0) /dev/xvdc
device (hd0) /dev/xvdc
grub> root (hd0,0)
root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
grub> setup (hd0)
setup (hd0)
Checking if "/boot/grub/stage1" exists... no
Checking if "/grub/stage1" exists... yes
Checking if "/grub/stage2" exists... yes
Checking if "/grub/e2fs_stage1_5" exists... yes
Running "embed /grub/e2fs_stage1_5 (hd0)"... 27 sectors are embedded.
succeeded
Running "install /grub/stage1 (hd0) (hd0)1+27 p (hd0,0)/grub/stage2 /
grub/grub.conf"... succeeded
Done.
grub> quit
quit
The following example uses grub2:
# grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.10.0-327.3.1.el7.x86_64
Found initrd image: /boot/initramfs-3.10.0-327.3.1.el7.x86_64.img
Found linux image: /boot/vmlinuz-3.8.13-118.2.1.el7uek.x86_64
Found initrd image: /boot/initramfs-3.8.13-118.2.1.el7uek.x86_64.img
Found linux image: /boot/vmlinuz-0-
rescue-8f9df86c6d4c4640a01315a3aa93790e
Found initrd image: /boot/initramfs-0-
rescue-8f9df86c6d4c4640a01315a3aa93790e.img
done
# grub2-install /dev/xvdc
Installing for i386-pc platform.
Installation finished.
No error reported.
How to Create Driver Domain Virtual Machines
Chapter 12
12-38
Need help?
Do you have a question about the X6-2-HA and is the answer not in the manual?