openSUSE Lizards

Authors
Adam Jurkiewicz
Adrian Schröter (7)
Agustin Chavarria (1)
Akhil Laddha
Alex Barrios
Alex Minton
Alexander Naumov (1)
Alexander Orlovskyy (3)
Alexey Eromenko
Alin M Elena (4)
Andrea Florio (15)
Andreas Jaeger (45)
Andreas Stieger (2)
Andreas van dem Helge
Andrej Semen
Andrew Wafaa (26)
Arvin Schnell (6)
Bernhard Wiedemann
Bharath Acharya
Bonnie Kurniawan
Brian G. Merrell
Bruno Friedmann (2)
Carl Fletcher
Casual Programmer
Chang ChiaChin
Christoph Thiel
Christopher Hobbs (15)
Ciaran Farrell (2)
Claes Backstrom
Coly Li
Cristian Rodríguez
Daniel Bornkessel
David Bailey
David C. Rankin
Dean Hilkewich
Dinar Valeev (5)
Dirk Müller (1)
Dmitry Serpokryl (7)
Duncan Mac-Vicar
Enrique Herrera Noya
Eugene Pivnev
FabioMux (1)
Federico Lucifredi (1)
Frank Lee
Gabriele Mohr
Gerrit Beine
Helman Rene Taleno Martinez
Helmut Schaa
Henne (8)
Herbert Graeber
Holgi (2)
Hubert Mantel (1)
Ioan Vancea
J. Daniel Schmidt (1)
Jaime Andrés Vélez Osorio
James Tremblay (7)
Jan Blunck (4)
Jan Loeser (1)
Jan Madsen (1)
Jan Nieuwenhuizen
Jan-Christoph Bornschlegel (3)
Jan-Simon Möller (19)
Javier Llorente (2)
Jigish Gohil (26)
Jiri Srain (1)
Jiří Suchomel (1)
Johan Kotze (5)
John Terpstra
Joop Boonen
José Oramas
Josef Reidinger (8)
Juergen Weigert (1)
Julio Vannini (7)
Justin Haygood
Kálmán Kéménczy
Kayo Hamid
Kevin Yeaux (11)
Klaas Freitag (25)
Klara Cihlarova
Klaus Kämpf
Klaus Singvogel
kl_eisbaer (10)
Lars Marowsky-Bree
Li Bin
Ludwig Nussel (6)
M. Edward (Ed) Borasky
M. Edwin Zakaria
M. Hill
Manuel Trujillo
Marcos David
Marcus Hüwe (8)
Marcus Meissner (1)
Marcus Moeller (1)
Marcus Schaefer (3)
Martin Lasarsch (8)
Martin Mohring (8)
Martin Schmiderer
Martin Schmidkunz
Masim "Vavai" Sugianto (20)
Matt Sealey
Mauro Parra-Miranda
Michael Andres (1)
Michael Löffler (4)
Michael Skiba
Michal Marek (3)
Michal Vyskocil (10)
Michal Zugec
Miguel Angel Barajas Hernandez (1)
Mingxi Wu
mrdocs
Nikanth Karthikesan (2)
Oprea Lucian
Oswin Zulu
Peter Nixon
Peter Pöml (4)
Petr Mladek (37)
Petr Uzel (3)
Philipp Thomas
Pragnesh Radadiya
Raul Libório
Ravi Kumar
Ray Chen
Ray Wang (1)
Raymond Wooninck
Rémy Marquis (1)
Renato de Pontes Pereira
Ricardo Chung
Ricardo Varas Santana (6)
Richard Bos (6)
Robert Lihm
Robert Schweikert (2)
Roland Haidl
Roman Drahtmueller
Rossana Motta (1)
Rupert Horstkötter (10)
Sascha Manns (45)
Savin Alex V.
Sebastian Schöbinger (4)
Stanislav Visnovsky (7)
Stefan Haas (1)
Stefan Hundhammer (5)
Stefan Schubert (4)
Steffen Winterfeldt (4)
Stephan Kulow (10)
Suman Manjunath
Suresh Jayaraman (1)
Susanne Oberhauser (2)
Syamsul Qamar Ngabito
Thomas Göttlicher (5)
Thomas Jones
Thomas Schraitle (16)
Thruth Wang
Tuukka (11)
Ulrich Hecht
Vincenzo Barranco
Wilken Gottwalt
Will Stephenson (2)
Xin Wei Hu
Yuri Tsarev





 

