IBM Support

IBM PowerVM (VIOS) Troubleshooting: Explaining “0505-212 alt_disk_install: System checks indicate that hdiskx may not be bootable" error during viosupgrade with NVMe disk

Troubleshooting


Problem

This document provides instructions to help resolve the error “0505-212 alt_disk_install System checks indicate that hdisk may not be bootable" after running the viosupgrade to upgrade a VIOS system

Cause

During a VIOS upgrade, running the command:
$viosupgrade -l -i /home/padmin/mksysbimage -a -hdiskx
May fail when:
  1. A disk is faulty and it has been replaced and the boot image was not copied (or updated)
  2. Changes are made to the disk and the system was not rebooted prior to running the viosupgrade command

Environment

All Power servers running PowerVM and Virtual I/O Servers

Diagnosing The Problem

NVMe are special devices drivers as they represent both the adapter and the disk. The bootable status of a disk is set in NVRAM and a reboot is required to allow the hdisk to be added to the bootlist.

Run the following command to confirm the bootable status of the disk

# bootinfo -B hdisk1

# bootinfo -B hdisk1
0

bootinfo -B returns 0 for hdisk1 indicating it is not bootable or 1 if it is bootable.

Check if the last reboot date is after the configuration date of the hdisk
To display the details when was the hdisk configured
# ls -la /dev |grep hdisk1
$ ls -la /dev | grep hdisk1
brw-------    1 root     system       19,  0 Mar 20 01:56 hdisk1
crw-------    2 root     system       19,  0 Mar 20 01:56 rhdisk1
To display the time between reboots of the system
#last reboot
# last reboot
reboot    ~                                   Mar 18 02:00 
reboot    ~                                   Feb 07 12:00

Resolving The Problem

If the disk has been configured after the reboot, the system needs to be rebooted before running viosupgrade command.
Rebooting the system allows the firmware to configure the disks and set it to boot capable for the bootinfo command to then check.  

Related Information

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSPHKW","label":"PowerVM Virtual I\/O Server"},"ARM Category":[{"code":"a8m50000000L0FXAA0","label":"Archive-\u003EPowerVM VIOS"}],"ARM Case Number":"","Platform":[{"code":"PF002","label":"AIX"}],"Version":"All Versions"}]

Document Information

Modified date:
20 March 2024

UID

ibm17134737