Product SiteDocumentation Site

Uninstallation

This appendix covers uninstallation of the Red Hat Enterprise Virtualization Hypervisors from local storage devices.

Warning — Data loss

All data on the selected storage device(s) will be destroyed.
Procedure C.1. Removing Red Hat Enterprise Virtualization Hypervisors
  1. Boot the Hypervisor. Refer to Chapter 3, Preparing Red Hat Enterprise Virtualization Hypervisor Installation Media for details on booting Red Hat Enterprise Virtualization Hypervisors.
  2. Start the system. When the automatic boot prompt appears, press Enter.
    Automatic boot in 30 seconds...
  3. Select the Uninstall option, and press Tab to enter edit mode.
  4. The kernel parameters in use are displayed. These are the parameters passed to the kernel when starting the Hypervisor.
    vmlinuz0 initrd=initrd0.img root=live:CDLABEL=rhev-hypervisor rootfstype=auto ro liveimg nomodeset check rootflags=ro crashkernel=512M-2G:64M,2G-:128M elevator=deadline processor.max_cstate=1 install rhgb rd_NO_LUKS rd_NO_MD rd_NO_DM uninstall
    The uninstall parameter is added automatically and specifies that the Hypervisor is to be uninstalled.
  5. Optionally, add the storage_init parameter to the end of the kernel command string.
    The storage_init parameter specifies the device on which the Hypervisor resides. During uninstallation, it specifies the device from which the Hypervisor should be removed. If the Hypervisor is installed to the /dev/sda/ device, you can specify that this device is cleaned by including the following at the end of the kernel command string:
    storage_init=/dev/sda
    If this parameter is not included, the Hypervisor's location is detected automatically.
  6. Press Enter to save any changes to the kernel string, for this boot only, and display the previous screen.
  7. Press Enter to boot the Hypervisor. The Hypervisor will uninstall itself immediately. Once the Hypervisor has been removed the system will reboot.
  8. Result:
    The Red Hat Enterprise Virtualization Hypervisor has been removed from the specified device.