[lug] 1 to 1 data cd copy

Nate Duehr nate at natetech.com
Sat Jun 1 10:57:27 MDT 2002


Bear was talking about mounting the ISO *image file", not a true CD...

So if you have some file...

redhat-7.3-disc1.iso

You can mount that through the loopback device, which will allow you to mount the *ISO image file* as a complete
filesystem that can be read (read-only).

Then you can export that filesystem as an NFS mount to other machines and cruise around the filesystem that normally
would have been on the CD... and all you're doing is looking at the guts of an ISO image file through the loopback
mount interface.

Fun stuff...

Nate, nate at natetech.com

j davis wrote:

> so if i dont mount using the lo i cant export to smb?
>
> i cant do
>
> mount -t iso9660 /space/win2k /mnt/crap
>
> then setup /mnt/crap in smb.conf to be shared?
>
> jd
>
> >From: Bear Giles <bgiles at coyotesong.com>
> >Reply-To: lug at lug.boulder.co.us
> >To: lug at lug.boulder.co.us
> >Subject: Re: [lug] 1 to 1 data cd copy
> >Date: Fri, 31 May 2002 16:01:28 -0600 (MDT)
> >MIME-Version: 1.0
> >Received: from community.tummy.com ([66.54.152.73]) by hotmail.com with
> >Microsoft SMTPSVC(5.0.2195.4905); Fri, 31 May 2002 15:02:25 -0700
> >Received: (qmail 18672 invoked by uid 0); 31 May 2002 22:02:13 -0000
> >Received: from localhost (HELO community.tummy.com)
> >(?EiA76+0wbozm5/3xhxoKe4Pz/NdmN5vf?@127.0.0.1)  by localhost with SMTP; 31
> >May 2002 22:02:04 -0000
> >Received: (qmail 18500 invoked by alias); 31 May 2002 22:01:32 -0000
> >Received: (qmail 18497 invoked by uid 0); 31 May 2002 22:01:32 -0000
> >Received: from 12-255-188-67.client.attbi.com (HELO mail.coyotesong.com)
> >(12.255.188.67)  by community.tummy.com with SMTP; 31 May 2002 22:01:29
> >-0000
> >Received: (qmail 2837 invoked from network); 31 May 2002 22:01:28 -0000
> >Received: from eris.coyotesong.com (root at 192.168.1.3)  by
> >chaos.coyotesong.com with SMTP; 31 May 2002 22:01:28 -0000
> >Received: (from bgiles at localhost)by eris.coyotesong.com (8.9.3/8.9.3/Debian
> >8.9.3-21) id QAA04620for lug at lug.boulder.co.us; Fri, 31 May 2002 16:01:28
> >-0600
> >Return-Path: <alias-blug_dom-lug-owner at lug.boulder.co.us>
> >Delivered-To: mailman-lists.lug.boulder.co.us-lug at lists.lug.boulder.co.us
> >Delivered-To: alias-blug_dom-lug at lug.boulder.co.us
> >Message-Id: <200205312201.QAA04620 at eris.coyotesong.com>
> >In-Reply-To: <F310pbuhOINk9O8XRTV00010397 at hotmail.com> from j davis at "May
> >31, 2002 09:57:19 am"
> >X-Mailer: ELM [version 2.4ME+ PL66 (25)]
> >Sender: lug-admin at lug.boulder.co.us
> >Errors-To: lug-admin at lug.boulder.co.us
> >X-BeenThere: lug at lug.boulder.co.us
> >X-Mailman-Version: 2.0.8
> >Precedence: bulk
> >List-Help: <mailto:lug-request at lug.boulder.co.us?subject=help>
> >List-Post: <mailto:lug at lug.boulder.co.us>
> >List-Subscribe:
> ><http://lists.lug.boulder.co.us/mailman/listinfo/lug>,<mailto:lug-request at lug.boulder.co.us?subject=subscribe>
> >List-Id: Boulder (Colorado) Linux Users Group -- General Mailing List
> ><lug.lug.boulder.co.us>
> >List-Unsubscribe:
> ><http://lists.lug.boulder.co.us/mailman/listinfo/lug>,<mailto:lug-request at lug.boulder.co.us?subject=unsubscribe>
> >List-Archive: <http://lists.lug.boulder.co.us/pipermail/lug/>
> >X-OriginalArrivalTime: 31 May 2002 22:02:26.0293 (UTC)
> >FILETIME=[D96E7A50:01C208EE]
> >
> >What I like is
> >
> >  # dd if=/dev/scd0 of=/some/archive/file.iso bs=2048
> >
> >to grab a snapshot of an ISO image, then
> >
> >  # cdrecord /some/archive/file.iso
> >
> >to write it out (CDR_SPEED and CDR_DEVICE set up in my environment)
> >and
> >
> >  # mount -oro,loop /some/archive/file.iso /some/mountpoint
> >
> >to mount it via the loopback device.  I think you can turn around
> >and export the mounted ISO image via SMB and NFS.
> >
> >I don't know why you would have a problem creating a bootable
> >disk, if you have a bit-for-bit copy.  I've successfully used this
> >techinque to archive my W2K disc (full retail copy, only loaded
> >when I actually need to run Windows for some reason) and if they're
> >playing games with bootable CDs I would expect them to do it with
> >their own OS discs.
> >
> >Bear
> >_______________________________________________
> >Web Page:  http://lug.boulder.co.us
> >Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> >Join us on IRC: lug.boulder.co.us port=6667 channel=#colug
>
> _________________________________________________________________
> Join the world’s largest e-mail service with MSN Hotmail.
> http://www.hotmail.com
>
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: lug.boulder.co.us port=6667 channel=#colug




More information about the LUG mailing list