Start rhel9.3 image, install coreos-installer-0.17.0-1.el9.x86_64, using coreos-installer to install on another disk, by default it will install Fedora CoreOS stable image, finally can boot the installed disk. Steps: 1) Start rhel9.3 VM with empty disk $ qemu-img create -f qcow2 test.qcow2 10G $ virt-install --import --name rhel9 --ram 2048 --disk path=/home/fedora/data/rhel-guest-image-9.3-20230317.27.x86_64.qcow2,format=raw --disk path=/home/fedora/data/test.qcow2 --os-variant rhel9-unknown --graphics none --network bridge=virbr0 2) Install coreos-installer [root@localhost ~]# dnf install -y coreos-installer-0.17.0-1.el9.x86_64.rpm coreos-installer-bootinfra-0.17.0-1.el9.x86_64.rpm [root@localhost ~]# rpm -qa | grep coreos-installer coreos-installer-0.17.0-1.el9.x86_64 coreos-installer-bootinfra-0.17.0-1.el9.x86_64 [root@localhost ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS vda 252:0 0 10G 0 disk ├─vda1 252:1 0 1M 0 part ├─vda2 252:2 0 200M 0 part /boot/efi ├─vda3 252:3 0 500M 0 part /boot └─vda4 252:4 0 9.3G 0 part / vdb 252:16 0 10G 0 disk 3) By default it will install Fedora CoreOS stable image on the empty disk [root@localhost ~]# coreos-installer install /dev/vdb \ --insecure-ignition \ --ignition-url http://192.168.122.1:8088/login.ign \ --console tty0 \ --console ttyS0,115200n8 Downloading Fedora CoreOS stable x86_64 metal image (raw.xz) and signature > Read disk 628.7 MiB/628.7 MiB (100%) gpg: Signature made Mon Mar 6 16:56:30 2023 EST gpg: using RSA key ACB5EE4E831C74BB7C168D27F55AD3FB5323552A gpg: Good signature from "Fedora (37) <fedora-37-primary>" [ultimate] [ 493.039296] GPT:Primary header thinks Alt. header is not at the end of the disk. [ 493.039299] GPT:4911103 != 20971519 [ 493.039300] GPT:Alternate GPT header not at the end of the disk. [ 493.039301] GPT:4911103 != 20971519 [ 493.039301] GPT: Use GNU Parted to correct GPT errors. [ 493.039307] vdb: vdb1 vdb2 vdb3 vdb4 Writing Ignition config [ 493.393500] EXT4-fs (vdb3): mounted filesystem with ordered data mode. Quota mode: none. [ 493.448690] EXT4-fs (vdb3): unmounting filesystem. Note: detected other devices with a filesystem labeled `boot`: - /dev/vda3 The installed OS may not work correctly if there are multiple boot filesystems. Before rebooting, investigate whether these filesystems are needed and consider wiping them with `wipefs -a`. Install complete. 4) Finally boot the installed disk $ virt-install --import --name fcos --ram 2048 --disk path=/home/fedora/data/test.qcow2 --check all=off --os-variant rhel9-unknown --graphics none --network bridge=virbr0 ... Fedora CoreOS 37.20230218.3.0 [core@localhost ~]$ rpm-ostree status State: idle AutomaticUpdatesDriver: Zincati DriverState: active; periodically polling for updates (last checked Fri 2023-03-17 09:55:55 UTC) Deployments: ● fedora:fedora/x86_64/coreos/stable Version: 37.20230218.3.0 (2023-03-06T20:02:24Z) Commit: d34ff10be925c01aad7d088fa2dcc18aaa3e9d7ead12081a18fb6883a94385d7 GPGSignature: Valid signature by ACB5EE4E831C74BB7C168D27F55AD3FB5323552A
> [root@localhost ~]# coreos-installer install /dev/vdb \ > --insecure-ignition \ > --ignition-url http://192.168.122.1:8088/login.ign \ > --console tty0 \ > --console ttyS0,115200n8 > Downloading Fedora CoreOS stable x86_64 metal image (raw.xz) and signature ... > [ 493.039296] GPT:Primary header thinks Alt. header is not at the end of the disk. > [ 493.039299] GPT:4911103 != 20971519 Just one minor question, when install Fedora CoreOS, get above logs, maybe it is harmless, but still want to confirm. Thanks!
Yes, those messages are normal and harmless.
(In reply to Benjamin Gilbert from comment #6) > Yes, those messages are normal and harmless. Thanks Benjamin for the confirmation. Change status to verified according to comment #4