Hide Forgot
Description of problem: A live iso image was built using livemedia-creator and a provided rhel-livemedia.ks, both are part of the lorax package. The installer doesn't show after clicking the "Install to Hard Drive" icon and the following traceback can be found in journalctl: Starting installer, one moment... terminal size detection failed, using default width anaconda 29.19.0.30-1.el8 for Red Hat Enterprise Linux 8.0 (pre-release) started. * installation log files are stored in /tmp during the installation * shell is available on TTY2 and in second TMUX pane (ctrl+b, then press 2) * when reporting a bug add logs from /tmp as separate text/plain attachments Traceback (most recent call last): File "/sbin/anaconda", line 582, in <module> startup_utils.set_installation_method_from_anaconda_options(anaconda, ksdata) File "/usr/lib64/python3.6/site-packages/pyanaconda/startup_utils.py", line 407, in set_installation_method_from_anaconda_options ksdata.method.method = source.method_type File "/usr/lib/python3.6/site-packages/pykickstart/commands/method.py", line 91, in __setattr__ super(FC3_Method, self).__setattr__(name, value) File "/usr/lib/python3.6/site-packages/pykickstart/commands/method.py", line 69, in method self._get_command(value).seen = True File "/usr/lib/python3.6/site-packages/pykickstart/commands/method.py", line 48, in _get_command raise AttributeError("Unknown method: {}".format(method)) AttributeError: Unknown method: livecd Version-Release number of selected component (if applicable): lorax-28.14.21-1.el8 anaconda-29.19.0.30-1.el8 How reproducible: always Steps to Reproduce: 1. yum install lorax 2. make a copy of /usr/share/doc/lorax/rhel-livemedia.ks and modify installation urls and root password 2. livemedia-creator --make-iso --ks rhel-livemedia.ks --no-virt 3. boot the created boot.iso and try to install to hard drive Actual results: Installer not started, traceback in journalctl Expected results: Installer starts successfully
Created attachment 1520032 [details] journalctl
Created attachment 1520033 [details] anaconda.log
Created attachment 1520034 [details] dbus.log
Created attachment 1520035 [details] program.log
Created attachment 1520036 [details] storage.log
You should try to install anaconda-runtime in your %packages section of your ks.cfg So try that anaconda-runtime
The same while attempting to install a live image built with CentOS 8: Starting installer, one moment... anaconda 29.19.0.43-1.el8_0 for CentOS Linux 8.0.1905 (pre-release) started. * installation log files are stored in /tmp during the installation * shell is available on TTY2 and in second TMUX pane (ctrl+b, then press 2) * when reporting a bug add logs from /tmp as separate text/plain attachments Traceback (most recent call last): File "/sbin/anaconda", line 582, in <module> startup_utils.set_installation_method_from_anaconda_options(anaconda, ksdata) File "/usr/lib64/python3.6/site-packages/pyanaconda/startup_utils.py", line 407, in set_installation_method_from_anaconda_options ksdata.method.method = source.method_type File "/usr/lib/python3.6/site-packages/pykickstart/commands/method.py", line 91, in __setattr__ super(FC3_Method, self).__setattr__(name, value) File "/usr/lib/python3.6/site-packages/pykickstart/commands/method.py", line 69, in method self._get_command(value).seen = True File "/usr/lib/python3.6/site-packages/pykickstart/commands/method.py", line 48, in _get_command raise AttributeError("Unknown method: {}".format(method)) AttributeError: Unknown method: livecd It seems related to bug #1622248
What info is needed? I'm having the problem too. The only way I can build live media is with cockpit-composer... and anaconda seems to no longer understand what a livecd install is.
Executing the installer using 'sudo /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base' is not a supported way of installation from live media even on Fedora, so the problems described in the comments above won't/can't be fixed. Testing was done using anaconda-33.16.3.21-1.el8 and the package anaconda-live-33.16.3.21-1.el8. The installer started and it was possible to finish the installation and boot the installed system. Please note that the package anaconda-live is not part of BaseOS/AppStream, since RHEL installations from live media are not supported in RHEL-8.3. The problem with anaconda-live being expected by rhel-livemedia.ks from lorax is tracked in bug 1876563. Moving to VERIFIED.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (anaconda bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:4729