Hello Marcus
Please assist.
Goal: To build a SLES16 version of our MiniOS ISO image we use to install physical servers.
Building the image works 100%
Booting the image with qemu-kv works 100%
Booting the image on hardware fails.
Loading kernel... all fine
Loading initrd... problem starts here
During the kiwi-ng build this line is reported with an UUID.
[ INFO ]: 12:25:11 | --> DEFAULT_APPEND:"splash=verbose rd.kiwi.ramdisk ramdisk_size=4096000 rd.shell rd.kiwi.debug root=UUID=b611ce5b-b0ba-410f-9c54-ec8a80b5fcb0"In the qemu-kv booted image the UUID is used.
blkid -o json
{
"label": "ROOT",
"uuid": "b611ce5b-b0ba-410f-9c54-ec8a80b5fcb0",
"block_size": "4096",
"type": "ext4",
"partlabel": "p.lxroot",
"partuuid": "167fb5f1-58bc-43a4-b02b-90740cf36e61"
}Problem:
As I interpret it.
Short:
Timed out waiting for device /dev/disk/by-uuid/b611ce5b-b0ba-410f-9c54-ec8a80b5fcb0
UUID not available
Long:
------------------------------------------------------------------------
┌───────────────────────────────────────────────────────────────┐
│ Loading SLES16-MiniOS-ABC-UEFI.INPROGRESS.raw... │
│ │
│ ┌─────────────────────────────────────────────────────────┐ │
│ │ 80% [ TIME [ OK ] Started Emergency Shell.
[ OK ] Reached target Emergency Mode.─────────────────────────────┘ │
[ OK ] Stopped dracut pre-mount hook.────────────────────────────────┘
[ OK ] Stopped Dracut Run Interactive.
[ OK ] Stopped dracut initqueue hook.
[ OK ] Stopped dracut pre-trigger hook.
[ OK ] Stopped dracut pre-udev hook.
[ OK ] Stopped dracut cmdline hook.
Press Enter for system maintenance
(or press Control-D to continue):
------------------------------------------------------------------------
Because the ISO image is booted on a server that already have a SLES installation on it.
This ROOT label's uuid does exist.
{
"label": "ROOT",
"uuid": "df25bc3e-3994-4090-883f-d4b79ee0d654",
"block_size": "512",
"type": "xfs",
"partuuid": "12e6cb22-8bb2-4241-aec5-ef1803d88537"
}
dracut:/run/initramfs# grep -B3 -A5 ec8a80b5fcb0 rdsosreport.txt
[ 2.762739] localhost systemd[1]: bpf-restrict-fs: LSM BPF program attached
[ 2.762746] localhost systemd[1]: Queued start job for default target Initrd Default Target.
[ 2.762753] localhost systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 2.762760] localhost systemd[1]: Expecting device /dev/disk/by-uuid/b611ce5b-b0ba-410f-9c54-ec8a80b5fcb0...
[ 2.762767] localhost systemd[1]: Reached target Local Encrypted Volumes.
[ 2.762774] localhost systemd[1]: Reached target Initrd Root Device.
[ 2.762780] localhost systemd[1]: Reached target Initrd /usr File System.
[ 2.762787] localhost kernel: tsc: Refined TSC clocksource calibration: 2095.077 MHz
[ 2.762793] localhost kernel: clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x1e33060eadb, max_idle_ns: 440795261188 ns
--
[ 17.131007] localhost kernel: loop0: detected capacity change from 0 to 507904
[ 17.134006] localhost kernel: squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 17.166979] localhost systemd[1]: Starting Dracut Run Interactive...
[ 91.615795] localhost systemd[1]: dev-disk-by\x2duuid-b611ce5b\x2db0ba\x2d410f\x2d9c54\x2dec8a80b5fcb0.device: Job dev-disk-by\x2duuid-b611ce5b\x2db0ba\x2d410f\x2d9c54\x2dec8a80b5fcb0.device/start timed out.
[ 91.615810] localhost systemd[1]: Timed out waiting for device /dev/disk/by-uuid/
b611ce5b-b0ba-410f-9c54-ec8a80b5fcb0.
[ 91.615915] localhost systemd[1]: Dependency failed for /sysroot.
[ 91.615946] localhost systemd[1]: Dependency failed for Initrd Root File System.
[ 91.615974] localhost systemd[1]: Dependency failed for Mountpoints Configured in the Real Root.
[ 91.616014] localhost systemd[1]: initrd-parse-etc.service: Job initrd-parse-etc.service/start failed with result 'dependency'.
[ 91.616019] localhost systemd[1]: initrd-parse-etc.service: Triggering OnFailure= dependencies.
[ 91.616162] localhost systemd[1]: initrd-root-fs.target: Job initrd-root-fs.target/start failed with result 'dependency'.
[ 91.616165] localhost systemd[1]: initrd-root-fs.target: Triggering OnFailure= dependencies.
[ 91.616221] localhost systemd[1]: sysroot.mount: Job sysroot.mount/start failed with result 'dependency'.
[ 91.616226] localhost systemd[1]: dev-disk-by\x2duuid-b611ce5b\x2db0ba\x2d410f\x2d9c54\x2dec8a80b5fcb0.device: Job dev-disk-by\x2duuid-b611ce5b\x2db0ba\x2d410f\x2d9c54\x2dec8a80b5fcb0.device/start failed with result 'timeout'.
[ 91.616770] localhost systemd[1]: systemd-ask-password-console.path: Deactivated successfully.
[ 91.620025] localhost systemd[1]: Stopped Dispatch Password Requests to Console Directory Watch.
[ 91.620092] localhost systemd[1]: Stopped target Basic System.
[ 91.620124] localhost systemd[1]: Reached target Initrd File Systems.
[ 91.620142] localhost systemd[1]: Stopped target System Initialization.
Setup:
config.xml
<type image="oem" filesystem="ext4" installiso="true" initrd_system="dracut" installboot="install" kernelcmdline="splash=verbose rd.kiwi.ramdisk ramdisk_size=4096000 rd.shell rd.kiwi.debug" firmware="efi">
<source path="
https://rmt.abcgroup.net/repo/SUSE/Products/SLE-Product-SLES/16.0/x86_64/product/"/>
<source path="
https://smt.abcgroup.net/repo/SUSE/Products/PackageHub/16.0/x86_64/product/"/>
<source path="
https://smt.abcgroup.net/repo/SUSE/Backports/SLE-16.0_x86_64/standard/"/>
<source path="
https://download.opensuse.org/repositories/Virtualization:/Appliances:/Staging/SLFO/"/> (Builder also tried)
grep dracut /global/http/uefiminios-result16/SLES16-MiniOS-ABC-UEFI.INPROGRESS.x86_64-16.0.packages
dracut-kiwi-lib|(none)|10.2.32|160000.3.1|x86_64|obs://build.opensuse.org/Virtualization:Appliances:Staging/SLFO/182414bb6fa3c8cc33bc4dbb5cc2442e-python-kiwi|GPL-3.0-or-later
dracut-kiwi-live|(none)|10.2.32|160000.3.1|x86_64|obs://build.opensuse.org/Virtualization:Appliances:Staging/SLFO/182414bb6fa3c8cc33bc4dbb5cc2442e-python-kiwi|GPL-3.0-or-later
dracut-kiwi-oem-dump|(none)|10.2.32|160000.3.1|x86_64|obs://build.opensuse.org/Virtualization:Appliances:Staging/SLFO/182414bb6fa3c8cc33bc4dbb5cc2442e-python-kiwi|GPL-3.0-or-later
dracut-kiwi-oem-repart|(none)|10.2.32|160000.3.1|x86_64|obs://build.opensuse.org/Virtualization:Appliances:Staging/SLFO/182414bb6fa3c8cc33bc4dbb5cc2442e-python-kiwi|GPL-3.0-or-later
dracut|(none)|059+suse.692.g6ec224d5|160000.1.3|x86_64|obs://build.suse.de/SUSE:SLFO:Main:Build/standard/56fc723e26103361ccdb6e1042b52c8f-dracut|GPLv2+ and LGPLv2+ and GPLv2The kiwi server:
SUSE Linux Enterprise Server 15 SP5
kiwi-boot-descriptions-1.2.0-2.51.x86_64
kiwi-man-pages-10.2.32-lp156.3.1.x86_64
kiwi-systemdeps-bootloaders-10.2.32-lp156.3.1.x86_64
kiwi-systemdeps-containers-10.2.32-lp156.3.1.x86_64
kiwi-systemdeps-core-10.2.32-lp156.3.1.x86_64
kiwi-systemdeps-disk-images-10.2.32-lp156.3.1.x86_64
kiwi-systemdeps-filesystems-10.2.32-lp156.3.1.x86_64
kiwi-systemdeps-image-validation-10.2.32-lp156.3.1.x86_64
kiwi-systemdeps-iso-media-10.2.32-lp156.3.1.x86_64
python311-kiwi-10.2.32-lp156.3.1.x86_64
python311-solv-0.7.30-150400.3.27.2.x86_64
Thank you.