Boot Fedora CoreOS installed in secondary hard disk from another OS GRUB

Hi,

I have a virtual machine with two hard drives, in the first one I have installed an Ubuntu 20 OS with a reconfigured GRUB with an additional menu entry (“Other Linux”) that sets the root parameter to point to the second hard drive and a chainloader command to load the bootloader of the second disk.

If I install Fedora Workstation in the second hard disk, and after reboot I select the “Other Linux” option, the Fedora Workstation OS boots correctly without any problems.

On the contrary, if I install Fedora CoreOS in the second hard disk, and after reboot I select the “Other Linux” option, it starts booting but gets stuck forever with the following last messages:

I’ve done several tests installing multiple OS in a single system with multiple hard disks or a single hard disk with multiple partitions, and always that CoreOS is involved it either fails during the installation or booting.

Is there a way Fedora CoreOS can be fully booted when installed in a secondary hard disk and loaded as explained previously?

Thanks in advance!

2 Likes

Any chance you can get more of the log messages? Maybe by using the serial console: Emergency console access :: Fedora Docs

What happens if you change the boot order so that the FCOS disk is first, does it work then?

I changed the disks order, so FCOS booted first and for the very first time after the installation it reached the login section for the core user, writing the user and password gave me access to the file system console.

The FCOS image I have installed was rebuilt using the CoreOS Assembler, so I also added a custom “Other Linux” entry in the FCOS GRUB menu to chain load the OS installed in the second disk.

After the first time I booted FCOS as the primary OS, I rebooted the system and selected the “Other Linux” option to boot the second disk containing the Ubuntu OS, and it booted without any problems.

Interestingly, after restoring the disk order and loading the FCOS image in the second disk from the Ubuntu GRUB menu, it didn’t got stuck, it reached the login part and then I got into the file system console.

The issue seems to be related to the very first time the FCOS (from a secondary disk) should ask for the user and password to login.

The first boot of FCOS is unusual for a variety of reasons, notably the running of Ignition. Your screenshot implies that the boot failed inside the initramfs. I’ll second Dusty’s request for console logs (which would require a reinstall of FCOS at this point). If you don’t want to use the serial console to get logs, you can remove console=ttyS0,115200 from the kernel arguments on the first boot.

You can find the console boot logs below, I could see more information, it seems that the ignition-disks.service is getting errors because it’s trying to use the partition table from /dev/sda instead of /dev/sdb which is the disk where CoreOS is actually installed. Not sure if that could be fixed from the ignition configuration file.

Console boot logs

