LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   F13 DVD iso as a local repo for virtualbox install (https://www.linuxquestions.org/questions/fedora-35/f13-dvd-iso-as-a-local-repo-for-virtualbox-install-835817/)

caffemisto 10-02-2010 11:58 AM

F13 DVD iso as a local repo for virtualbox install
 
Hi,

I have a virtualbox installation of Fedora 13 i386 at work. It is not connected to the internet at all and won't be. I want to use the DVD iso as a repo for the installation. It seemed to have been possible in past versions of Fedora, but I just can't find any thing specific to Fedora 13. For example, found a tutorial based on Fedora 5, followed it, but it didn't work.

Thank you guys.

kbp 10-02-2010 10:46 PM

If you want to use the dvd iso as a repo after installation try these steps:

Code:

mkdir /mnt/iso
mount -o loop,ro <path_to_iso> /mnt/iso

mv /etc/yum.repos.d/fedora.repo{,.orig}
cat <<'EOF'> /etc/yum.repos.d/fedora.repo
[fedora]
name=Fedora $releasever - $basearch
baseurl=file:///mnt/iso/
enabled=1
gpgcheck=0
EOF

cheers

John VV 10-03-2010 01:37 AM

and just remember that that dvd is already very out of date ( 3+ gig's of updates to it )
and that a new remix from unity might help


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