LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 09-27-2008, 07:43 PM   #1
unique_atul
LQ Newbie
 
Registered: Aug 2008
Location: Lucknow, India
Distribution: Mandriva, Sabayon and Fedora core 8
Posts: 11

Rep: Reputation: 0
How to add media source in Mandriva 2008


Good morning.
I am using Mandriva 2008 Free edition. I have made an image of Mandriva DVD on drive.And i want mandriva to look for the software from that image.
Currently it is showing only installed Software on the system.
In the process of adding a media source, I have deleted those 2 sources that are made default i.e DVD drive.
Please help me how to get rid of this problem

Last edited by unique_atul; 09-27-2008 at 07:48 PM.
 
Old 09-27-2008, 08:15 PM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,660
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Hi, do you mean the installer has copied the packages to your harddrive?

If so, you can find them in /var/ftp/pub/

you can use the command line and urpmi.addmedia

note:
Local_2008.1_x is a user defined name,
make sure the file:// is the right path on your system,
with hdlist.cz may sometimes be found as with media_info/hdlist.cz
and synthesis.hdlist.cz will be less infomation and quicker to update the repo database.

urpmi.addmedia Local_2008.1_main32 file://var/ftp/pub/Mandrivalinux/media/main32 with hdlist.cz
urpmi.addmedia Local_2008.1_main file://var/ftp/pub/Mandrivalinux/media/main with hdlist.cz
urpmi.addmedia Local_2008.1_contrib file://var/ftp/pub/Mandrivalinux/media/contrib with hdlist.cz


hope that helps, Glenn
 
Old 09-30-2008, 09:20 AM   #3
unique_atul
LQ Newbie
 
Registered: Aug 2008
Location: Lucknow, India
Distribution: Mandriva, Sabayon and Fedora core 8
Posts: 11

Original Poster
Rep: Reputation: 0
I have made ISO image of Mandriva DVD in a ntfs drive and i want Mandriva to look for packages from this image. I want to make this image as a media source.
How i can do this?
 
Old 09-30-2008, 05:45 PM   #4
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,660
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
you may use loop to

mount -t iso9660 -o loop filename.ima /some/mount/point

Where filename.ima is the full address of the iso

and

/some/mount/point

where you want to mount the files system, folder must exist (create it) like..

/media/mandy-iso

you may have trouble reading from ntfs...

once mounted, urpmi.addmedia.... as above.

I have not tested this...

regards, Glenn

PS, I'd move it to a non-ntfs partition first.
 
  


Reply



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
How to add media source in Mandriva 2008 unique_atul Mandriva 0 09-27-2008 07:41 PM
Boot up in CLI, setting up X, add hotkeys (Mandriva 2008). Craving Linux - Software 4 06-11-2008 06:43 AM
Unable to add Samba share mount point with Mandriva 2008.1 Clived Mandriva 6 05-19-2008 03:31 PM
LXer: The Perfect Server - Mandriva 2008 Spring Free (Mandriva 2008.1) LXer Syndicated Linux News 0 04-10-2008 04:10 PM
Mandriva 2008 2.6.22.9-desktop-1mdv kernel source? dolphans1 Mandriva 2 10-20-2007 06:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 02:46 AM.

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