You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem here is specifying ISO filesystem of the hybrid ISO image by LABEL leads to ambiguity,
as the same LABEL applies to both a whole disk and also to it's first partition,
see here for details:
# setup loopback device and partitions within
$ sudo losetup /dev/loop0 --partscan Fedora-Silverblue-ostree-x86_64-41-1.4.iso
# output properties of the block devices
$ lsblk /dev/loop0 -o NAME,UUID,LABEL,PARTLABEL
NAME UUID LABEL PARTLABEL
loop0 2024-10-24-14-37-30-00 Fedora-SB-ostree-x86_64-41
├─loop0p1 2024-10-24-14-37-30-00 Fedora-SB-ostree-x86_64-41 ISO9660
└─loop0p2 BA81-F12E ANACONDA Appended2
This results the whole disk gets mounted first as ISO, blocking other partitions mounts, which might be needed to fetch ks.cfg, etc.
as discussed, change inst.stage2 option from: inst.stage2=hd:LABEL=<ISO label>
to: inst.stage2=hd:/dev/disk/by-partlabel/ISO9660
Or find a way to get a PARTLABEL from the image's partition table and use it here instead of the hardcoded ISO9660.
The text was updated successfully, but these errors were encountered:
bam80
changed the title
regression: ks.cfg can't be fetched from any non-ISO partition of installation media (ESP, OEMDRV, etc.)
ks.cfg can't be fetched from any non-ISO partition of installation media (ESP, OEMDRV, etc.)
Mar 4, 2025
images/pkg/image/anaconda_ostree_installer.go
Line 131 in bd40be0
The problem here is specifying ISO filesystem of the hybrid ISO image by LABEL leads to ambiguity,
as the same
LABEL
applies to both a whole disk and also to it's first partition,see here for details:
This results the whole disk gets mounted first as ISO, blocking other partitions mounts, which might be needed to fetch
ks.cfg
, etc.Proposed solution:
inst.stage2
option from:inst.stage2=hd:LABEL=<ISO label>
to:
inst.stage2=hd:/dev/disk/by-partlabel/ISO9660
Or find a way to get a
PARTLABEL
from the image's partition table and use it here instead of the hardcodedISO9660
.Original Anaconda report:
https://bugzilla.redhat.com/show_bug.cgi?id=2346192
Lorax:
weldr/lorax#1451
The text was updated successfully, but these errors were encountered: