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

Re: Copying ISO Images onto HD



On Fri, Aug 30, 2002 at 02:03:55PM -0400, Phil Beder wrote:
> I'm trying to set up my first Debian server in a mixed
>  platform environment(macs & win).  Its for a school, and
>  we would like to put reference material; ie encyclopedia,
>  dictionary, and the like on the server.  Many of these
>  programs want to be read from CD-ROMs.  I know the Windows
>  platform has a program that can do this (I believe its
>  called paragon)  How can this be done on the Linux
>  platform?

You will probably want to use samba to do the sharing.

assume /dev/cdrom is 'ln -s' to your real cdrom device (? /dev/hdc ?)
and a mount point of /cdrom exists (mkdir /cdrom && chown you.you
/cdrom)

For each cd-rom of data:

mount -t iso9660 /dev/cdrom /cdrom
mkisofs -J -R /cdrom/ -o /path/to/lots/of/space/name.iso

once the .iso's are made mount them thus:

mkdir /diskname
chmod 755 /diskname
mount -o loop /path/to/lots/of/space/name.iso /diskname
(this does not use any disk space)

configure samba to share /diskname with a meaningful name
(you will probably need to be root or use sudo for this)

look at swat for managing samba shares, if you are not really too
concerned about security; makes life simple if your samba needs are
simple. (debian; apt-get swat; docs in /usr/doc/swat) otherwise edit
/etc/samba/smb.conf by hand and kickstart samba to reread changes.

hope this helps; enjoy!

(have a lot of fun!)

aloha.
dave



Reply to: