Kiwi Cookbook for Live USB stick - Failed to loop mount...unknown filesystem type '(null)'

Hello,

I am trying to make a live USB stick following along the lines of this
Kiwi Cookbook instruction:
https://en.opensuse.org/SDB:KIWI_Cookbook_Live_USB-Stick

I figured out how to point the kiwi commands to the newer versions that
are supported in the example files of the kiwi distribution that I
installed. I figured out the 32-bit versus 64-bit commands. I am under
the impression that the “usb” type isn’t supported any longer since it
isn’t an option in the config.xml file (only the oem-type is).

So following along the oem instructions I keep running into this
failure:

Failed to loop mount /tmp/myusb/image/suse-12.2-live.i686-2.5.2 to:
/tmp/kiwiboot.sOXScy: mount: unknown filesystem type ‘(null)’

I have also tried using other kiwi commands described for the usb-type
(i.e. --installstick) but get the same failure. As a result of this
failure, I don’t seem to be able to create the required “.raw” file in
order to dd- over the image to the usb stick.

Here is the log file from the initial failure…

[*** log excerpt follows, last significant bytes ]
Jun-09 16:11:10 <1> : getSize: files: 7865
Jun-09 16:11:10 <1> : getSize: usage: 152768512 Bytes
Jun-09 16:11:10 <1> : getSize: inode: 256 Bytes
Jun-09 16:11:10 <1> : getSize: minsz: 322760396.8 Bytes
Jun-09 16:11:10 <1> : Creating cpio archive…
Jun-09 16:11:10 <1> : EXEC [pwd]
Jun-09 16:11:10 <1> : EXEC [cd
/tmp/myusb/image/boot-VMX.plwnA4/kiwi-VMXboot-26310 && find . | cpio
–create --format=newc --quiet | gzip -9 -f >
/tmp/myusb/image/initrd-oemboot-suse-12.2.i686-2.7.1.gz]
done
Jun-09 16:11:44 <1> : Creating image MD5 sum…
Jun-09 16:11:44 <1> : EXEC [factor 58983142]
Jun-09 16:11:44 <1> : EXEC [cat
/tmp/myusb/image/initrd-oemboot-suse-12.2.i686-2.7.1.gz | md5sum - | cut
-f 1 -d-]
Jun-09 16:11:44 <1> : EXEC [echo “b172222d84fe379ddcfc857d6f476801
951341 62” > /tmp/myusb/image/initrd-oemboot-suse-12.2.i686-2.7.1.md5]
done
Jun-09 16:11:44 <1> : EXEC [rm -rf /tmp/myusb/image/boot-VMX.plwnA4]
Jun-09 16:11:44 <1> : Release package manager lock
Jun-09 16:11:44 <1> : EXEC [rm -f /var/lock/kiwi-init.lock]
Jun-09 16:11:44 <1> : Release package manager lock
Jun-09 16:11:44 <1> : EXEC [rm -f /var/lock/kiwi-init.lock]
Jun-09 16:11:44 <1> : Removing zypper service:
http:__download.opensuse.org_distribution_12.2_repo_oss
Jun-09 16:11:44 <1> : EXEC [/usr/bin/zypper --non-interactive
–no-gpg-checks --reposd-dir /var/cache/kiwi/zypper/repos --cache-dir
/var/cache/kiwi/zypper --config /var/cache/kiwi/zypper/zypper.conf.26310
removerepo http:__download.opensuse.org_distribution_12.2_repo_oss 2>&1]
Jun-09 16:11:44 <1> : EXEC [umount /tmp/myusb/image/mnt-26310 2>&1]
Jun-09 16:11:44 <1> : EXEC [rm -f
/var/cache/kiwi/zypper/zypper.conf.26310
/var/cache/kiwi/zypper/zypp.conf.26310]
Jun-09 16:11:44 <1> : EXEC [rm -rf /tmp/myusb/image/splash 2>&1]
Jun-09 16:11:44 <1> : EXEC [umount /tmp/myusb/image/mnt-26310 2>&1]
Jun-09 16:11:44 <1> : EXEC [mktemp -q -d /tmp/kiwiboot.XXXXXX]
Jun-09 16:11:44 <1> : EXEC [mktemp -q -d /tmp/kiwiloop.XXXXXX]
Jun-09 16:11:44 <1> : EXEC [uname -m]
Jun-09 16:11:44 <1> : Setting up kernel splash screen…
skipped
Jun-09 16:11:44 <2> : → Can’t find splash file:
/tmp/myusb/image/initrd-oemboot-suse-12.2.i686-2.7.1.spl
done
Jun-09 16:11:44 <1> : Creating compat splash link…
Jun-09 16:11:44 <1> : EXEC [cd /tmp/myusb/image && rm -f
initrd-oemboot-suse-12.2.i686-2.7.1.splash.gz && ln -s
initrd-oemboot-suse-12.2.i686-2.7.1.gz
initrd-oemboot-suse-12.2.i686-2.7.1.splash.gz]
done
Jun-09 16:11:44 <1> : EXEC [uname -m]
Jun-09 16:11:45 <1> : EXEC [rm -rf /tmp/kiwiboot.fpo6oV 2>&1]
Jun-09 16:11:45 <1> : EXEC [rm -rf /tmp/kiwiloop.fi1ONp 2>&1]
Jun-09 16:11:45 <1> : → Creating boot VM disk from:
/tmp/myusb/image/initrd-oemboot-suse-12.2.i686-2.7.1.splash.gz…
Jun-09 16:11:45 <1> : EXEC [file
/tmp/myusb/image/suse-12.2-live.i686-2.5.2 | grep -q ‘gzip compressed
data’]
Jun-09 16:11:45 <1> : EXEC [dd
if=/tmp/myusb/image/suse-12.2-live.i686-2.5.2 bs=128k count=1
2>/dev/null | file -]
Jun-09 16:11:45 <1> : EXEC [mktemp -q -d /tmp/kiwiboot.XXXXXX]
Jun-09 16:11:45 <1> : EXEC [mktemp -q -d /tmp/kiwiloop.XXXXXX]
Jun-09 16:11:45 <1> : EXEC [dd
if=/tmp/myusb/image/suse-12.2-live.i686-2.5.2 bs=512 count=1 2>/dev/null
| file - | grep -q ‘boot sector’]
Jun-09 16:11:45 <1> : EXEC [dd
if=/tmp/myusb/image/suse-12.2-live.i686-2.5.2 bs=128k count=1
2>/dev/null | file -]
Jun-09 16:11:45 <1> : EXEC [mount -o loop
/tmp/myusb/image/suse-12.2-live.i686-2.5.2 /tmp/kiwiboot.sOXScy 2>&1]
Jun-09 16:11:45 <3> : Failed to loop mount
/tmp/myusb/image/suse-12.2-live.i686-2.5.2 to: /tmp/kiwiboot.sOXScy:
mount: unknown filesystem type ‘(null)’
failed
Jun-09 16:11:45 <1> : EXEC [sync]
Jun-09 16:11:46 <1> : EXEC [rm -rf /tmp/kiwiboot.sOXScy 2>&1]
Jun-09 16:11:46 <1> : EXEC [rm -rf /tmp/kiwiloop.vNd6HY 2>&1]
[
end ***]


sgttomas

sgttomas’s Profile: http://forums.opensuse.org/member.php?userid=71480
View this thread: http://forums.opensuse.org/showthread.php?t=487738