ValueError kernel name must start with /boot/vmlinuz during the redhat-upgrade-tool

Solution Verified - Updated -

Issue

  • After running preupg there is no issue shown and redhat-upgrade-tool gives error as ValueError: kernel name must start with '/boot/vmlinuz-.
Continue with the upgrade [Y/N]? getting boot images...
setting up update...
testing upgrade transaction
setting up system for upgrade
  File "/usr/bin/redhat-upgrade-tool", line 448, in <module>
    main(args)
  File "/usr/bin/redhat-upgrade-tool", line 369, in main
    upgrade_boot_args()
  File "/usr/lib/python2.6/site-packages/redhat_upgrade_tool/boot.py", line 169, in upgrade_boot_args
    '--update', kernelver(kernel)])
  File "/usr/lib/python2.6/site-packages/redhat_upgrade_tool/boot.py", line 32, in kernelver
    raise ValueError("kernel name must start with '%s'" % kernelprefix)
ValueError: kernel name must start with '/boot/vmlinuz-'

Environment

  • Red Hat Enterprises Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content