> But all i need to dump your CD or DVD image into my  hard disk.[ Well
> don't say that buy 120GB hard disk, i have only 40 GB [i am a poor
> person]]............:-) i don't want to waste double space..

The Fedora Core 5 DVD itself is a repository . So modifying yum.conf
to point to it should work. Notice that the repodata/ directory is
present in the DVD.

Add these 2 lines to /etc/yum.conf:
[base]
baseurl=file:///mnt/ISO/
And make sure that the other files in /etc/yum.repos.d/ are all
'disabled'. The easiest way to do this is to:
# mv /etc/yum.repos.d/ /etc/yum.repos.d.old
Then do this:
# mount -o loop fc5-dvd.iso /mnt/iso
# yum list

But with CDs I noticed a strange behaviour, where it seems only the
first CD is set up to be a repository, while the others are not. I say
this because the rest of the CDs do not seem to have the repodata/
directory in them. Even though the first CD's repodata/ might be set
up to  contain information about the rest of them, it creates a
problem when you are installing something by mounting the ISOs (mount
-o loop ...). I encountered this recently when I was trying to install
GNOME on a machine on which GNOME got uninstalled unintentionally.

yum.conf was set up to take the first CD as the repository. The
absence of repodata/ on the other CDs prevented them from working as
repositories. However the following command:
# yum localinstall /mnt/cd*-iso/Fedora/RPMs/*gnome*.rpm
would not work. I had to specify many of the dependancies myself.

Is it my mistake or something else?

By the way I have a 30GB HDD. ;-)

Happy hacking,
Debarshi
-- 
It matters not whether you win or lose; what matters is whether I win or lose.
                                            - Darrin Weinberg
_______________________________________________
Ilug-cal-discuss mailing list
[email protected]
http://list.ilug-cal.org/mailman/listinfo/ilug-cal-discuss

Reply via email to