Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-16879

Anaconda failed with grub2-install: error: ../grub-core/kern/fs.c:120:unknown filesystem.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • None
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      05:46:32,870 WARNING org.fedoraproject.Anaconda.Modules.Storage:INFO:program:Running in chroot '/mnt/sysroot'... grub2-install --no-floppy /dev/vda
      05:46:33,336 WARNING org.fedoraproject.Anaconda.Modules.Storage:INFO:program:Installing for i386-pc platform.
      05:46:33,336 WARNING org.fedoraproject.Anaconda.Modules.Storage:INFO:program:grub2-install: error: ../grub-core/kern/fs.c:120:unknown filesystem.
      05:46:33,336 WARNING org.fedoraproject.Anaconda.Modules.Storage:DEBUG:program:Return code: 1
      05:46:33,337 WARNING org.fedoraproject.Anaconda.Modules.Storage:INFO:anaconda.modules.storage.bootloader.grub2:bootloader.py: used boot args: resume=/dev/mapper/VolGroup00-LogVol04 rd.lvm.lv=VolGroup00/LogVol01 r
      d.lvm.lv=VolGroup00/LogVol04
      05:46:33,337 WARNING org.fedoraproject.Anaconda.Modules.Storage:INFO:program:Running in chroot '/mnt/sysroot'... grub2-set-default 2b6d9ca8b1544696a962be7b238b0827-4.18.0-425.19.2.el8_lustre.ddn17.x86_64
      05:46:33,355 WARNING org.fedoraproject.Anaconda.Modules.Storage:DEBUG:program:Return code: 0
      05:46:33,355 WARNING org.fedoraproject.Anaconda.Modules.Storage:INFO:program:Running in chroot '/mnt/sysroot'... grub2-mkconfig -o /boot/grub2/grub.cfg
      05:46:34,238 WARNING org.fedoraproject.Anaconda.Modules.Storage:INFO:program:Generating grub configuration file ...
      05:46:34,238 WARNING org.fedoraproject.Anaconda.Modules.Storage:INFO:program:/usr/sbin/grub2-probe: error: ../grub-core/kern/fs.c:120:unknown filesystem.
      05:46:34,238 WARNING org.fedoraproject.Anaconda.Modules.Storage:DEBUG:program:Return code: 1
      05:46:34,239 WARNING org.fedoraproject.Anaconda.Modules.Storage:ERROR:anaconda.modules.storage.bootloader.installation:Bootloader installation has failed: failed to write boot loader configuration
      05:46:34,239 WARNING org.fedoraproject.Anaconda.Modules.Storage:INFO:anaconda.threading:Thread Failed: AnaTaskThread-InstallBootloaderTask-1 (140086026888960)
      05:46:34,240 WARNING org.fedoraproject.Anaconda.Modules.Storage:ERROR:anaconda.modules.common.task.task:Thread AnaTaskThread-InstallBootloaderTask-1 has failed: Traceback (most recent call last):
      05:46:34,240 WARNING org.fedoraproject.Anaconda.Modules.Storage:  File "/usr/lib64/python3.6/site-packages/pyanaconda/threading.py", line 280, in run
      05:46:34,240 WARNING org.fedoraproject.Anaconda.Modules.Storage:    threading.Thread.run(self)
      05:46:34,240 WARNING org.fedoraproject.Anaconda.Modules.Storage:  File "/usr/lib64/python3.6/threading.py", line 885, in run
      05:46:34,240 WARNING org.fedoraproject.Anaconda.Modules.Storage:    self._target(*self._args, **self._kwargs)
      05:46:34,240 WARNING org.fedoraproject.Anaconda.Modules.Storage:  File "/usr/lib64/python3.6/site-packages/pyanaconda/modules/common/task/task.py", line 97, in _task_run_callback
      05:46:34,240 WARNING org.fedoraproject.Anaconda.Modules.Storage:    self._set_result(self.run())
      05:46:34,240 WARNING org.fedoraproject.Anaconda.Modules.Storage:  File "/usr/lib64/python3.6/site-packages/pyanaconda/modules/storage/bootloader/installation.py", line 106, in run
      05:46:34,240 WARNING org.fedoraproject.Anaconda.Modules.Storage:    raise BootloaderInstallationError(str(e)) from None
      05:46:34,240 WARNING org.fedoraproject.Anaconda.Modules.Storage:pyanaconda.modules.common.errors.installation.BootloaderInstallationError: failed to write boot loader configuration

      After investigation we found that the problem located in updated e2fsprogs.

      From https://www.linuxfromscratch.org/lfs/view/stable/chapter08/e2fsprogs.html :

      8.74.2.
                Configuring E2fsprogs
              
              
                /etc/mke2fs.conf contains the default
                value of various command line options of mke2fs. You may edit the file to
                make the default values suitable for your need. For example, some
                utilities (not in LFS or BLFS) cannot recognize a ext4 file system with metadata_csum_seed feature enabled. If you need such an utility, you may
                remove the feature from the default ext4 feature list with the command:
              
              sed 's/metadata_csum_seed,//' -i /etc/mke2fs.conf
              
                Read the man page mke2fs.conf(5) for
                details.
               

      Attachments

        Issue Links

          Activity

            People

              adilger Andreas Dilger
              adilger Andreas Dilger
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: