Getting the raw disk image out of an OEM ISO image

20 views
Skip to first unread message

Roger Oberholtzer

unread,
Feb 17, 2025, 9:01:27 AMFeb 17
to kiwi-...@googlegroups.com
I have made an OEM install of Leap 15.6. It's working fine. It is
usually installed off of the USB image that is placed on a USB stick,
which sets up a target disk.

I have been telling users that they could skip the step of booting the
image and put the disk image on the drive directly. My image replaces
everything on the disk.

Well, for some reason, I do not have the raw.xz image. I seem to have
deleted it. Probably because no one - until now - expressed any
interest. Figures.

Is there a way I can retrieve/use the image in the USB installer iso?
I see this in the root of the ISO image:

boot
config.isoclient
EFI
initrd.system_image
RSL-OEM-Leap-15.6.raw.squashfs


Hmmm.. No raw.xz file. I didn't expect that. Am I SOL?


--
Roger Oberholtzer

Marcus Schäfer

unread,
Feb 20, 2025, 4:34:09 AMFeb 20
to kiwi-...@googlegroups.com
Hi Roger,

> I have made an OEM install of Leap 15.6. It's working fine. It is
> usually installed off of the USB image that is placed on a USB stick,
> which sets up a target disk.

ok

> I have been telling users that they could skip the step of booting the
> image and put the disk image on the drive directly. My image replaces
> everything on the disk.

ok

> Well, for some reason, I do not have the raw.xz image. I seem to have
> deleted it. Probably because no one - until now - expressed any
> interest. Figures.
>
> Is there a way I can retrieve/use the image in the USB installer iso?
> I see this in the root of the ISO image:
>
> boot
> config.isoclient
> EFI
> initrd.system_image
> RSL-OEM-Leap-15.6.raw.squashfs

Yes the raw.xz which you don't have is encapsulated in the raw.squashfs.
You can just call:

mount RSL-OEM-Leap-15.6.raw.squashfs /mnt

then look inside /mnt and you will find your .raw.xz again.
We encapsulate the actual disk image to install together
with some metadata into a compressed squashfs. That's why
you don't see it directly.

You know every problem in software is solved by another
level of indirection ;)

Hope this helps

Regards,
Marcus
--
Public Key available via: https://keybase.io/marcus_schaefer/key.asc
keybase search marcus_schaefer
-------------------------------------------------------
Marcus Schäfer Brunnenweg 18
Tel: +49 7562 905437 D-88260 Argenbühl
Germany
-------------------------------------------------------
signature.asc

Roger Oberholtzer

unread,
Feb 20, 2025, 6:16:39 AMFeb 20
to kiwi-...@googlegroups.com
Thanks! I have the file.
> --
> You received this message because you are subscribed to the Google Groups "kiwi" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to kiwi-images...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/kiwi-images/Z7b3C0OQp6OnZBG4%40asterix.fritz.box.



--
Roger Oberholtzer

Roger Oberholtzer

unread,
Feb 20, 2025, 6:20:09 AMFeb 20
to kiwi-...@googlegroups.com
One final question.

I want to make the exact same raw file as the original build provided.
What xz options are used to make the raw.xz image?
--
Roger Oberholtzer

Marcus Schäfer

unread,
Feb 20, 2025, 9:12:01 AMFeb 20
to kiwi-...@googlegroups.com
Hi,

> I want to make the exact same raw file as the original build provided.
> What xz options are used to make the raw.xz image?

By default "--threads=0" and nothing else. But this also
depends on the default settings of the host xz runs on and
you can also specify your own options via kiwi.yml. So it's
not so straight forward to answer that.

xz --list file.xz

should give you some real information
signature.asc
Reply all
Reply to author
Forward
0 new messages