yum via DVD iso
THUFIR HAWAT (thufir)
no-reply-gw at fcp.homelinux.org
Sun Feb 13 07:03:36 UTC 2005
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 at localhost heidelberg-i386-DVD]# pwd
/mnt/hda2/dvd/heidelberg-i386-DVD
[root at localhost heidelberg-i386-DVD]# ll
[00mtotal 2408608
-rwxr-xr-x 1 thufir root 2466410496 Feb 11 17:25 [01;32mFC3-i386-DVD.iso[00m
-rwxr-xr-x 1 thufir root 791 Feb 11 17:25 [01;32mmd5sum[00m
[m[root at localhost heidelberg-i386-DVD]# mkdir -p /,[K[K[K[K[K[K[K[K[K[K[K
[root at localhost heidelberg-i386-DVD]# mkdir -p /mnt/hda2/dvd/heidelberg-i386-DVD
[A
[root at localhost heidelberg-i386-DVD]# mkdir -p /mnt/hda2/dvd/heidelberg-i386-DV[KD
[root at 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 at localhost heidelberg-i386-DVD]# mount -r -o loop /mnt/hda2/dvd/heidelberg-i
i386-DVD/FC3-i386-DVD.iso [K[K[K[K[K[K[K[K[K[K[K[K[K[K[K[K[K
mount: can't find /mnt/hda2/dvd/heidelberg-i386-DVD in /etc/fstab or /etc/mtab
[root at 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 at 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 at 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 at 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
More information about the fedora-list
mailing list