Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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...
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.