openSUSE LiveUSB with KIWI

1 Star2 Stars3 Stars4 Stars5 Stars (5 votes, average: 5.00 out of 5)
Loading ... Loading ...
Wednesday, May 21st, 2008 by Masim "Vavai" Sugianto Digg!

liveusb sysinfo

As mentioned on previous post, today I’m playing with LiveUSB creation. Coolo, our lovely (and busy ;-) ) openSUSE project manager discard his experimental test of making LiveUSB due to various specific problem with the USB.

I released factory snapshots of USB and CD images – the USB shows just too many USB specific problems to be worthy, so I kind of decided to kill this idea again ;( More…

Before taking the tutorial mentioned by Luiz Fernando, I’m trying with KIWI LiveUSB stick tutorial. I’ve followed the tutorial last month but the process unfinished yet due to the complaining from KIWI that the image doesn’t fit on my 2 GB USB Flash Disk. At the moment, I was stopped the process and planned to continue after buying another bigger flash disk. I take this conclusion with the assumption KIWI need more than 2 GB of USB disk.

Today I used same tutorial with another assumption ;-) , probably the problem occurred due to the annoying bug with KIWI in earlier version, not with the size of USB disk. KIWI using same image used by LiveCD (about 700 MB), so, 2 GB of USB disk should be fit with the requirement of KIWI for building live USB stick.

With this assumption, I’m trying KIWI once again for building live USB stick with same device (2 GB of USB flash disk), and now the process ended successfully. I could make a running USB Live stick with KIWI Wiki guidance for making USB live stick. Below is the summary of guidance :

  1. Install openSUSE with standard option. The easiest way is using openSUSE liveCD installation :-D , but you still needed an installation DVD or DVD iso image as base installation source.
  2. Copying the entire content of installation DVD to specified folder as installation source. If you used iso image, you could mount the iso into specified folder with this command : mount -o loop name-of-iso-image specified-folderex : mount -o loop openSUSE-10.3-GM-DVD-i386.iso /mnt/iso
  3. Add the KIWI installation source.
  4. zypper sa http://download.opensuse.org/repositories/openSUSE:/Tools/openSUSE_10.3 kiwi

  5. Installing kiwi component :
  6. zypper in kiwi kiwi-desc-livesystem kiwi-desc-usbboot

  7. Make proper changes to usbboot config.xml files on /usr/share/kiwi/image/usbboot/suse-10.3/config.xml and replace following lines with your local repos :
  8. <repository type="yast2" status="replaceable">
    <source path="/image/CDs/full-10.3-i386"/>
    </repository>

  9. Make proper changes to livecd config.xml /usr/share/kiwi/image/kwliveCD-suse-10.3/config.xml and replace this portion xml code to your local repos :
  10. <repository type="yast2">
    <source path="/mounts/dist/install/SLP/openSUSE-10.3-GM-DVD/i386/DVD1/"/>
    </repository>
    <repository type="rpm-md">
    <source path="http://download.opensuse.org/repositories/openSUSE:/10.3:/Testing/openSUSE_10.3/"/>
    </repository>
    <repository type="rpm-md">
    <source path="http://download.opensuse.org/update/10.3/"/>
    </repository>

  11. Newer version of KIWI complaining about the version number on config.xml (it should be version number, major and minor changes), so, change this line : <version>2.5</version> with something like <version>2.5.0</version>
  12. Remove file .checksum.md5 on /usr/share/kiwi/image/usbboot/suse-10.3/ (it’s hidden file, so make a deal with your display on file manager preferences, ie : show hidden files on konqueror)
  13. Clean up temporary folder for kiwi processing
  14. rm -rf /tmp/kiwi*

  15. Run the kiwi command (replace KDE with Gnome if you more preferred with GNOME desktop manager)
  16. kiwi --prepare /usr/share/kiwi/image/kwliveCD-suse-10.3 --root /tmp/kiwi-tmp --add-profile KDE --logfile terminal

  17. Kiwi will processing and building the image. It should be ended with the information “KIWI exited successfully done”. If you get an error exception, please make a deal with the error ;-)
  18. Create the compressed image. The process will produces the image named openSUSE-10.3.i686-2.5.0 on /tmp/kiwi-image/
  19. mkdir /tmp/kiwi-image
    kiwi --type usb --create /tmp/kiwi-tmp -d /tmp/kiwi-image --logfile terminal

  20. Plugin your USB flash disk and specifies the location of your USB flash on /dev folder (ls /dev/sd* will display your USB flash disk at the end of the list)
  21. Umount (ie : umount /dev/sdc1)
  22. Create a bootable LiveUSB stick with openSUSE 10.3 by run the command :
  23. kiwi --bootstick /tmp/kiwi-image/initrd-usbboot-suse-10.3.i686-2.1.1.splash.gz --bootstick-system /tmp/kiwi-image/openSUSE-10.3.i686-2.5.0

  24. Try your LiveUSB stick by rebooting with USB boot as your first device boot priority.

