View Full Version : Install programs from cd in fedora
I Installed fedora 6 yesterday just to find out that you can`t install a program if you do not have an internet connection, I find some info of how to copy the content of the installation cd to create a local repository but they didn`t work, it says that I have to run the followin commands
mount /media/cdrom
cp -Rf /media/cdrom/* /var/ftp/pub/os/
but when I try to mount the cd there is this error message "Can`t find /media/cdrom in /etc/fstab or /etc/mtab
does anybory know the instruction to do this?, create a local repository from installation disk.
mikeL
08-15-2007, 06:52 PM
how about trying mount /dev/cdrom instead of /media/cdrom
The same error, It would be more convenient that this tool uses the cd or dvd of fedora as a primary repository leaving the internet ones as alternative, not the way they leave it and not only in fedora in ubuntu I had the same problem too.
mikeL
08-15-2007, 07:22 PM
are you logged in as root?
from the terminal su -
then enter roots password
then try mounting /dev/cdrom
ghost2003
08-16-2007, 12:14 AM
What command do you use to mount /dev/cdrom?
Please post the contents of /etc/fstab.
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
ghost2003
08-16-2007, 02:50 PM
Try adding the line
/dev/cdrom /media/cdrom iso9660 noauto,ro,user 0 0
to /etc/fstab.
echo "/dev/cdrom /media/cdrom iso9660 noauto,ro,user 0 0" >> /etc/fstab
Remember to make a backup first. ;)
Then do
mount /media/cdrom
This is all assuming that /dev/cdrom is your cdrom device. All I have seen tells me that thats how its done in FC.
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.