HD Install :: remastering
Hi,
I'm trying further stripped down Damn Small Linux by removing all X server and clients and all related X stuff. Yes, console mode is enough.
I follow the steps in Knoppix remastering howto: http://www.knoppix.net/docs/index.php/KnoppixRemasteringHowto
First I remove unwanted package by issueing commands: apt-get remove and dpkg -P.
After all, I issued this command: mkisofs -R -U -V "KNOPPIX.net filesystem" -P "KNOPPIX www.knoppix.net" -hide-rr-moved -cache-inodes -no-bak -pad /mnt/had1/knx/source/KNOPPIX | nice -5 /usr/bin/create_compressed_fs - 65536 > /mnt/had1/knx/master/KNOPPIX/KNOPPIX
After the compression was finished, the size of KNOPPIX was 48M. Why does the size is still 48M after I have removed X11 server, clients and all related stuff?
most likely because of the dpkg package database
Yes, it is caused by the dpkg database. Now the size is 42M. But the size of Xserver, client and related X stuff is 6M only?
By the way, I was told that DSL contains debian packages and non-debian packages applications. How can remove these non-debian applications? I want to stripp down to around 16M. Is it possible?
rm filename
Seriously, for non-Debian programs the only way that I know of to remove them is to search for an delete the program files individually.
If a "real" Debian package exists for this program, you may be able to get some hints as to where the files might be located located by going here:
http://www.debian.org/distrib/packages
Type in the name of the package at the Search entry box that is farther down towards the bottom of the page.
Then click on the package name in the Results.
Finally, scroll down to the "Download" section and click on the "list of files" link that is below the "i386" button. This will give you a list of files and their official locations.
You can then go into your distribution and try to find these files and delete them.
Good Luck.
Thanks for your reply.
Just "rm filename"? What about configuration file? Do I have to update configuration after I rm an application? Is there an uninstall routine like MS windows to remove application?
I can use dpkq-query -l to know what debian packages are installed in DSL. How can I know what non-debian applications are installed in DSL?
Oh! So many questions!!! I hope this will not bother you too much.
Next Page...
original here.