K.S. Bhaskar on 27 Jul 2007 21:02:10 -0000


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

Re: [PLUG] adding files to iso image

  • From: "K.S. Bhaskar" <bhaskar@bhaskars.com>
  • To: "Philadelphia Linux User's Group Discussion List" <plug@lists.phillylinux.org>
  • Subject: Re: [PLUG] adding files to iso image
  • Date: Fri, 27 Jul 2007 17:02:05 -0400
  • Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=aYkT7qrbdvqldADltJvNgXhbLyo8tYaroUO8wOxXJgn84sGU8kA7mNWP1m3Oh+LT1cqYKX2+EgRSzaiwrKkgKbUjhIZntnbksoUT6JAJSHCUB/THIPOl2Z03E9TtW5rfUheXvYgJ0cw1ARdwFwBaIxszvAZjVhqTZ1Gno0JKy+E=
  • Reply-to: Philadelphia Linux User's Group Discussion List <plug@lists.phillylinux.org>
  • Sender: plug-bounces@lists.phillylinux.org

If disk space is in short supply, you may be able to use unionfs of a directory on disk backed by a loop device mount of the ISO image.  This should use disk only for the changes.

Caveat: I have never used unionfs personally, except with Knoppix and DSL.

-- Bhaskar

On 7/27/07, Dan Widyono <dan@widyono.net> wrote:
On Thu, Jul 26, 2007 at 04:11:37PM -0400, Michael James wrote:
> try using a loop device.
>
> "mount -o loop /path/to/file.iso /media/cdrom" will mount your iso file at the /media/cdrom location with r,w rights. Type mount to see.
>
> See Wikipedia for "Loop device" - http://en.wikipedia.org/wiki/Loop_device

You will probably encounter difficulty if you exceed the original total image
size, however.  I've experienced this.  I had to delete other things I
thought were unnecessary before I could add files.  I ended up going with
remastering from an on-disk copy (as Sean said).  Much simpler when you are
increasing the total size.

Dan W.

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug