Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-26-2009, 03:21 PM   #1
LQ Newbie
Registered: May 2009
Distribution: SuSE 10.2
Posts: 11

Rep: Reputation: 0
SLES 10 SP2 prompts for installation CD/DVD

I'm a new registered user, but I've been reading the forums here often and everyone seems very helpful. Hope someone can help me.

My company has installed SLES 10 SP2. When adding new programs via YAST2 the system prompts for the installation disc. If I've created a directory called /SuSE_Install, how can I get the system to pull files from this directory instead of putting the DVD in whenever a new program is installed? FYI, I need command line instructions if possible. As we're trying to limit the console usage.

Old 05-26-2009, 04:58 PM   #2
Registered: Nov 2001
Location: NRW, Germany
Distribution: SLES / FC/ OES / CentOS
Posts: 612

Rep: Reputation: 32
We also use some SLES servers and i am also sucked by plugging cd`s or dvd in just to install a programm.

I use two things to avoid that.

a) copy the iso images to the local disk
you can mount them with
mount -o loop SLES9-cd-1.iso /tmp/temp-disk

b) if you have a permanent internet access most of the packages are installed via network.

If you deside for (a) you need to remember that you maybe have to mount/unmount some more cd`s as you often need more rpm`s to install one thing.

Installing via console is done by


as always.
Old 05-26-2009, 05:24 PM   #3
Senior Member
Registered: Jun 2005
Location: England
Distribution: openSUSE, Fedora, CentOS
Posts: 1,093

Rep: Reputation: 197Reputation: 197
Originally Posted by saavik
b) if you have a permanent internet access most of the packages are installed via network.
But only if you have set up a suitable repository.

Copy the contents of the DVD to the harddisk somewhere. E.g stick the DVD in then do

$ mkdir /tmp/mnt
$ mount /dev/cdrom /tmp/mnt
$ mkdir -p /srv/www/htdocs/repos/sles10sp2
$ cp -r /tmp/mnt/* /srv/www/htdocs/repos/sles10sp2/
$ umount /tmp/mnt
$ eject /dev/cdrom

Then run YaST and go to Software -> Software repositories. They'll be a repository listed that points at the DVD. Disable or delete it. Choose the option to add a repository and there will be an option to add a local directory. Select that and specify /srv/www/htdocs/repos/sles10sp2/

Putting the contents of the DVD in to /srv/www/htdocs/repos/sles10sp2/ has the side benefit that if you start apache on that server you can then set other machines up to use that directory as a repo.
Old 05-27-2009, 05:17 PM   #4
LQ Newbie
Registered: May 2009
Distribution: SuSE 10.2
Posts: 11

Original Poster
Rep: Reputation: 0
Awesome! Exactly what I was looking for arizonagroovejet! I think it's great that I can find answers here. Hopefully someday soon I'll be able to contribute.

By the way the path I took went like this...

Edited from arizonagroovejet: YaST2 and go to Software -> Installation Source -> Delete DVD Repository -> Add local path repository "/srv/www/htdocs/repos/sles10sp2/" -> save and quit.

Thanks!!! Works Great!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
SLES 10 SP2 as a Router Raptor354 Linux - Networking 1 01-10-2009 09:07 PM
Authenticating SLES 10 SP2 after Reinistall house0fdust SUSE / openSUSE 1 09-22-2008 04:41 PM
SLES 10 SP2 and swap space tongar SUSE / openSUSE 1 09-10-2008 10:59 AM
assembly code throws errors while compiling on SLES 10 sp2 deedhnd Linux - Server 4 08-18-2008 04:26 AM
Initialized SLES 8 update over OES SLES 9 SP2 by mistake. Kamenko SUSE / openSUSE 4 03-13-2007 06:21 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:42 PM.

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