LiveUSB partition

The above procedure using openSUSE 10.3 as base installation but the overall process *should be* work with openSUSE 11.0 or newer version with a small modification. Please change the process path according your openSUSE version.


7 Comments

Comment by Robin
2008-05-21 12:27:21

Great guide :)

btw:
> Make proper changes to usbboot config.xml files on /usr/share/kiwi/image/usbboot/suse-10.3/config.xml and replace following lines with your local repos :

Afaik that’s not needed. The repository is marked as “replacable” and kiwi will fill in the right repository itself (at least this is how it works with the netboot configurations).
Otherwise you would have to create a new hash for this configuration

Comment by Vavai
2008-05-23 09:12:45

Hi Robin,

Thank you for your reference.

 
 
2008-05-23 09:07:02

While this may be a working guide, it is far too complex for the average user. If you bother to compare it to Fedora’s offer, you will find that openSUSE has a long way to go to hook users by means of live USB images.

Steps for Fedora ( from a running openSUSE 11.0 Beta3 installation )

1.) Download iso image from http://download.fedoraproject.org/pub/fedora/linux/releases/9/Live/i686/Fedora-9-i686-Live.iso
2.) Open iso image with file roller and extract /LiveOS/livecd-iso-to-disk into directory where iso resides ( not necessary, but saves some typing )
3.) Install syslinux package ( zypper in syslinux )
4.) run livecd-iso-to-disk –overlay-size-mb 512 /path/to/iso /path/tousbstick ( adjust path/to/iso and /path/to/usbstick

If anything’s amiss the script will tell you what to do.

The resulting bootable stick also has persistence, i.e. changes you make during a session will be preserved.

Comment by Vavai
2008-05-23 09:19:59

Hi,

I know what the Fedora community (and also Ubuntu Team) offered is more simple and pretty much easier than what I mentioned at the tutorial above, that’s why I’m thinking some easy way to do same job.

Coolo has an experimental test with the easiest way (simply 1 line of bash command), but it looks like have some specific issue with USB stick.

Anyway, thank you for describing how to make a fedora liveUSB.

 
Comment by rhorstkoetter
2008-05-23 14:19:57

You’re absolutely right. It’s far too difficult to get openSUSE LiveUSB up and running atm. No newbie would install openSUSE to his harddrive to get it running on an USB stick, at least IMHO.
Coolo’s approach is the right way from my perspective, although it’s not working for me so far.

I think openSUSE LiveUSB would be a good way to attract newbies for the distribution
- it’s damn fast
- it’s persistent, so users could tinker much more with the system as possible with LiveCDs
- and of course, there is no need to touch the harddrive

Last but not least, USB installation should be possible from within windows as well.
Fedora’s reference on this.. https://fedorahosted.org/liveusb-creator

Just to throw in my 2 cents!

 
 
Comment by ben
2008-08-26 14:44:31

Hi,

Thank you for this tutorial.

But I have a problem when the USB stick boots.
During the splashscreen.
The computer is “waiting for USB devices to settle…………….” and after there is “No USB stick found”.
Is anybody know what is wrong ?

Thank you.

 
Comment by Zhanlun
2008-10-26 13:33:20

Hi, thanks for your great tutorial first, I used fedora liveusb before, now, I would like to transfer it to openSUSE,

my problem is, I can’t find the folder “/usr/share/kiwi/image/kwliveCD-suse-10.3′ after install the kiwi, would you

possibly help fix this problem, I’m not a experimental user for openSUSE, all things done under the 11.O liveCD, Kiwi

version is 2.38, thanks in advance!

 

Sorry, the comment form is closed at this time.