Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: HowTo get rid of GUIs to save space? knoppix takes 8gigs!

  1. #1
    Junior Member
    Join Date
    Oct 2003
    Posts
    6

    HowTo get rid of GUIs to save space? knoppix takes 8gigs!

    Hi,
    I am hoping to find a solution to the following problem:
    after the knoppix hd install on a p133 with 96mb ram and
    8gb scsi hdd and fiddling around with the apt-get upgrade options,
    my linux system apparently (when i select all files on a windows box
    over samba shares and rightclick for the filesize) takes up all of
    the 8 gb of hdd-space I have. I only installed a few packages (apache2,
    centericq, qwsv & ddclient).

    1. Question: Can this be?
    which linux command do I have to use find out about
    the disk space usage?
    2. is there a way to completely strip the
    kde, xfree86, gnome, etc. GUI-stuff from debian/knoppix?

    I am running this on a box which shall in the future run without
    a monitor, so i won't use graphic intense applications, besides
    of the missing cpu power..

    Does anyone have some suggestions?

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    929
    1. Question: Can this be?
    It's pretty damn unlikely. It seems to me that the 8Gb is simply the size of the partition.

    To find out how much of it is full, use KDeiskFree.

    I'm not sure what you're trying to do by pulling the GUI's off. Seems pretty drastic.

  3. #3
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479

    Re: HowTo get rid of GUIs to save space? knoppix takes 8gigs

    Quote Originally Posted by MemMaker
    Hi,
    1. Question: Can this be?
    which linux command do I have to use find out about
    the disk space usage?
    df -h in a console window.

    2. is there a way to completely strip the
    kde, xfree86, gnome, etc. GUI-stuff from debian/knoppix?

    I am running this on a box which shall in the future run without
    a monitor, so i won't use graphic intense applications, besides
    of the missing cpu power..

    Does anyone have some suggestions?
    apt-get --purge remove kdelibs4 kdebase libarts xserver-xfree86 xserver-common xlibs gnome-common


    For anything left over dpkg --get-selections > selections.txt then edit the file and remove the lines of any other programs you do not want then dpkg --set-selections < selections.txt to import the package list and dselect update to update the package system then apt-get deselect-upgrade to upgrade to the packages in the list. After you are done you may want to run orphaner if it has not been removed and get rid of any old libraries left laying around and not in use, if it has been removed then apt-get install deborphan

  4. #4
    Senior Member registered user
    Join Date
    Nov 2002
    Posts
    1,353
    [quote="fingers99"]
    To find out how much of it is full, use KDeiskFree.

    I'm not sure what you're trying to do by pulling the GUI's off. Seems pretty drastic.
    You can also use df from the command line to check out disk space.

  5. #5
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041

    Re: HowTo get rid of GUIs to save space? knoppix takes 8gigs

    --What in the world... Let me get this straight. You mounted your linux box's filesystem over **samba shares** and checked the disk space from WINDOWS

    (sputter)
    (speechless)


    --I recommend finding a LUG (Linux Users Group) in your area as fast as possible, you've definitely been hanging around Windoze too long.

    --Okay, just joking , enough teasing. To check disk space for a specific directory (if you use / , it will check the whole system) use du. ' man du '

    --Typical syntax:
    ' du -s -h /usr ' == Summary of /usr, in human-readable format
    ' du --max-depth=2 /home ' == See usage of /home/user1, /home/user2...
    ' du -h --max-depth=1 / ' == See usage of each dir hanging off of root

    --And as others have mentioned, use ' df ' for usage of mounted filesystems/partitions. It also accepts the ' -h ' flag.

    Quote Originally Posted by MemMaker
    Hi,
    I am hoping to find a solution to the following problem:
    after the knoppix hd install on a p133 with 96mb ram and
    8gb scsi hdd and fiddling around with the apt-get upgrade options,
    my linux system apparently (when i select all files on a windows box
    over samba shares and rightclick for the filesize) takes up all of
    the 8 gb of hdd-space I have. I only installed a few packages (apache2,
    centericq, qwsv & ddclient).

    1. Question: Can this be?
    which linux command do I have to use find out about
    the disk space usage?
    2. is there a way to completely strip the
    kde, xfree86, gnome, etc. GUI-stuff from debian/knoppix?

    I am running this on a box which shall in the future run without
    a monitor, so i won't use graphic intense applications, besides
    of the missing cpu power..

    Does anyone have some suggestions?

  6. #6
    Junior Member
    Join Date
    Oct 2003
    Posts
    6
    Thanks for the replies, i got the follwing output for "df -h":

    Code:
    [root@xserver]:[root]# df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/sda1             8.1G  1.1G  6.7G  14% /
    /dev/root.old         2.2M  235K  2.0M  11% /initrd
    There's one thing I wonder about, why's there a difference between used+
    avail. compared to disksize? Is this because of the fs?

    So I see i got plenty of space left on my hdd.. just a commom mistake..

    I am stripping the GUIs because I want a slim machine and get
    some knowledge about linux in general, also the mentioned system
    (p133, 94mb ram, 512kb vga) would be to slow for the big one
    like gnome and kde and so I decided to be a little more drastic.

    @dave_bechtel
    ;p - not really, I didn't connect my windows machine to the linux
    over samba just to check the filesize, it already was connected
    so because the linux box acts as router/gateway for my win2k pc.

  7. #7
    Junior Member
    Join Date
    Oct 2003
    Posts
    6
    @stephen
    thanks for the purging commands..
    well I got one mor Question about this:
    How do I get apt-get do remove the
    configuratoin dirs even when they aren't
    empty?

  8. #8
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by MemMaker
    @stephen
    thanks for the purging commands..
    well I got one mor Question about this:
    How do I get apt-get do remove the
    configuratoin dirs even when they aren't
    empty?
    Making sure that you are removing the right directory or you will screw up the system rm -rf /non/empty/directory/tree. I usually check just to make sure that it is only the configuration files left some packages don't clean up as well as they should and orphan the config files, it is usually only one or two files left in the whole directory tree anyway so you could just leave them there if you want.

  9. #9
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041
    > There's one thing I wonder about, why's there a difference between used+
    avail. compared to disksize? Is this because of the fs?

    --Most likely the -h flag is doing some rounding.
    Code:
    Filesystem           1K-blocks      Used Available Use% Mounted on
    /dev/hde3              2298164    997984   1300180  44% /
    
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/hde3             2.2G  975M  1.3G  44% /
    --Using the second result, (1300*1024)+(975*1024) == 2329600, which is above the actual filesystem size. Even the actual (fdisk) size of the partition is only 2298240. If you need precice measurements, df w/o the -h flag gives the right results.

    --FYI, I'm using reiserfs. If you're using ext2/ext3, a certain percentage of the fs is reserved for root (use tune2fs to check / modify == ' tune2fs -l /dev/blah ' to look ; ' tune2fs -m 1 /dev/blah ' to set reserved to 1%.)

  10. #10
    Junior Member
    Join Date
    Oct 2003
    Posts
    6
    @stephen
    The by-foot-way is what I wanted to avoid. I thought there
    could be an easier possibility, e.g. something like:
    "purge all non-empty removed-package config-dir".
    But thanks anyway.

    @dave
    yes, i am using ext2. What are the differences, between
    reiserfs, ext2 & ext3..? what would you recommend?

