Project

General

Profile

Bug #11850

bootadm fails to install boot block on SPARC hardware

Added by Gary Mills 10 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

During an otherwise correct install of OI from a DVD, I got this group of errors:

2019-10-16 13:20:19,600 - ERROR   : install_utils.py:411 bootadm: invalid   
option or missing option argument: -M
2019-10-16 13:20:19,602 - ERROR   : install_utils.py:411 USAGE:             
2019-10-16 13:20:19,603 - ERROR   : install_utils.py:411    bootadm         
update-archive [-vn] [-R altroot [-p platform]]
2019-10-16 13:20:19,603 - ERROR   : install_utils.py:411    bootadm         
list-archive [-R altroot [-p platform]]
2019-10-16 13:20:19,604 - ERROR   : install_utils.py:411    bootadm         
install-bootloader [-fv] [-R altroot] [-P pool]
2019-10-16 13:20:19,605 - ERROR   : ti_install.py:163 Failed to execute     
bootadm install-bootloader
2019-10-16 13:20:20,376 - ERROR   : ti_install.py:675 One or more ICTs      
failed. See previous log messages

This happened because bootadm install-bootloader on SPARC does not support the -M option. It can be fixed by modifying bootadm so that it accepts -M but ignores it, or by modifying ti_install.py to not specify the -M option on SPARC hardware. bootadm is part of illumos. ti_install.py is part of the slim_source consolidation.

I was installing a version of OI from 2018. It includes illumos of about the same vintage. As far as I can tell, neither bootadm nor ti_install.py have been updated since that year.

Also available in: Atom PDF