LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (http://www.linuxquestions.org/questions/mandriva-30/)
-   -   Adding DVD media for install on Mandriva 2010.0 (http://www.linuxquestions.org/questions/mandriva-30/adding-dvd-media-for-install-on-mandriva-2010-0-a-795508/)

fisika405 03-15-2010 07:45 AM

Adding DVD media for install on Mandriva 2010.0
 
Hi everyone.

I am currently running Mandriva 2010.0 Free 32bit on a HP530 series laptop which is an upgrade via the internet from Mandriva 2009.1. Problem is that my laptop dvd drive doesn't work but i have an external dvd writer. (For complete install purposes) I downloaded mandriva 2010.0 free (http://mirrors.telkomsa.net/pub/linu...al/2010.0/i586) and burned it to a dvd. it seems to work fine except when i try to install from the dvd. I have tried several times to install from the DVD but it just wont work, so I gave up. What I want to do now is to ADD THE DVD as an installation medium for software. I've tries this using the 'urpmi.addmedia --distrib *' command and the 'add a custom medium' in mandriva control centre but i can't get the right command to specift the exact location and name of the install medium.

The external DVD drive works fine because i can, for instance, install the previous mandriva 2009 or open and write DVDs.

Can someone please help me to specify the correct name and location of the dvd media.

I don't know if im missing any other information that would help someone who wants to help me, plz let me know if am.

thanks in advance

GlennsPref 03-15-2010 11:43 PM

Quote:

Hi, Welcome to LQ!

LQ has a fantastic search function that may save you time waiting for an answer to a popular question.

With over 3 million posts to search it's possible the answer has been given.
:)
Use
Quote:

df
to see a list of drives, once you know the address to the dvd, you may be able to add it to the urpmi repo list.
Code:

glenn@GamesBox:~$ df
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda5              20G  1.5G  18G  8% /
/dev/sda1              92M  31M  57M  35% /boot
/dev/sda14            383G  85G  299G  23% /home
/dev/sdc1              56G  17G  40G  30% /home/glenn/local/MusicBox/sdc1
/dev/sdc6              20G  9.7G  8.7G  53% /home/glenn/local/MusicBox/sdc6
/dev/sdc7              33G  3.9G  29G  13% /home/glenn/local/MusicBox/sdc7
/dev/sdb8              73G  35G  38G  48% /home/glenn/local/spare
/dev/sdb9              72G  72G  3.0M 100% /home/glenn/local/stuff
/dev/sdb7              34G  31G  2.9G  92% /home/glenn/local/vm1
/dev/sr0              4.3G  4.3G    0 100% /media/sr0
/dev/sdb1              22G  3.8G  18G  18% /media/win_c
/dev/sdd6              31G  14G  17G  46% /media/win_c2
/dev/sdb6              29G  18G  11G  61% /media/win_d
/dev/sdd7              63G  24G  39G  39% /media/win_d2
/dev/sda11            5.0G  243M  4.5G  6% /opt
/dev/sda8            8.0G  147M  7.4G  2% /tmp
/dev/sda7            9.9G  3.9G  5.5G  42% /usr
/dev/sda10            5.0G  139M  4.6G  3% /usr/local
/dev/sdd5              52G  11G  41G  21% /usr/src
/dev/sda6              20G  714M  18G  4% /var
/dev/sda13            5.0G  163M  4.6G  4% /var/spool
/dev/sda12            2.0G  52M  1.9G  3% /var/www
glenn@GamesBox:~$

I copy them to a directory on my /home partition.

I have found it easier to use the command line for the task of setting up repositions.

if the dvd drive is mounted
Code:

/media/sr0/x86_64/media/contrib
/media/sr0/x86_64/media/main
/media/sr0/x86_64/media/main32

(sr0=sata dvdRW)

/etc/fstab listing of dvdroms on my system...
Code:

/dev/sr0 /media/sr0 auto umask=0,user,iocharset=utf8,ro 0 0
/dev/cdrom /media/sr1 auto umask=0,user,iocharset=utf8 0 0

If you know the addresses then try this...changing the relevant info for your system.
Code:

sudo urpmi.addmedia Local_2010.0-x86_64 file://home/glenn/local/Archive/2010.0/x86_64 with media_info/hdlist.cz
sudo urpmi.addmedia Local_2010.0-noarch file://home/glenn/local/Archive/2010.0/noarch with media_info/hdlist.cz
sudo urpmi.addmedia Local_2010.0-i586 file://home/glenn/local/Archive/2010.0/i586 with media_info/hdlist.cz
sudo urpmi.addmedia Local_2010.0-plf file://home/glenn/local/Archive/2010.0/plf with media_info/hdlist.cz
sudo urpmi.addmedia Local_2010.0-contrib file://home/glenn/local/Archive/2010.0/contrib with media_info/hdlist.cz
sudo urpmi.addmedia --update Local_2010.1-KDE4 file://home/glenn/local/Archive/2010.1/kde with media_info/hdlist.cz

notice, no spaces in name string. Also notice the use of --update to make that media as update-media for urpmi, urpm and smart.

Hope this helps, regards Glenn


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