RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2229122 - Minimal install doesn't boot anymore
Summary: Minimal install doesn't boot anymore
Keywords:
Status: CLOSED DUPLICATE of bug 2227722
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: grub2
Version: CentOS Stream
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: rc
: ---
Assignee: Bootloader engineering team
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-04 09:30 UTC by Sandro Bonazzola
Modified: 2023-08-04 09:58 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-04 09:58:42 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)
rdsosreport (82.23 KB, text/plain)
2023-08-04 09:30 UTC, Sandro Bonazzola
no flags Details
journal (76.29 KB, text/plain)
2023-08-04 09:31 UTC, Sandro Bonazzola
no flags Details
anaconda kickstart generated by the installer (1022 bytes, text/plain)
2023-08-04 09:33 UTC, Sandro Bonazzola
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-164521 0 None None None 2023-08-04 09:31:39 UTC

Description Sandro Bonazzola 2023-08-04 09:30:24 UTC
Created attachment 1981609 [details]
rdsosreport

Performed a minimal install using latest boot image for CentOS Stream 9, selected minimal install.
At reboot the system enters recovery shell.
journalctl -b -p warning shows:
Failed to switch root: Specified switch root path '/sysroot' does not seem to be an OS tree. os-release file is missing.


Version-Release number of selected component (if applicable):
https://mirror.stream.centos.org/9-stream/BaseOS/x86_64/iso/CentOS-Stream-9-20230727.1-x86_64-boot.iso

How reproducible: 100%
happened 3 times out ot 3 tests


Steps to Reproduce:
1. install minimal CentOS Stream

Actual results:
Doesn't boot

Expected results:
Boot

Additional info:

Comment 1 Sandro Bonazzola 2023-08-04 09:31:08 UTC
Created attachment 1981610 [details]
journal

Comment 2 Sandro Bonazzola 2023-08-04 09:33:47 UTC
Created attachment 1981611 [details]
anaconda kickstart generated by the installer

Comment 3 Sandro Bonazzola 2023-08-04 09:35:46 UTC
# guestfish --rw -i -a centos-stream9.qcow2 ls /etc/os-release
libguestfs: error: ls0: opendir: /etc/os-release: Not a directory

so yes, the os-release file is missing. Perhaps it's more like an anaconda bug

Comment 4 Sandro Bonazzola 2023-08-04 09:41:07 UTC
weird, 
# guestfish --rw -i -a centos-stream9.qcow2 sh "ls /etc/os-release"
/etc/os-release

# guestfish --rw -i -a centos-stream9.qcow2 sh "cat /etc/os-release"
NAME="CentOS Stream"
VERSION="9"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="9"
PLATFORM_ID="platform:el9"
PRETTY_NAME="CentOS Stream 9"
ANSI_COLOR="0;31"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:centos:centos:9"
HOME_URL="https://centos.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux 9"
REDHAT_SUPPORT_PRODUCT_VERSION="CentOS Stream"

so it's there. No clue on why it's not being found at boot.

Comment 5 Jan Stodola 2023-08-04 09:58:42 UTC

*** This bug has been marked as a duplicate of bug 2227722 ***


Note You need to log in before you can comment on or make changes to this bug.