FTP install using ISO
Robert F. Chapman
robert_chapman at maximhq.com
Thu Jul 6 20:26:14 UTC 2006
the way I do it, is create a path of
/fedora/linux/core/[releasever]/[basearch]/iso
I place all the different version ISO files in their respective
directories. I then use autofs to mount them in a directory
called /misc. here is an example of my auto.misc config file:
#auto.misc:
# Fedora Core Release 5
image1
-fstype=iso9660,ro,loop :/fedora/linux/core/5/i386/iso/FC-5-i386-disc1.iso
image2
-fstype=iso9660,ro,loop :/fedora/linux/core/5/i386/iso/FC-5-i386-disc2.iso
you can then get to the files with
$cd /misc/image1
$ls
eula.txt README RPM-GPG-KEY-fedora
Fedora README-Accessibility RPM-GPG-KEY-fedora-extras
fedora.css RELEASE-NOTES RPM-GPG-KEY-fedora-rawhide
figs RELEASE-NOTES-en.html RPM-GPG-KEY-fedora-test
GPL repodata RPM-GPG-KEY-rawhide
images RPM-GPG-KEY stylesheet-images
isolinux RPM-GPG-KEY-beta TRANS.TBL
I then create a path of
/fedora/linux/core/[releasever]/[basearch]/os
I then run a script to create file links from /misc/image1/ into this OS
directory.
This will give me the look and feel of having all the files from the 5
ISO images in the single OS directory with out having the files there.
This saves tons of space.
$cd /fedora/linux/core/5/i386/os
$ls
lrwxrwxrwx 1 root root 22 Jun 12 12:24 .discinfo
-> /misc/image1/.discinfo
lrwxrwxrwx 1 root root 21 Jun 12 12:24 eula.txt
-> /misc/image1/eula.txt
drwxr-xr-x 4 root root 4096 Jun 12 12:24 Fedora
lrwxrwxrwx 1 root root 23 Jun 12 12:24 fedora.css
-> /misc/image1/fedora.css
drwxr-xr-x 3 root root 4096 Jun 12 12:24 figs
lrwxrwxrwx 1 root root 16 Jun 12 12:24 GPL
-> /misc/image1/GPL
[--snip--]
The script also creates the directory structures within the OS directory
since you cannot link within a link.
I then export the /fedora directory via nfs, ftp and httpd. This gives
access to both the iso's as well as the files within from any of the
three services.
Once autofs mounts the image, It is accessible bye any number of
individuals/services. I don't remember how many consecutive loop
devices you can have open. I think it was around 12. You can create a
custom kernel and change the maxloop constant if you need more.
Robert
On Thu, 2006-07-06 at 16:29 +0700, Fajar Priyanto wrote:
> On Thursday 06 July 2006 16:12, Fajar Priyanto wrote:
> > Hi all,
> > I have the iso file of FC5 in my FTP server. I want to do an FTP install
> > from it. I then use the mount -o loop file.iso command to provide the files
> > for installation.
> >
> > The problem is that it only works for 1 iso file at a time on that
> > particular mount point.
> >
> > Can I mount multiple iso files into one mount point at the same time?
> > Thanks.
>
> Surprisingly enough, the installer program asks for the next disk to be
> "inserted", therefore, I can mount-o loop the next ISO file. And retry.
> Very nice :)
> --
> Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial
> http://linux2.arinet.org
> 16:29:16 up 7:56, 2.6.17-1.2139_FC5 GNU/Linux
> Let's use OpenOffice. http://www.openoffice.org
>
More information about the fedora-list
mailing list