Article

Create an ISO from your openSUSE DVD and add it as an installation source from the command line

Author Info

18 July 2008 - 12:21pm
Submitted by: rgdacosta

article
Reads:

4948

Score:
5
5
1
 
Comments:

6

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.

  1. First create a directory where you will store your ISO files.

    mkdir /home/sources

  2. Now create your ISO

    mkisofs -iso-level 4 -J -R -o /home/sources/su1100.001.iso /media/SU1100.001/

  3. Now we add the ISO as a software repository

    zypper ar -c -t yast2 "iso:/?iso=/home/ricardo/sources/su1100.001.iso" "openSuSE 11"

  4. Verify that the service has been successfully added

    zypper repos

  5. Now we can delete the DVD repository as an installation repository

    zypper rr 1

  6. Let's quickly enable automatic refresh (optional)

    zypper mr -r "openSuSE 11"

  7. Now we can finally test the ISO repository and install a package like nmap

    zypper in -y nmap


Author Info

18 July 2008 - 12:21pm
Submitted by: rgdacosta




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

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

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

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

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

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.

© 2009 Novell, Inc. All Rights Reserved.