Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-4711

[Regression] Cannot install the system when hard disk is pre-hosting a CDROM image

Details

    • Major
    • sst_installer
    • ssg_front_door
    • False
    • Hide

      None

      Show
      None
    • Known Issue
    • Hide
      .Hard drive partitioned installations with iso9660 filesystem fails

      You cannot install RHEL on systems where the hard drive is partitioned with the `iso9660` filesystem. This is due to the updated installation code that is set to ignore any hard disk containing a `iso9660` file system partition. This happens even when RHEL is installed without using a DVD.

      To workaround this problem, add the following script in the Kickstart file to format the disc before the installation starts.

      Note: Before performing the workaround, backup the data available on the disk. The `wipefs` command formats all the existing data from the disk.


      [literal,subs="quotes"]
      ----
      %pre
      wipefs -a __/dev/sda__
      %end
      ----

      As a result, installations work as expected without any errors.
      Show
      .Hard drive partitioned installations with iso9660 filesystem fails You cannot install RHEL on systems where the hard drive is partitioned with the `iso9660` filesystem. This is due to the updated installation code that is set to ignore any hard disk containing a `iso9660` file system partition. This happens even when RHEL is installed without using a DVD. To workaround this problem, add the following script in the Kickstart file to format the disc before the installation starts. Note: Before performing the workaround, backup the data available on the disk. The `wipefs` command formats all the existing data from the disk. [literal,subs="quotes"] ---- %pre wipefs -a __/dev/sda__ %end ---- As a result, installations work as expected without any errors.
    • Done

    Description

      Created attachment 1757202 [details]
      Anaconda logs with kickstart in run/install

      Description of problem:

      When the hard drive contains a preloaded CDROM image, the system cannot be installed, due to python-blivet excluding any hard disk containing a iso9660 file system partition.
      This happens even when the installation is performed without using a DVD at all.

      The reason for this seems new detection code introduced with 8.3

      Version-Release number of selected component (if applicable):

      anaconda-33.16.3.26-1.el8

      How reproducible:

      ALWAYS

      Steps to Reproduce:
      1. Attach a disk to a VM and copy a DVD on it

      1. dd if=/dev/sr0 of=/dev/sdb bs=10M

      2. Detach the disk and attach it to a new VM to install

      The VM was configured with a DVD drive (unused), but this doesn't change anything.

      3. Install the system using a kickstart (/run/install/ks.cfg in anaconda.tar.gz)

      -------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
      [...]
      zerombr
      clearpart --all --initlabel
      autopart --type=lvm
      bootloader --location=mbr
      [...]
      -------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------

      Actual results:

      Console:
      -------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
      Saving storage configuration...
      Failed to save storage configuration
      No usable disks.
      -------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------

      storage.log:
      -------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
      DEBUG:anaconda.storage:Marking device sr0 as protected.
      DEBUG:anaconda.storage:Marking device sda as protected.
      -------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------

      Expected results:

      /dev/sda gets repartitioned and system installs

      Additional info:

      This is a critical issue for customers deploying system booting on a pre-initialized hard disk hosting a pre-boot environment.

      Attachments

        Activity

          People

            anaconda-maint-list anaconda-maint-list
            rhn-support-rmetrich Renaud Metrich
            anaconda-maint-list anaconda-maint-list
            Release Test Team Release Test Team
            Sagar Dubewar Sagar Dubewar
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: