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:


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.