Article
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
Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).
It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.
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
- Be the first to comment! To leave a comment you need to Login or Register
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
- Be the first to comment! To leave a comment you need to Login or Register
- Be the first to comment! To leave a comment you need to Login or Register
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
- Be the first to comment! To leave a comment you need to Login or Register
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
- Be the first to comment! To leave a comment you need to Login or Register
- Be the first to comment! To leave a comment you need to Login or Register


6