* [gentoo-dev] Building a cloop image
@ 2003-06-24 5:49 Doug Lawlor
2003-06-24 6:35 ` Doug Lawlor
2003-06-24 8:23 ` Paul de Vrieze
0 siblings, 2 replies; 3+ messages in thread
From: Doug Lawlor @ 2003-06-24 5:49 UTC (permalink / raw
To: gentoo-user; +Cc: gentoo-dev
Hello list, I am in the process of updating the gentoo iso to meat my
needs here and was wondering how to use the cloop package to build the
compressed loop back image. Here is what I have done so far:
1. created a file of the proper size with 'dd'.
2. put an ext2 file system in the file using mke2fs -F file name
3. mounted the file and copied files and directories into this file.
I can not get the following to work.
4. 'create_compressed_fs 512 filename'. Create_compressed_fs seems to
write the image to swap space ok and then I see a bunch of garbage
printed on the screen. Is this program writing to standard output
instead of a file?
Thanks in advance for any help.
Doug
--
Make sure your E-mail can be read by everyone!
http://www.betips.net/etc/evilmail.html
Doug Lawlor <dlawlor@warp.nfld.net>
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-dev] Building a cloop image
2003-06-24 5:49 [gentoo-dev] Building a cloop image Doug Lawlor
@ 2003-06-24 6:35 ` Doug Lawlor
2003-06-24 8:23 ` Paul de Vrieze
1 sibling, 0 replies; 3+ messages in thread
From: Doug Lawlor @ 2003-06-24 6:35 UTC (permalink / raw
To: gentoo-user; +Cc: gentoo-dev
I forgot to say that I am trying to do this on a slackware 9 box and am
using cloop-0.66 from the knopix distribution.
Doug
--
Make sure your E-mail can be read by everyone!
http://www.betips.net/etc/evilmail.html
Doug Lawlor <dlawlor@warp.nfld.net>
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-dev] Building a cloop image
2003-06-24 5:49 [gentoo-dev] Building a cloop image Doug Lawlor
2003-06-24 6:35 ` Doug Lawlor
@ 2003-06-24 8:23 ` Paul de Vrieze
1 sibling, 0 replies; 3+ messages in thread
From: Paul de Vrieze @ 2003-06-24 8:23 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: signed data --]
[-- Type: text/plain, Size: 1123 bytes --]
On Tuesday 24 June 2003 07:49, Doug Lawlor wrote:
> Hello list, I am in the process of updating the gentoo iso to meat my
> needs here and was wondering how to use the cloop package to build the
> compressed loop back image. Here is what I have done so far:
> 1. created a file of the proper size with 'dd'.
> 2. put an ext2 file system in the file using mke2fs -F file name
> 3. mounted the file and copied files and directories into this file.
> I can not get the following to work.
> 4. 'create_compressed_fs 512 filename'. Create_compressed_fs seems to
> write the image to swap space ok and then I see a bunch of garbage
> printed on the screen. Is this program writing to standard output
> instead of a file?
>
Assuming it works the same as crypto loop you will need to create a file. Then
link a compressed loopback device with it say /dev/loop0. Then you need to
create a filesystem on the loopback device with mke2fs /dev/loop0
Then you can "mount /dev/loop /mnt/mymountpoint"
Paul
--
Paul de Vrieze
Researcher
Mail: pauldv@cs.kun.nl
Homepage: http://www.cs.kun.nl/~pauldv
[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-06-24 8:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-24 5:49 [gentoo-dev] Building a cloop image Doug Lawlor
2003-06-24 6:35 ` Doug Lawlor
2003-06-24 8:23 ` Paul de Vrieze
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox