LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-05-2010, 07:59 AM   #1
kzcom
LQ Newbie
 
Registered: Aug 2010
Posts: 25

Rep: Reputation: 0
kiwi usb image creator


I have a SUSElinux with some specific services such http server and openldap and so on that i configure them. using this SUSElin, i want to create a live USB stick image which allows we to boot and run from the usb without using any other storage device of the computer.

1)Is it possible to create it with Yast Image Creator so i haven't need to configure spesific services again?
2)i tried to create an usb stick with Yast Image Creator but failed with these errs in preparation step:
-----------
Nov-05 05:18:13 <2> : Path /home/myiso is writable, trying read-only mount
Nov-05 05:18:13 <1> : EXEC [rm -f /home/myiso/bob 2>&1]
Nov-05 05:18:13 <1> : EXEC [mount -t aufs -o dirs=/home/myiso=ro aufs /tmp/YaST2-06316-RVCG8S/myphysical//base-system/home/myiso 2>&1]
Nov-05 05:18:14 <1> : EXEC [mount -t unionfs -o dirs=/var/cache=rw:/home/myiso=ro,ro unionfs /tmp/YaST2-06316-RVCG8S/myphysical//base-system/home/myiso 2>&1]
skipped
Nov-05 05:18:14 <2> : Couldn't mount read-only, using bind mount
Nov-05 05:18:14 <1> : EXEC [mount -o bind "/home/myiso" "/tmp/YaST2-06316-RVCG8S/myphysical//base-system/home/myiso" 2>&1]
done
Nov-05 05:18:14 <1> : Set package manager lock
Nov-05 05:18:14 <1> : EXEC [touch /var/lock/kiwi-init.lock]
Nov-05 05:18:14 <1> : EXEC [rm -f /var/cache/kiwi/zypper/*.repo]
Nov-05 05:18:14 <1> : Adding chroot zypper service: home_myiso
Nov-05 05:18:14 <1> : EXEC [chroot "/tmp/YaST2-06316-RVCG8S/myphysical" /usr/bin/zypper --non-interactive --no-gpg-checks --reposd-dir /var/cache/kiwi/zypper --cache-dir /var/cache/kiwi/zypper --raw-cache-dir /var/cache/kiwi/zypper addrepo --type Plaindir 'file:///base-system//home/myiso' home_myiso 2>&1]
done
Nov-05 05:18:37 <1> : Adding chroot zypper service: cd:__
Nov-05 05:18:37 <1> : EXEC [chroot "/tmp/YaST2-06316-RVCG8S/myphysical" /usr/bin/zypper --non-interactive --no-gpg-checks --reposd-dir /var/cache/kiwi/zypper --cache-dir /var/cache/kiwi/zypper --raw-cache-dir /var/cache/kiwi/zypper addrepo --type YaST 'cd:///' cd:__ 2>&1]
failed
Nov-05 05:18:47 <3> : zypper: This is a changeable read-only media (CD/DVD), disabling autorefresh.
Adding repository 'cd:__' [......done]
Repository 'cd:__' successfully added
Enabled: Yes
Autorefresh: No
URI: cd:///
Reading data from 'cd:__' media
Retrieving repository 'cd:__' metadata [.Failed to mount cd:/// on : Mounting media failed
Abort, retry, ignore? [a/r/i/?] (a): a
error]
Repository 'cd:__' is invalid.
Can't provide /media.1/media : Media Exception
Please check if the URIs defined for this repository are pointing to a valid repository.
Problem reading data from 'cd:__' media
Please check if your installation media is valid and readable.
Nov-05 05:18:48 <1> : Release package manager lock
Nov-05 05:18:48 <1> : EXEC [rm -f /var/lock/kiwi-init.lock]
Nov-05 05:18:48 <3> : Image installation failed failed
Nov-05 05:18:48 <1> : Umounting path: /tmp/YaST2-06316-RVCG8S/myphysical//base-system/home/myiso
Nov-05 05:18:48 <1> : EXEC [umount "/tmp/YaST2-06316-RVCG8S/myphysical//base-system/home/myiso" 2>&1]
Nov-05 05:18:48 <1> : EXEC [rmdir -p "/tmp/YaST2-06316-RVCG8S/myphysical//base-system/home/myiso" 2>&1]
Nov-05 05:18:48 <1> : Umounting path: /tmp/YaST2-06316-RVCG8S/myphysical//var/cache/kiwi
Nov-05 05:18:48 <1> : EXEC [umount "/tmp/YaST2-06316-RVCG8S/myphysical//var/cache/kiwi" 2>&1]
Nov-05 05:18:48 <1> : Umounting path: /tmp/YaST2-06316-RVCG8S/myphysical//var/cache/zypp
Nov-05 05:18:48 <1> : EXEC [umount "/tmp/YaST2-06316-RVCG8S/myphysical//var/cache/zypp" 2>&1]
Nov-05 05:18:48 <1> : Umounting path: /tmp/YaST2-06316-RVCG8S/myphysical/dev/pts
Nov-05 05:18:48 <1> : EXEC [umount "/tmp/YaST2-06316-RVCG8S/myphysical/dev/pts" 2>&1]
Nov-05 05:18:48 <1> : Umounting path: /tmp/YaST2-06316-RVCG8S/myphysical/sys
Nov-05 05:18:48 <1> : EXEC [umount "/tmp/YaST2-06316-RVCG8S/myphysical/sys" 2>&1]
Nov-05 05:18:48 <1> : Umounting path: /tmp/YaST2-06316-RVCG8S/myphysical/dev
Nov-05 05:18:48 <1> : EXEC [umount "/tmp/YaST2-06316-RVCG8S/myphysical/dev" 2>&1]
Nov-05 05:18:48 <1> : Umounting path: /tmp/YaST2-06316-RVCG8S/myphysical/proc
Nov-05 05:18:48 <1> : EXEC [umount "/tmp/YaST2-06316-RVCG8S/myphysical/proc" 2>&1]
Nov-05 05:18:48 <3> : KIWI exited with error(s) done
----------
i do it with this command:
#kiwi --prepare /home/myiso --root /tmp/mystick
it complete successfully but after running :
#kiwi --create /tmp/mystick --type usb d /tmp/mystick-result
it's failed with same errors:
Nov-05 05:18:13 <2> : Path /home/myiso is writable, trying read-only mount
.
.
.
what is it poblem?
 
Old 11-05-2010, 08:19 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Have you seen:
http://en.opensuse.org/SDB:Live_USB_stick
... for this method you have to already have a live CD ISO on file. You can make one from your install with the linux live scripts or do it the OpenSUSE way.

Looking through what you posted:

Failed to mount cd:/// on : Mounting media failed

... you have a CD as one of your repositories? YaST suggests:

Please check if the URIs defined for this repository are pointing to a valid repository.

Please check if your installation media is valid and readable.


The URI is cd:/// ... is there an installation CD in the drive?
 
Old 11-05-2010, 03:06 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,973

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Also see here
http://www.pendrivelinux.com/search/suse
 
Old 11-06-2010, 09:16 AM   #4
kzcom
LQ Newbie
 
Registered: Aug 2010
Posts: 25

Original Poster
Rep: Reputation: 0
I have the openSUSE 11.2 installation DVD and i want to use it as repository in Yast Image Creator,but i don't know how to use it.
in this case,what is repository name and its location?

i think the media is mounted automatically,when it insert in drive.but the errs are same:
...
Mounting media failed...
 
Old 11-07-2010, 03:34 AM   #5
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
The first link I gave you should help there.
Check your logs to see where the dvd is mounted - if it is automounted, then you will probably see an icon for it on the desktop. After inserting the DVD, go look for it in the file system.

If it has mounted, it is clearly not mounted where YaST expects to find a repo.

This should be enabled under software repositories.

Last edited by Simon Bridge; 11-07-2010 at 03:36 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to create moblin image creator on fedora 12 ramesh14 Linux - Software 1 12-03-2009 10:11 AM
creating live usb image using moblin image creator 2 mobquest Linux - Newbie 0 07-08-2009 11:35 PM
LXer: Introduction to the Moblin Image Creator LXer Syndicated Linux News 0 10-21-2008 07:41 PM
Floppy Image Creator ibanez697 Linux - Software 2 03-21-2007 10:04 PM
Gnome Nautilus CD-Creator Error - File image creation failed joffa Linux - Software 1 04-19-2005 01:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration