Article
4948
Tired of keeping your DVD's around? Want to create ISO images and add them as installation sources?
These commands have been tested on openSUSE 11.
- First create a directory where you will store your ISO files.
mkdir /home/sources
- Now create your ISO
mkisofs -iso-level 4 -J -R -o /home/sources/su1100.001.iso /media/SU1100.001/
- Now we add the ISO as a software repository
zypper ar -c -t yast2 "iso:/?iso=/home/ricardo/sources/su1100.001.iso" "openSuSE 11"
- Verify that the service has been successfully added
zypper repos
- Now we can delete the DVD repository as an installation repository
zypper rr 1
- Let's quickly enable automatic refresh (optional)
zypper mr -r "openSuSE 11"
- Now we can finally test the ISO repository and install a package like nmap
zypper in -y nmap
Related Articles
- Create an ISO from your SLES DVD and add it as an installation source from the command line
- Create an Integrated OES 2/SLES 10 SP1 DVD Image
- Quick Way to Create/Mount ISO Image in SLED and SLES using GNU/Linux Basic Commands
- ZLM Agent ISO for Specific Platform
- Turn openSUSE 11 Live CD into a ZENworks Imaging Tool
User Comments
Very Very Useful
Submitted by vinukaimal on 28 July 2008 - 2:33am.
Hi,
Is there a way to make thse ISO images a bootable one so that we can use it VirtualBox to boot up my virtual Machines?. Also It will be very helpful for distributing the ISO to others.
Thanks,
VinuKaimal
- Login to post comments
Bootable ISO
Submitted by rgdacosta on 11 August 2008 - 11:19am.
Hello!
The quick and easy way to do it is to use dd.
If you like I can explain how to create a bootable ISO but for now:
dd if=/dev/cdrom of=/home/sles10sp1.iso
Your DVD is already 1)bootable 2) in the ISO9660 format so we can copy the raw data and it will work.
Ricardo
- Login to post comments

DVD ISO downloaded
Submitted by Anonymous on 15 September 2008 - 11:28pm.
Hi!
Is it possible to use the DVD ISO downloaded from opensuse.org as a repository?
The ISO is on my ntfs partition which I already mounted it.
Thanks,
Fauzan
- Login to post comments

Absolutely! Assuming that
Submitted by Anonymous on 17 September 2008 - 8:35am.
Absolutely! Assuming that your ISO is in your home directory (indicated with a ~) and that your ISO is called su1100.001.iso you could use the command below!
zypper ar -c -t yast2 "iso:/?iso=~/sources/su1100.001.iso" "openSuSE 11"
Feel free to reply with any other questions
rdc
- Login to post comments

PAckages.DU
Submitted by Anonymous on 4 December 2008 - 8:51am.
I am using the DVD as a installation source after copying it to the /sources folder but when the machine starts to install the erros on the packages.DU file saying it fails checksum verification. I have checked the sha1sum and that matches with what is in the contents file. I am at a bit of a loss as to what the problem is.
any help greatly appreciated
- Login to post comments
DVD as addon?
Submitted by kalac on 26 December 2008 - 10:29am.
And does anyone know how to create DVD addon from online repositories?
Not a bootable DVD, but some multimedia goodies, codecs and tools.
- Login to post comments





6