Create bootable USB memory by KIWI

References
http://en.opensuse.org/Live_USB_stick

  • Install KiWi

Set Repo
opensuse 11.0
http://download.opensuse.org/repositories/openSUSE:/Tools/openSUSE_11.0/

        • -

or SLED10
http://download.opensuse.org/repositories/openSUSE:/Tools/SLE_10/
NG> note) kiwi pkg contains smart rpm
NG>/usr/share/kiwi/repo/suse-repo/suse-sles-repo/smart-0.41-23.4.i586.rpm
OK>download smart SRPM package from opensuse 10.3 and rebuild/install

YaST -> Software -> Repo

Install KIWI packages

  • Try USB Stick Images Example

install kiwi-doc pkg
/usr/share/doc/packages/kiwi/examples/suse-live-stick

mount ISO image at /image/CDs/full-10.3-i386

mkdir -p /image/CDs/full-10.3-i386
mount -t iso9660 -o loop openSUSE-10.3-GM-DVD-i386.iso /image/CDs/full-10.3-i386

cd /usr/share/doc/packages/kiwi/examples/suse-live-stick
kiwi --prepare ./ --root /tmp/mystick

ERROR>error: Failed acquiring information for 'kiwi1-11111':
ERROR>error: file:///image/CDs/full-10.3-i386/suse/setup/descr/packages: File ERROR>not found
WORKAROUND> Use smart-0.51 instead of 0.41

NG>next try, use repo
NG>
NG>
NG>

NG>
NG>
NG>

NG> afga-font pkg is missing


kiwi --create /tmp/mystick --type usb -d /tmp/mystick-result

> plug in the stick now


kiwi --bootstick /tmp/mystick-result/initrd-usbboot-suse-10.3.i686-2.1.1.splash.gz --bootstick-system /tmp/mystick-result/suse-10.3-live-stick.i686-1.1.2

OK

boot the USB stick.

Note)
use smart-0.4 to build the SLED (packages is not gzed)