Welcome to e[0;38;2;60;110;180mFedora CoreOS 33.20210519.dev.2 dracut-050-64.git20200529.fc33 (Initramfs)e[0m!

[ 3.920352] systemd[1]: No hostname configured.
[ 3.922013] systemd[1]: Set hostname to .
[ 5.215179] scsi 33:0:0:0: Attached scsi generic sg1 type 0
[ 5.215406] sd 33:0:0:0: [sda] 104857600 512-byte logical blocks: (53.7 GB/50.0 GiB)
[ 5.217823] sd 33:0:1:0: [sdb] 41943040 512-byte logical blocks: (21.5 GB/20.0 GiB)
[ 5.221090] sd 33:0:0:0: [sda] Write Protect is off
[ 5.223996] sd 33:0:1:0: Attached scsi generic sg2 type 0
[ 5.224539] e1000 0000:02:01.0 eth0: (PCI:66MHz:32-bit) 00:0c:29:48:87:48
[ 5.224542] e1000 0000:02:01.0 eth0: Intel(R) PRO/1000 Network Connection
[ 5.225811] sd 33:0:1:0: [sdb] Write Protect is off
[ 5.225916] sd 33:0:1:0: [sdb] Cache data unavailable
[ 5.225916] sd 33:0:1:0: [sdb] Assuming drive cache: write through
[ 5.226682] systemd-udevd[512]: Using default interface naming scheme ‘v245’.
[ 5.229166] systemd-udevd[512]: ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable.
[ 5.229264] e1000 0000:02:01.0 ens33: renamed from eth0
[ 5.230932] sd 33:0:0:0: [sda] Cache data unavailable
[ 5.248233] sd 33:0:0:0: [sda] Assuming drive cache: write through
[ 5.254105] GPT:Primary header thinks Alt. header is not at the end of the disk.
[ 5.255573] sda: sda1 sda2 sda3
[ 5.257126] GPT:9467903 != 41943039
[ 5.259455] sd 33:0:0:0: [sda] Attached SCSI disk
[ 5.259763] GPT:Alternate GPT header not at the end of the disk.
[ 5.263629] GPT:9467903 != 41943039
[ 5.264873] GPT: Use GNU Parted to correct GPT errors.
[ 5.266691] sdb: sdb1 sdb2 sdb3 sdb4
[ 5.270413] sd 33:0:1:0: [sdb] Attached SCSI disk
[ 5.301734] systemd[1]: Found device VMware_Virtual_S boot.
[e[0;32m OK e[0m] Found device e[0;1;39mVMware_Virtual_S boote[0m.
[ 5.310162] systemd[1]: Starting Generate new UUID for boot disk GPT…
Starting e[0;1;39mGenerate new UUID for boot disk GPTe[0m…
[e[0;32m OK e[0m] Finished e[0;1;39mWait for udev To Complete Device Initializatione[0m.
[ 5.317124] systemd[1]: Finished Wait for udev To Complete Device Initialization.
[ 5.321034] systemd[1]: Condition check resulted in Device-Mapper Multipath Default Configuration being skipped.
[ 5.328133] GPT:Primary header thinks Alt. header is not at the end of the disk.
[ 5.330753] GPT:9467903 != 41943039
[ 5.332069] GPT:Alternate GPT header not at the end of the disk.
[ 5.334185] GPT:9467903 != 41943039
[ 5.335463] GPT: Use GNU Parted to correct GPT errors.
[ 5.337373] sdb: sdb1 sdb2 sdb3 sdb4
[ 5.355305] sdb: sdb1 sdb2 sdb3 sdb4
[ 5.807648] scsi 32:0:0:0: Direct-Access USB Flash Disk 1100 PQ: 0 ANSI: 6
[ 5.811088] sd 32:0:0:0: Attached scsi generic sg3 type 0
[ 5.812950] sd 32:0:0:0: [sdc] 62914560 512-byte logical blocks: (32.2 GB/30.0 GiB)
[ 5.817552] sd 32:0:0:0: [sdc] Write Protect is off
[ 5.821826] sd 32:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn’t support DPO or FUA
[ 5.845386] sdc: sdc1
[ 5.855443] sd 32:0:0:0: [sdc] Attached SCSI removable disk
[ 6.346715] sdb: sdb1 sdb2 sdb3 sdb4
[ 6.349266] coreos-gpt-setup[558]: The operation has completed successfully.
[e[0;32m OK e[[ 6.379810] systemd[1]: Finished Generate new UUID for boot disk GPT.
0m] Finished e[0;1;39mGenerate new UUID for boot disk GPTe[0m.
[ 6.384199] kauditd_printk_skb: 5 callbacks suppressed
[ 6.384200] audit: type=1130 audit(1623171467.326:16): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg=‘unit=coreos-gpt-setup comm=“systemd” exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success’
[ 6.385284] systemd[1]: Starting Ignition OSTree: Regenerate filesystem UUID (boot)…
Startin[ 6.398568] ignition-ostree-firstboot-uuid[567]: e2fsck 1.45.6 (20-Mar-2020)
g e[0;1;39mIgnit[ 6.401230] ignition-ostree-firstboot-uuid[567]: Pass 1: Checking inodes, blocks, and sizes
ion OSTree: …rate filesystem UUID (boot)e[0m…
[ 6.408525] ignition-ostree-firstboot-uuid[567]: Pass 2: Checking directory structure
[ 6.411841] ignition-ostree-firstboot-uuid[567]: Pass 3: Checking directory connectivity
[ 6.415488] ignition-ostree-firstboot-uuid[567]: Pass 4: Checking reference counts
[ 6.419905] ignition-ostree-firstboot-uuid[567]: Pass 5: Checking group summary information
[ 6.423927] ignition-ostree-firstboot-uuid[567]: boot: 314/98304 files (0.0% non-contiguous), 111465/393216 blocks
[ 6.428959] ignition-ostree-firstboot-uuid[568]: tune2fs 1.45.6 (20-Mar-2020)
[ 6.437889] ignition-ostree-firstboot-uuid[565]: Regenerated UUID for /dev/disk/by-label/boot
[ 6.441192] systemd[1]: Finished Ignition OSTree: Regenerate filesystem UUID (boot).
[e[0;32m OK e[0m] Finished e[0;1;39mIgnition OSTree: …nerate filesystem UUID (boot)e[0m.
[ 6.446470] audit: type=1130 audit(1623171467.388:17): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg=‘unit=ignition-ostree-uuid-boot comm=“systemd” exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success’
[ 6.454482] systemd[1]: Starting Ignition (setup user config)…
Starting e[0;1;39mIgnition (setup user config)e[0m…
[ 6.468731] EXT4-fs (sdb3): mounted filesystem with ordered data mode. Opts: (null)
[ 6.473319] ignition-setup-user[571]: Copying /mnt/boot_partition/ignition/config.ign to /usr/lib/ignition/user.ign
[ 6.478099] systemd[1]: Finished Ignition (setup user config).
[e[0;32m OK e[0m] Finished e[0;1;39mIgnition (setup user config)e[0m.
[ 6.482204] audit: type=1130 audit(1623171467.424:18): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg=‘unit=ignition-setup-user comm=“systemd” exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success’
[ 6.483077] systemd[1]: Starting Device-Mapper Multipath Device Controller…
Starting e[0;1;39mDevice-Mapper Multipath Device Controllere[0m…
[[ 6.495801] systemd[1]: Started Device-Mapper Multipath Device Controller.
e[0;32m OK e[0m] Started e[0;1;39[ 6.499383] multipathd[583]: --------start up--------
mDevice-Mapper Multipath Device [ 6.501772] multipathd[583]: read /etc/multipath.conf
Controllere[0m.
[ 6.505962] audit: type=1130 audit(1623171467.447:19): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg=‘unit=multipathd comm=“systemd” exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success’
[ 6.506283] multipathd[583]: /etc/multipath.conf does not exist, blacklisting all devices.
[ 6.515904] multipathd[583]: You can run “/sbin/mpathconf --enable” to create
[ 6.515931] multipathd[583]: /etc/multipath.conf. See man mpathconf(8) for more details
[[ 6.521978] multipathd[583]: /etc/multipath.conf does not exist, blacklisting all devices.
e[0;32m OK e[0[ 6.525029] multipathd[583]: You can run “/sbin/mpathconf --enable” to create
m[ 6.527927] multipathd[583]: /etc/multipath.conf. See man mpathconf(8) for more details
] [ 6.530922] multipathd[583]: failed to increase buffer size
Reached target e[ 6.533012] multipathd[583]: path checkers start up
[0;1;39mLocal Fi[ 6.535363] systemd[1]: Reached target Local File Systems (Pre).
le Systems (Pre)e[0m.
[[ 6.539481] systemd[1]: Reached target Local File Systems.
e[0;32m OK e[0m] Reached target e[0;1;39mLocal File Systemse[0m.
[ 6.544558] systemd[1]: Starting Create Volatile Files and Directories…
Starting e[0;1;39mCreate Volatile Files and Directoriese[0m…
[[ 6.553626] systemd[1]: Finished Create Volatile Files and Directories.
e[0;32m OK e[0m] Finished e[0;1;39mCreate Volatile Files and Directoriese[0m.
[ 6.558800] audit: type=1130 audit(1623171467.499:20): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg=‘unit=systemd-tmpfiles-setup comm=“systemd” exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success’
[ 6.558939] systemd[1]: Reached target System Initialization.
[e[0;32m OK e[0m] Reached target e[0;1;39mSystem Initializatione[0m.
[[ 6.572694] systemd[1]: Reached target Basic System.
e[0;32m OK e[0m] Reached target e[0;1;39mBasic Systeme[0m.
[ 6.577829] systemd[1]: Starting Ignition (fetch-offline)…
Starting e[0;1;39mIgnition (fetch-offline)e[0m…
[ 6.585123] ignition[591]: Ignition 2.10.1
[ 6.586842] ignition[591]: Stage: fetch-offline
[ 6.588549] ignition[591]: reading system config file “/usr/lib/ignition/base.d/00-core.ign”
[[ 6.591773] ignition[591]: fetched base config from “system”
e[0;32m OK e[0[ 6.593969] ignition[591]: fetched user config from “system”
m[ 6.596334] ignition[591]: reading system config file “/usr/lib/ignition/base.d/30-afterburn-sshkeys-core.ign”
] [ 6.600102] systemd[1]: Finished Ignition (fetch-offline).
Finished e[0;1;3[ 6.602417] ignition[591]: no config dir at “/usr/lib/ignition/base.platform.d/metal”
9mIgnition (fetc[ 6.605976] ignition[591]: no config URL provided
h-offline)e[0m.[ 6.607910] ignition[591]: reading system config file “/usr/lib/ignition/user.ign”

[ 6.610961] ignition[591]: fetch-offline: fetch-offline passed
[ 6.613179] ignition[591]: Ignition finished successfully
[ 6.613322] audit: type=1130 audit(1623171467.555:21): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg=‘unit=ignition-fetch-offline comm=“systemd” exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success’
[ 6.615327] systemd[1]: Condition check resulted in CoreOS Enable Network being skipped.
[ 6.626238] systemd[1]: Starting Copy CoreOS Firstboot Networking Config…
Starting e[0;1;39mCopy CoreOS Fi[ 6.630442] EXT4-fs (sdb3): mounted filesystem with ordered data mode. Opts: (null)
rstboot Networking Confige[0m…
[ 6.634301] systemd[1]: Condition check resulted in Ignition (fetch) being skipped.
[ 6.638098] systemd[1]: Starting Ignition (kargs)…
Startin[ 6.640199] coreos-copy-firstboot-network[598]: info: no files to copy from /mnt/boot_partition/coreos-firstboot-network. skipping
g e[0;1;39mIgnition (kargs)e[0m.[ 6.644933] ignition[605]: Ignition 2.10.1

[ 6.646822] ignition[605]: Stage: kargs
[ 6.648312] systemd[1]: Starting Ignition OSTree: Detect Partition Transposition…
[ 6.648361] ignition[605]: reading system config file “/usr/lib/ignition/base.d/00-core.ign”
Startin[ 6.654853] ignition[605]: reading system config file “/usr/lib/ignition/base.d/30-afterburn-sshkeys-core.ign”
g e[0;1;39mIgnit[ 6.658810] ignition[605]: no config dir at “/usr/lib/ignition/base.platform.d/metal”
ion OSTree: …e[ 6.661829] ignition[605]: kargs: kargs passed
ct Partition Tra[ 6.663719] ignition[605]: Ignition finished successfully
nspositione[0m…
[ 6.667304] systemd[1]: Finished Copy CoreOS Firstboot Networking Config.
[e[0;32m OK e[0m] Finished e[0;1;39mCopy CoreOS Firstboot Networking Confige[0m.
[ 6.673337] audit: type=1130 audit(1623171467.615:22): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg=‘unit=coreos-copy-firstboot-network comm=“systemd” exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success’
[ 6.673726] systemd[1]: Finished Ignition (kargs).
[e[0;32m OK e[0m] Finished e[0;1;39mIgnition (kargs)e[0m.
[ 6.684080] audit: type=1130 audit(1623171467.626:23): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg=‘unit=ignition-kargs comm=“systemd” exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success’
[ 6.685966] systemd[1]: Starting dracut initqueue hook…
Starting e[0;1;39mdracut initqueue hooke[0m…
[ 6.695749] systemd[1]: Finished dracut initqueue hook.
[e[0;32m OK e[0m] Finished e[0;1;39mdracut initqueue hooke[0m.
[ 6.699450] audit: type=1130 audit(1623171467.641:24): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg=‘unit=dracut-initqueue comm=“systemd” exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success’
[ 6.699644] systemd[1]: Reached target Remote File Systems (Pre).
[e[0;32m OK e[0m] Reached target e[0;1;39mRemote File Systems (Pre)e[0m.
[ 6.711345] systemd[1]: Reached target Remote File Systems.
[e[0;32m OK e[0m] Reached target e[0;1;39mRemote File Systemse[0m.
[ 6.715337] systemd[1]: Condition check resulted in Acquire live PXE rootfs image being skipped.
[ 6.718654] systemd[1]: Condition check resulted in Persist osmet files (PXE) being skipped.
Starting e[0;1;39mdracut pre-mount hooke[0m…
[ 6.723388] systemd[1]: Starting dracut pre-mount hook…
[ 6.731789] systemd[1]: Finished dracut pre-mount hook.
[e[0;32m OK e[0m] Finished e[0;1;39mdracut pre-mount hooke[0m.
[ 6.735860] audit: type=1130 audit(1623171467.678:25): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg=‘unit=dracut-pre-mount comm=“systemd” exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success’
[ 6.792341] systemd[1]: Finished Ignition OSTree: Detect Partition Transposition.
[e[0;32m OK e[0m] Finished e[0;1;39mIgnition OSTree: Detect Partition Transpositione[0m.
[ 6.797354] systemd[1]: Condition check resulted in Ignition OSTree: Save Partitions being skipped.
[ 6.800742] systemd[1]: Starting Ignition (disks)…
Starting e[0;1;39mIgnition (disks)e[0m…
[ 6.807538] ignition[634]: Ignition 2.10.1
[ 6.809134] ignition[634]: Stage: disks
[ 6.810588] ignition[634]: reading system config file “/usr/lib/ignition/base.d/00-core.ign”
[ 6.813686] ignition[634]: disks failed
[ 6.815140] ignition[634]: Full config:
[e[0;1;31mFAILED[ 6.816609] ignition[634]: {
e[0m] Failed to [ 6.818142] ignition[634]: “ignition”: {
start e[0;1;39mI[ 6.820576] ignition[634]: “config”: {
gnition (disks)e[ 6.822360] ignition[634]: “replace”: {
[0m.
[ 6.824264] ignition[634]: “verification”: {}
[ 6.826190] ignition[634]: }
[ 6.827575] ignition[634]: },
[ 6.828858] ignition[634]: “proxy”: {},
See ‘systemctl s[ 6.830528] ignition[634]: “security”: {
tatus ignition-d[ 6.832407] ignition[634]: “tls”: {}
isks.service’ fo[ 6.834176] ignition[634]: },
r details.
[ 6.836054] ignition[634]: “timeouts”: {},
[ 6.838106] ignition[634]: “version”: “3.3.0-experimental”
[ 6.840204] ignition[634]: },
[e[0;1;38;5;185m[ 6.841366] ignition[634]: “kernelArguments”: {},
DEPENDe[0m] Depe[ 6.843515] ignition[634]: “passwd”: {
ndency failed fo[ 6.845469] ignition[634]: “users”: [
r e[0;1;39mIgnit[ 6.847240] ignition[634]: {
ion Completee[0m[ 6.848794] ignition[634]: “gecos”: “CoreOS Admin”,
.
[ 6.851098] ignition[634]: “groups”: [
[ 6.853027] ignition[634]: “adm”,
[ 6.854542] ignition[634]: “sudo”,
[e[0;1;38;5;185m[ 6.856128] ignition[634]: “systemd-journal”,
DEPENDe[0m] Depe[ 6.858416] ignition[634]: “wheel”
ndency failed fo[ 6.860233] ignition[634]: ],
r e[0;1;39mInitr[ 6.861890] ignition[634]: “name”: “core”,
d Default Target[ 6.863917] ignition[634]: “passwordHash”: “$6$imI3LNiSyehxCrEj$R9Uy5uW21j9jh3PyoV233C668hl79XWrSSgHgNSRg7WoemrqK5vlzxxgpl4habyhZyDzCpqd0bHxsAxrUCbL3.”
e[0m.
[ 6.869541] ignition[634]: }
[ 6.871385] ignition[634]: ]
[ 6.872646] ignition[634]: },
[ 6.873805] ignition[634]: “storage”: {
[e[0;1;38;5;185m[ 6.875266] ignition[634]: “disks”: [
DEPENDe[0m] Depe[ 6.877082] ignition[634]: {
ndency failed fo[ 6.878649] ignition[634]: “device”: “/dev/sda”,
r e[0;1;39mIgniâ[ 6.880873] ignition[634]: “partitions”: [
€¦e: Mount (firs[ 6.882898] ignition[634]: {
tboot) /sysroote[ 6.884557] ignition[634]: “label”: “root”,
[0m.
[ 6.887025] ignition[634]: “number”: 4,
[ 6.888912] ignition[634]: “resize”: true,
[e[0;1;38;5;185m[ 6.890801] ignition[634]: “sizeMiB”: 16384
DEPENDe[0m] Depe[ 6.893051] ignition[634]: }
ndency failed fo[ 6.894718] ignition[634]: ],
r e[0;1;39mIgniâ[ 6.896368] ignition[634]: “wipeTable”: false
€¦ OSTree: Grow [ 6.898472] ignition[634]: }
root filesysteme[ 6.900030] ignition[634]: ],
[0m.
[ 6.901672] ignition[634]: “files”: [
[ 6.904362] ignition[634]: {
[ 6.905741] ignition[634]: “group”: {},
[e[0;32m OK e[[ 6.907404] ignition[634]: “path”: “/etc/ssh/sshd_config.d/20-enable-passwords.conf”,
0m] Stopped e[0;[ 6.910758] ignition[634]: “user”: {},
1;39mForward Pas[ 6.912657] ignition[634]: “contents”: {
sword R…sts to[ 6.914628] ignition[634]: “source”: “data:,%23%20Fedora%20CoreOS%20disables%20SSH%20password%20login%20by%20default.%0A%23%20Enable%20it.%0A%23%20This%20file%20must%20sort%20before%2040-disable-passwords.conf.%0APasswordAuthentication%20yes%0A”,
Clevis Director[ 6.923418] ignition[634]: “verification”: {}
y Watche[0m.
[ 6.925540] ignition[634]: },
[ 6.927050] ignition[634]: “mode”: 420
[ 6.928679] ignition[634]: }
[ 6.929949] ignition[634]: ]
[e[0;32m OK e[[ 6.931177] ignition[634]: },
0m] Stopped targ[ 6.932642] ignition[634]: “systemd”: {
et e[0;1;39mRemo[ 6.934420] ignition[634]: “units”: [
te File Systemse[ 6.936860] ignition[634]: {
[0m.
[ 6.938655] ignition[634]: “enabled”: true,
[ 6.940476] ignition[634]: “name”: “afterburn-sshkeys@core.service”
[ 6.942969] ignition[634]: }
[e[0;32m OK e[[ 6.944250] ignition[634]: ]
0m] Stopped targ[ 6.946023] ignition[634]: }
et e[0;1;39mRemote File Systems [ 6.947808] ignition[634]: reading system config file “/usr/lib/ignition/base.d/30-afterburn-sshkeys-core.ign”
(Pre)e[0m.
[ 6.951769] ignition[634]: }
[ 6.953200] systemd[1]: ignition-disks.service: Main process exited, code=exited, status=1/FAILURE
[e[0;32m OK e[[ 6.956500] systemd[1]: ignition-disks.service: Failed with result ‘exit-code’.
0m] Stopped targ[ 6.959626] ignition[634]: no config dir at “/usr/lib/ignition/base.platform.d/metal”
et e[0;1;39mTime[ 6.962660] systemd[1]: Failed to start Ignition (disks).
rse[0m.
[ 6.964867] ignition[634]: disks: createPartitions: op(1): [started] waiting for devices [/dev/sda]
[ 6.968406] systemd[1]: Dependency failed for Ignition Complete.
[ 6.971055] ignition[634]: disks: createPartitions: op(1): [finished] waiting for devices [/dev/sda]
[e[0;32m OK e[[ 6.974361] systemd[1]: Dependency failed for Initrd Default Target.
0m] Stopped e[0;[ 6.976906] ignition[634]: disks: createPartitions: created device alias for “/dev/sda”: “/run/ignition/dev_aliases/dev/sda” → “/dev/sda”
1;39mIgnition (f[ 6.981582] systemd[1]: initrd.target: Job initrd.target/start failed with result ‘dependency’.
etch-offline)e[0[ 6.984919] ignition[634]: disks: createPartitions: op(2): [started] partitioning “/run/ignition/dev_aliases/dev/sda”
m.
[ 6.989637] systemd[1]: initrd.target: Triggering OnFailure= dependencies.
[ 6.992124] ignition[634]: disks: createPartitions: op(2): op(3): [started] reading partition table of “/run/ignition/dev_aliases/dev/sda”
[ 6.996533] systemd[1]: ignition-complete.target: Job ignition-complete.target/start failed with result ‘dependency’.
[ 7.000301] ignition[634]: disks: createPartitions: op(2): op(3): [failed] reading partition table of “/run/ignition/dev_aliases/dev/sda”: “/run/ignition/dev_aliases/dev/sda” is not a gpt disk
[ 7.007085] systemd[1]: Dependency failed for Ignition OSTree: Mount (firstboot) /sysroot.
[e[0;32m OK e[[ 7.010119] ignition[634]: disks: createPartitions: op(2): [failed] partitioning “/run/ignition/dev_aliases/dev/sda”: “/run/ignition/dev_aliases/dev/sda” is not a gpt disk
0m] Stopped targ[ 7.015841] systemd[1]: Dependency failed for Ignition OSTree: Grow root filesystem.
et e[0;1;39mBasi[ 7.019041] ignition[634]: Ignition failed: create partitions failed: “/run/ignition/dev_aliases/dev/sda” is not a gpt disk
c Systeme[0m.
[ 7.023385] systemd[1]: ignition-ostree-growfs.service: Job ignition-ostree-growfs.service/start failed with result ‘dependency’.
[ 7.027676] systemd[1]: ignition-ostree-mount-firstboot-sysroot.service: Job ignition-ostree-mount-firstboot-sysroot.service/start failed with result ‘dependency’.
[e[0;32m OK e[0[ 7.032992] systemd[1]: ignition-disks.service: Triggering OnFailure= dependencies.
m] [ 7.036854] systemd[1]: clevis-luks-askpass.path: Succeeded.
Stopped target e[ 7.039018] systemd[1]: Stopped Forward Password Requests to Clevis Directory Watch.
[0;1;39mPathse[0[ 7.042086] systemd[1]: Stopped target Remote File Systems.
m.[ 7.044352] systemd[1]: Stopped target Remote File Systems (Pre).

[ 7.046734] systemd[1]: Stopped target Timers.
[ 7.048446] systemd[1]: ignition-fetch-offline.service: Succeeded.
[ 7.050682] systemd[1]: Stopped Ignition (fetch-offline).
[[ 7.052901] systemd[1]: Stopped target Basic System.
e[0;32m OK e[0[ 7.054736] systemd[1]: Stopped target Paths.
m[ 7.056657] systemd[1]: Stopped target Slices.
] Stopped target e[0;1;39mSlicese[0m.
[[ 7.059789] systemd[1]: Stopped target Sockets.
e[0;32m OK e[0m] Stopped target e[0;1;39mSocketse[0m.
[[ 7.063358] systemd[1]: Stopped target System Initialization.
e[0;32m OK e[0m] Stopped target e[0;1;39mSystem Initializatione[0m.
[ 7.067904] systemd[1]: Stopped target Swap.
[e[0;32m OK e[0m] Stopped target e[0;1;39mSwape[0m.
[[ 7.073486] systemd[1]: Started Emergency Shell.
e[0;32m OK e[0m] Started e[0;1;39mEmergency Shelle[0m.
[[ 7.077561] systemd[1]: Reached target Emergency Mode.
e[0;32m OK e[0m] Reached target e[0;1;39mEmergency Modee[0m.
[ 7.081592] systemd[1]: ignition-kargs.service: Succeeded.
[ 7.083632] systemd[1]: Stopped Ignition (kargs).
[e[0;32m OK e[0m] Stopped e[0;1;39mIgnition (kargs)e[0m.
[ 7.087863] systemd[1]: Condition check resulted in Dump journal to virtio port being skipped.
[[ 7.091200] systemd[1]: dracut-pre-mount.service: Succeeded.
e[0;32m OK e[0[ 7.093304] systemd[1]: Stopped dracut pre-mount hook.
m] Stopped e[0;1;39mdracut pre-mount hooke[0m.
[[ 7.097298] systemd[1]: Stopped target Local Encrypted Volumes.
e[0;32m OK e[0m] Stopped target e[0;1;39mLocal Encrypted Volumese[0m.
[ 7.101850] systemd[1]: systemd-ask-password-console.path: Succeeded.
[[ 7.105136] systemd[1]: Stopped Dispatch Password Requests to Console Directory Watch.
e[0;32m OK e[0m] Stopped e[0;1;39mDispatch Password …ts to Console Directory Watche[0m.
[ 7.110784] systemd[1]: dracut-initqueue.service: Succeeded.
[ 7.112875] systemd[1]: Stopped dracut initqueue hook.
[e[0;32m OK e[0m] Stopped e[0;1;39mdracut initqueue hooke[0m.
[[ 7.117035] systemd[1]: coreos-copy-firstboot-network.service: Succeeded.
e[0;32m OK e[0[ 7.120352] systemd[1]: Stopped Copy CoreOS Firstboot Networking Config.
m] Stopped e[0;1;39mCopy CoreOS Firstboot Networking Confige[0m.
[ 7.126193] systemd[1]: Stopping Ignition OSTree: Detect Partition Transposition…
Stopping e[0;1;39mIgnition OSTree: …ect Partition Transpositione[0m…
[ 7.131317] systemd[1]: systemd-sysctl.service: Succeeded.
[ 7.133437] systemd[1]: Stopped Apply Kernel Variables.
[e[0;32m OK e[0m] Stopped e[0;1;39mApply Kernel Variablese[0m.
[ 7.138522] systemd[1]: systemd-modules-load.service: Succeeded.
[[ 7.140744] systemd[1]: Stopped Load Kernel Modules.
e[0;32m OK e[0m] Stopped e[0;1;39mLoad Kernel Modulese[0m.
[ 7.144623] systemd[1]: systemd-tmpfiles-setup.service: Succeeded.
[[ 7.147002] systemd[1]: Stopped Create Volatile Files and Directories.
e[0;32m OK e[0m] Stopped e[0;1;39mCreate Volatile Files and Directoriese[0m.
[e[0;32m OK e[0[ 7.152160] systemd[1]: Stopped target Local File Systems.
m] Stopped target e[0;1;39mLocal File Systemse[0m.
[e[0;32m OK e[0m] [ 7.158145] systemd[1]: Stopped target Local File Systems (Pre).
Stopped target e[0;1;39mLocal File Systems (Pre)e[0m.
[ 7.162524] systemd[1]: Stopping Device-Mapper Multipath Device Controller…
Stopping e[0;1;3[ 7.165562] multipathd[642]: Jun 08 16:57:48 | /etc/multipath.conf does not exist, blacklisting all devices.
9mDevice-Mapper Multipath Device[ 7.170350] multipathd[642]: Jun 08 16:57:48 | You can run “/sbin/mpathconf --enable” to create
Controllere[0m.[ 7.174150] multipathd[642]: Jun 08 16:57:48 | /etc/multipath.conf. See man mpathconf(8) for more details
…[ 7.177848] multipathd[642]: ok

[e[0;32m OK e[0m] Stopped e[0;1;39mIgnition OSTree: Detect Partiti[ 7.181894] systemd[1]: ignition-ostree-transposefs-detect.service: Succeeded.
on Transposition[ 7.184565] multipathd[583]: --------shut down-------
e[0m.[ 7.186716] systemd[1]: Stopped Ignition OSTree: Detect Partition Transposition.

[ 7.190301] systemd[1]: multipathd.service: Succeeded.
[ 7.192263] systemd[1]: Stopped Device-Mapper Multipath Device Controller.
[e[0;32m OK e[0m] Stopped e[0;1;39mDevice-Mapper Multipath Device Controllere[0m.
[ 7.197711] systemd[1]: ignition-setup-user.service: Succeeded.
[ 7.200043] systemd[1]: Stopped Ignition (setup user config).
[e[0;32m OK e[0m] Stopped e[0;1;39mIgnition (setup user config)e[0m.
[ 7.205602] systemd[1]: ignition-ostree-uuid-boot.service: Succeeded.
[[ 7.208003] systemd[1]: Stopped Ignition OSTree: Regenerate filesystem UUID (boot).
e[0;32m OK e[0m] Stopped e[0;1;39mIgnition OSTree: R…nerate filesystem UUID (boot)e[0m.
[ 7.215206] systemd[1]: coreos-gpt-setup.service: Succeeded.
[[ 7.217309] systemd[1]: Stopped Generate new UUID for boot disk GPT.
e[0;32m OK e[0m] Stopped e[0;1;39mGenerate new UUID for boot disk GPTe[0m.
[ 7.223249] systemd[1]: systemd-udev-settle.service: Succeeded.
[[ 7.225433] systemd[1]: Stopped Wait for udev To Complete Device Initialization.
e[0;32m OK e[0m] Stopped e[0;1;39mWait for udev To Complete Device Initializatione[0m.
[ 7.231129] systemd[1]: systemd-udev-trigger.service: Succeeded.
[[ 7.233425] systemd[1]: Stopped Coldplug All udev Devices.
e[0;32m OK e[0m] Stopped e[0;1;39mColdplug All udev Devicese[0m.
[ 7.238518] systemd[1]: dracut-pre-trigger.service: Succeeded.
[[ 7.240701] systemd[1]: Stopped dracut pre-trigger hook.
e[0;32m OK e[0m] Stopped e[0;1;39mdracut pre-trigger hooke[0m.
Stopping e[0;1;39mRule-based Manage…for Device Events and File[ 7.246559] systemd[1]: Stopping Rule-based Manager for Device Events and Files…
se[0m…
[ 7.254145] systemd[1]: systemd-udevd.service: Succeeded.
[ 7.256179] systemd[1]: Stopped Rule-based Manager for Device Events and Files.
[e[0;32m OK e[0m] Stopped e[0;1;39mRule-based Manager for Device Events and Filese[0m.
[[ 7.261976] systemd[1]: systemd-udevd-control.socket: Succeeded.
e[0;32m OK e[0[ 7.264182] systemd[1]: Closed udev Control Socket.
m] Closed e[0;1;39mudev Control Sockete[0m.
[ 7.269478] systemd[1]: systemd-udevd-kernel.socket: Succeeded.
[ 7.272336] systemd[1]: Closed udev Kernel Socket.
[e[0;32m OK e[0m] Closed e[0;1;39mudev Kernel Sockete[0m.
[ 7.275711] systemd[1]: dracut-pre-udev.service: Succeeded.
[ 7.277854] systemd[1]: Stopped dracut pre-udev hook.
[e[0;32m OK e[0m] Stopped e[0;1;39mdracut pre-udev hooke[0m.
[ 7.281782] systemd[1]: dracut-cmdline.service: Succeeded.
[e[0;32m OK e[[ 7.283821] systemd[1]: Stopped dracut cmdline hook.
0m] Stopped e[0;1;39mdracut cmdline hooke[0m.
[ 7.287310] systemd[1]: dracut-cmdline-ask.service: Succeeded.
[ 7.289511] systemd[1]: Stopped dracut ask for additional cmdline parameters.
[e[0;32m OK e[0m] Stopped e[0;1;39mdracut ask for additional cmdline parameterse[0m.
[ 7.294463] systemd[1]: systemd-tmpfiles-setup-dev.service: Succeeded.
[e[0;32m OK e[[ 7.296837] systemd[1]: Stopped Create Static Device Nodes in /dev.
0m] Stopped e[0;1;39mCreate Static Device Nodes in /deve[0m.
[ 7.300969] systemd[1]: kmod-static-nodes.service: Succeeded.
[e[0;32m OK e[0m] Stopped e[0;[ 7.304339] systemd[1]: Stopped Create list of static device nodes for the current kernel.
1;39mCreate list of sta… nodes for the current kernele[0m.
[ 7.309600] systemd[1]: Startup finished in 3.117s (kernel) + 0 (initrd) + 3.433s (userspace) = 6.551s.

Ignition has failed. Please ensure your config is valid. Note that only
Ignition spec v3.0.0+ configs are accepted.

A CLI validation tool to check this called ignition-validate can be
downloaded from GitHub:
Releases · coreos/ignition · GitHub

Displaying logs from failed units: ignition-disks.service
– Logs begin at Tue 2021-06-08 16:57:45 UTC, end at Tue 2021-06-08 16:57:48 UTC. –
Jun 08 16:57:47 systemd[1]: e[0;1;31me[0;1;39me[0;1;31mFailed to start Ignition (disks).e[0m
Jun 08 16:57:47 ignition[634]: disks: createPartitions: op(1): [started] waiting for devices [/dev/sda]
Jun 08 16:57:47 ignition[634]: disks: createPartitions: op(1): [finished] waiting for devices [/dev/sda]
Jun 08 16:57:47 ignition[634]: disks: createPartitions: created device alias for “/dev/sda”: “/run/ignition/dev_aliases/dev/sda” → “/dev/sda”
Jun 08 16:57:47 ignition[634]: disks: createPartitions: op(2): [started] partitioning “/run/ignition/dev_aliases/dev/sda”
Jun 08 16:57:47 ignition[634]: disks: createPartitions: op(2): op(3): [started] reading partition table of “/run/ignition/dev_aliases/dev/sda”
Jun 08 16:57:47 ignition[634]: e[0;1;31me[0;1;39me[0;1;31mdisks: createPartitions: op(2): op(3): [failed] reading partition table of “/run/ignition/dev_aliases/dev/sda”: “/run/ignition/dev_aliases/dev/sda” is not a gpt diske[0m
Jun 08 16:57:47 ignition[634]: e[0;1;31me[0;1;39me[0;1;31mdisks: createPartitions: op(2): [failed] partitioning “/run/ignition/dev_aliases/dev/sda”: “/run/ignition/dev_aliases/dev/sda” is not a gpt diske[0m
Jun 08 16:57:47 ignition[634]: e[0;1;31me[0;1;39me[0;1;31mIgnition failed: create partitions failed: “/run/ignition/dev_aliases/dev/sda” is not a gpt diske[0m
Jun 08 16:57:47 systemd[1]: ignition-disks.service: Triggering OnFailure= dependencies.
Press Enter for emergency shell or wait 5 minutes for reboot.

1 Like

Okay, that makes sense. You can just update your Ignition config to point to /dev/sdb instead.

1 Like

Yes, that fixes the issue, completely forgot to update the ignition config file. Thanks!

1 Like