How to Select Default Boot Kernel on a Linux VM Guest Without Booting the VM Guest (Doc ID 1944858.1)

Last updated on DECEMBER 21, 2016

Applies to:

Oracle VM - Version 3.0.1 and later
x86_64

Goal

The document describe how to setup default boot kernel for a Linux VM guest without booting the VM guest.

The illustration below is tangible only when:

1. The /boot file system of the target VM guest is built on partition directly.

2. The file system type of /boot partition of the target VM guest is known by dom0, e.g. ext2/3/4, ocfs2.

The point is using kpartx to create device maps of the boot disk of VM guest on dom0, then mount the device-mapper device of /boot partition r/w.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms