Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Remaster for embedded< Next Oldest | Next Newest >
JeffElkins Offline





Group: Members
Posts: 26
Joined: Dec. 2005
Posted: Dec. 31 2005,04:01 QUOTE

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?
Back to top
Profile PM 
JeffElkins Offline





Group: Members
Posts: 26
Joined: Dec. 2005
Posted: Dec. 31 2005,15:59 QUOTE

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?
Back to top
Profile PM 
1 replies since Dec. 31 2005,04:01 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Remaster for embedded

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code