juan valdez writes:
> Now to zip it all back up I did
> 
> cd /tmp/b/
> 
> cpio -oc > /tmp/a/x86.miniroot-modified

The miniroot isn't a cpio archive; it's a UFS image.  Cpio has nothing
to do with it.

You should instead do this:

        # umount /tmp/b
        # lofiadm -d /dev/lofi/1
        # gzip /tmp/a/x86.miniroot

The resulting x86.miniroot.gz file is what you need.

When you use lofiadm, writes through the lofi device (which are done
by the mounted file system) end up going to the file used to create
the lofi device.  This means that you're updating the uncompressed
image in place.

-- 
James Carlson, Solaris Networking              <[EMAIL PROTECTED]>
Sun Microsystems / 1 Network Drive         71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to