Mandrake 10.2 Installed but....

Printed from http://www.compatdb.org/support/topics/164534_mandrake_10_2_installed_but.html

Mandrake 10.2 Installed but.... - 07/21/05 02:19 PM

I have installed Mandrake 10.2 and all is cool except that during installation I did not select to have all rpm's copied to hdd - I now want to have all the rpm's on disk so I can reinstall any rpms remotely via ssh (I travel alot with work)....

Is there an easy way to achieve this?

Thanks.

Re: Mandrake 10.2 Installed but.... - 07/22/05 12:14 PM

Yes I have done this with my laptop. I did this with the DVD but it should work with the cd version also. Here is what you need to do:

copy the media folder on the CD(s) to /var/ftp/pub
next issue the following:

urpmi.addmedia "Installation (cdrom1)" [url=file://var/ftp/pub/media/main]file://var/ftp/pub/media/main[/url] with ../media_info/hdlist1.cz

urpmi.addmedia "Installation (cdrom2)" [url=file://var/ftp/pub/media/firmwares]file://var/ftp/pub/media/firmwares[/url] with ../media_info/hdlist2.cz

urpmi.addmedia "Installation (cdrom3)" [url=file://var/ftp/pub/media/modules]file://var/ftp/pub/media/modules[/url] with ../media_info/hdlist3.cz

urpmi.addmedia "Installation (cdrom4)" [url=file://var/ftp/pub/media/dkms]file://var/ftp/pub/media/dkms[/url] with ../media_info/hdlist4.cz

urpmi.addmedia "Installation (cdrom5)" [url=file://var/ftp/pub/media/plugins]file://var/ftp/pub/media/plugins[/url] with ../media_info/hdlist5.cz

urpmi.addmedia "Installation (cdrom6)" [url=file://var/ftp/pub/media/contrib]file://var/ftp/pub/media/contrib[/url] with ../media_info/hdlist6.cz