Page 1 of 2 12 LastLast

Similar Threads

  1. goofed with apt-get update booting takes more than 10 minute
    By ramaswamyps in forum Customising & Remastering
    Replies: 7
    Last Post: 08-05-2005, 02:42 AM
  2. Loading Linux........................ Takes forever
    By foamrotreturns in forum Hdd Install / Debian / Apt
    Replies: 8
    Last Post: 02-18-2005, 05:11 PM
  3. different guis
    By Gigahertz in forum General Support
    Replies: 1
    Last Post: 10-15-2004, 09:29 AM
  4. Replies: 2
    Last Post: 09-23-2004, 03:57 AM
  5. Takes a long time to image a drive with dd
    By brentokc in forum General Support
    Replies: 7
    Last Post: 06-09-2004, 06:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


KNOPPIX 9.1 LINUX INSTALL & LIVE DVD picture

KNOPPIX 9.1 LINUX INSTALL & LIVE DVD

$9.99



Linux Knoppix 4.0.2 Installation Disc picture

Linux Knoppix 4.0.2 Installation Disc

$29.99



Knoppix NSM 1.2 picture

Knoppix NSM 1.2

$6.40



Knoppix Linux Bootable OS v8.6

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 32G USB Stick

$20.30



Hamshack Live DVD-ROM picture

Hamshack Live DVD-ROM

$8.00



Knoppix 9.1 Live Linux GNU Bootable USB Flash Drive USA picture

Knoppix 9.1 Live Linux GNU Bootable USB Flash Drive USA

$19.99



Acer Aspire One 9 inch Netbook ZG5 512MB RAM 8GB SSD HD Knoppix Linux WiFi VGA picture

Acer Aspire One 9 inch Netbook ZG5 512MB RAM 8GB SSD HD Knoppix Linux WiFi VGA

$79.99



Knoppix 3.4 Linux installation CD picture

Knoppix 3.4 Linux installation CD

$5.00



Knoppix Linux Bootable OS v8.6

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 16G USB Stick

$19.95