-
Senior Member
registered user

Originally Posted by
massai
It looks like the "/proc" and "usr" directories are the main culprits
The /proc is not the problem size wise that is just the system mounted and running.
Code:
HappyTux:/home/stephen# du -h /proc
[snip...]
9.0K /proc/5693/task/5693
9.0K /proc/5693/task
7.0K /proc/5693/fd
16K /proc/5693
770M /proc
HappyTux:/home/stephen# mount /dev/hda2 /misc
HappyTux:/home/stephen# du -h /misc/proc
512 /misc/proc
HappyTux:/home/stephen# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hdb2 4.7G 2.7G 2.0G 58% /
/dev/hda3 9.4G 2.6G 6.8G 28% /home
/dev/hda5 47G 23G 24G 49% /music
/dev/hda2 4.7G 2.5G 2.3G 53% /misc
As you can see /dev/hda2 which is my main partition (the /dev/hdb2 I am using for / is a clone of it except for an apt-get upgrade and 2.6.1 source tree & kernel) has about the same space that is in use on my running system so the programs in the /usr are using the space. To get rid of the excess packages that you want to do you should get a list of the packages by dpkg --get-selections > selections.txt then use the list with apt-cache show package_name to check to see what it does if you think you do not need it then remove it don't forget the --purge option to get rid of the configuration files and make sure you run the orphaner program that is in the Knoppix menus somewhere to get rid of the ophaned files as well.
There is pobably nothing I can do about the "/proc" since it relates to the modules I included while compiling the kernel. (I included more modules than needed because I anticipate building a new AMD machine when platform 939 comes out sometime this quarter. So I build-in some future functionality to the kernel so as to plug in this HD on the new machine and play with Linux without having to recompile....We will see if this will work as planned... if at all)
You should be able to boot with the old knoppix kernel in the 32bit mode with the chip but I'm not positive about that one. If it will boot with the old kernel then you should recompile the kernel for the chipset on the motherboard and any other hardware changes and change the kernel type for the processor(s) and install it. I did this last year when I went from a Celeron to an AthlonXP it is a fairly painless process. There's a amd64 mailing list on the Debian site you should be able to find some more useful information from there.
Shoot, the kernel source for 2.6.1 is 222Mb (yeesh that too big, what was I thinking?) and the source for 2.4.22 is 29Mb (obviously Mr Knopper knows better than this feeble newbie).
Those are the kernel headers not the actual kernel source you can compile them (with the kernel_headers option) and install the .deb and then you in theory do not need the kernel source installed to be able to compile modules like the nvidia driver although the 2.6.1 seems to need the kernel tree there to compile I thought I had it tracked down where it failed in the nvidia script but I could not get it to work.
So (hypotheticaly speaking) if the /usr and /proc directories were reduced to zero(0) the rest of the system is 602Mb.
The question is:
Is it possible to have a /usr and /proc fit within 200-250Mb space ? (and still have some build-in hardware flexibility/expandability in the kernel)
It is certainly possible to get the system that small it depends on what programs you want installed but that really has nothing to do with the hardware support in the kernel other than the amount of space the modules being built and installed take up on the drive in other words the hardware support depends on the kernel support not the size of the system that is installed along with the kernel.
Similar Threads
-
By rayesteq in forum Hdd Install / Debian / Apt
Replies: 11
Last Post: 09-14-2004, 03:09 PM
-
By jesselong in forum Customising & Remastering
Replies: 5
Last Post: 05-26-2004, 01:24 PM
-
By AP in forum Customising & Remastering
Replies: 0
Last Post: 04-11-2004, 03:36 AM
-
By Mr.Redhat in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 01-11-2004, 02:46 PM
-
By hnt in forum General Support
Replies: 4
Last Post: 08-19-2003, 09:36 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot
$285.90

2021 Full Version Office Professional Plus for 1 PC Flash USB Drive
$59.99

1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot
$269.10

Microsoft Windows 11 Pro 64bit - New Sealed – Flash USB 1 PC
$49.99

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack
$826.09

Lot 5/10pcs USB Flash Drive Memory Stick 1MB-64GB Pendrive Thumb Drive 8GB 32GB
$385.00

USB Type-A Flash Drive Metal Memory Stick High Speed USB Drive 128GB 256GB 512GB
$8.47

LOT 10x SanDisk 32GB ULTRA USB 3.0 flash drive SDCZ48-032G 32 GB read 100 MB/s
$39.80

Zero Trace Pen: All-in-one Tor Network Anonymous Drive + Cryptocurrency Wallet
$147.00

128GB USB 14-in-1 MacOS bootable Installer repair recovery tech support service
$39.99