Remaster for embedded


Forum: Other Help Topics
Topic: Remaster for embedded
started by: JeffElkins

Posted by JeffElkins on Dec. 31 2005,04:01
I'm trying to remaster a KNOPPIX image for use with embedded. However, I keep ending up with a humongous image, rather than the standard 50Mb.

I copied the KNOPPIX source from a live CD to my hd.

cp -Rp /KNOPPIX/* /mnt/hdb1/dsl/source/KNOPPIX


After which I reboot. I can chroot into the copied
DSL environment. I make no changes at this point.

As a test, I run this script:


#!/bin/bash

if ls "$1" >/dev/null 2>&1; then
mkisofs -R "$1" | create_compressed_fs - 65536 > "$2"
else
echo "Usage: mkknoppix src_dir dest_file"
echo ""
echo "Creates a compressed KNOPPIX image file"
fi


(copied from this forum)

and the resulting KNOPPIX image is 500 or more Mb.

What have I missed?

Posted by JeffElkins on Dec. 31 2005,15:59
Problem solved.

Doing an du -sh on my KNOPPIX dir revealed 1.5 Gb used!

Most of that was in the KNOPPIX/proc dir -- perhaps I didn't unmount /proc before I exited chroot?

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.