yum via DVD iso

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Paul Howarth wrote:
[..]
Three steps (FC3 i386 version):

1. Create a yum repository from your DVD

# mkdir -p /path/to/your/repo/dvd
# mount -r -o loop /path/to/FC3-i386-DVD.iso /path/to/your/repo/dvd
[..]

Here's a script of me trying to do this, sorry for the ^G and so on:

Script started on Sun 13 Feb 2005 10:43:42 AM PST
[root@localhost heidelberg-i386-DVD]# pwd
/mnt/hda2/dvd/heidelberg-i386-DVD
[root@localhost heidelberg-i386-DVD]# ll
total 2408608
-rwxr-xr-x  1 thufir root 2466410496 Feb 11 17:25 FC3-i386-DVD.iso
-rwxr-xr-x  1 thufir root        791 Feb 11 17:25 md5sum
[root@localhost heidelberg-i386-DVD]# mkdir -p /,
[root@localhost heidelberg-i386-DVD]# mkdir -p /mnt/hda2/dvd/heidelberg-i386-DVD 

[root@localhost heidelberg-i386-DVD]# mkdir -p /mnt/hda2/dvd/heidelberg-i386-DVD
[root@localhost heidelberg-i386-DVD]# mount -r -o loop /mnt/hda2/dvd/heidelberg-i
i386-DVD/FC3-i386-DVD.iso 
mount: can't find /mnt/hda2/dvd/heidelberg-i386-DVD/FC3-i386-DVD.iso in /etc/fstab or /etc/mtab
[root@localhost heidelberg-i386-DVD]# mount -r -o loop /mnt/hda2/dvd/heidelberg-i
i386-DVD/FC3-i386-DVD.iso 
mount: can't find /mnt/hda2/dvd/heidelberg-i386-DVD in /etc/fstab or /etc/mtab
[root@localhost heidelberg-i386-DVD]# mount -r -o loop /mnt/hda2/dvd/heidelberg-i
i386-DVD/
mount: can't find /mnt/hda2/dvd/heidelberg-i386-DVD in /etc/fstab or /etc/mtab
[root@localhost heidelberg-i386-DVD]# cat /etc/fstab 
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/VolGroup00/LogVol00 /                      ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /dev/shm                tmpfs   defaults        0 0
none                    /proc                   proc    defaults        0 0
none                    /sys                    sysfs   defaults        0 0
/dev/VolGroup00/LogVol01 swap                    swap   defaults        0 0
/dev/hda2		/mnt/hda2		vfat	uid=thufir	0 0

/dev/hdc                /media/cdrecorder       auto    pamconsole,fscontext=system_u:object_r:removable_t,ro,exec,noauto,managed 0 0
/dev/fd0                /media/floppy           auto    pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0
[root@localhost heidelberg-i386-DVD]# cat /etc/mtab
/dev/mapper/VolGroup00-LogVol00 / ext3 rw 0 0
none /proc proc rw 0 0
none /sys sysfs rw 0 0
none /dev/pts devpts rw,gid=5,mode=620 0 0
usbfs /proc/bus/usb usbfs rw 0 0
/dev/hda3 /boot ext3 rw 0 0
none /dev/shm tmpfs rw 0 0
/dev/hda2 /mnt/hda2 vfat rw,uid=500 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0
[root@localhost heidelberg-i386-DVD]# exit

Script done on Sun 13 Feb 2005 10:46:17 AM PST



thanks,

Thufir Hawat


-- 
This is an email sent via the webforum on http://fcp.homelinux.org


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux