Results 1 to 7 of 7

Thread: disk space after upgrade

  1. #1
    Member registered user
    Join Date
    Apr 2005
    Posts
    93

    disk space after upgrade

    How do i find how much used disk space is on my harddrive. Is there a command for this.I used apt-get remove to get rid of files and thought I had deleted about 370MB of files and i am sure that i haven't installed anywhere near that but right clicking on my hda5 suggests that i have used nearly 5GB of space and looking in my system there are still folders with some of tjheb supposedly removed files still there. When i do dpkg -W or dpkg -l the files that i thought i had deleted are still there, but when I do apt-get remove again it says the files don't exist. I used apt-get -remove , deborphan and apt-get clean to remove the packages.

  2. #2
    Senior Member registered user
    Join Date
    Jul 2004
    Location
    Southern Maine, US
    Posts
    274
    du is disk usage (i.e) filesize...so du / would display how much space everything is using, or du <file> would display a filesize, but for disks, you want df (diskspace free) df will display all your filesystems, how much is used, and how much is free. df with no arguments will tell you how much free space and used space there is on the drive which knoppix is installed, or for a different drive, df /dev/hdX

  3. #3
    Senior Member registered user
    Join Date
    Jul 2004
    Location
    Southern Maine, US
    Posts
    274
    oh...also apt-get autoclean will remove all the uninstalled packages sitting around your system

  4. #4
    Member registered user
    Join Date
    Apr 2005
    Posts
    93

    disk space after upgrade

    Thanks for the reply. I did df and I got the following output.which makes me think I have done something wrong as I assummed that Knoppix had 2.5GB of software and even though I am sure i tookoff well over 400Mb Iad haven'tinstalled anything like that much I seem to have ended up with a drive that is 2.7 and also I don't know what /dev/root.old is and how to get rid of it.

    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/hda5 25197220 2723528 21193716 12% /
    /dev/root.old 16155 7864 8291 49% /initrd

  5. #5
    Senior Member registered user
    Join Date
    Jul 2004
    Location
    Southern Maine, US
    Posts
    274
    depends....a gigabyte is 1024 megabytes, an mb is 1024 kb, a kb is 1024 b, and a byte is a 1024 bits....most people think it's 1000, because they think in base 10, not binary....an advertised 20gb hd is more like 18.8....knowing knoppix, they're probably correct about 2.5 gb, but smeone else may have seen that as 2.7 due to thinking in base 10 and not binary....it expands a little when you install too...but i wouldn't worry...you've got 17gb left on your partition

  6. #6
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY USA
    Posts
    1,510
    I would not worry about root.old. The '/initrd' is the initial ram disk which is used by the bootloader in compliment with the kernel. This ram disk is mounted as the root filesystem and autodetect scripts, drivers, & programs are run from it. Then the system mounts a new root filesystem from the HD. The initrd is label root.old. It can usually be unmounted but again, I would not worry about it.

  7. #7
    Member registered user
    Join Date
    Apr 2005
    Posts
    93

    disk space after upgrade

    That's a relief. Thank you both. I thought I would have too much for a remaster

Similar Threads

  1. running out of disk space when cp -Rp
    By loonix in forum Customising & Remastering
    Replies: 3
    Last Post: 12-29-2007, 12:01 AM
  2. Knoppix Live -> Install / Reccomended disk space
    By inflames989 in forum MS Windows & New to Linux
    Replies: 10
    Last Post: 06-20-2006, 05:54 AM
  3. Disk Problem - Help to recover 4G disk space
    By pau1knopp in forum General Support
    Replies: 3
    Last Post: 02-04-2006, 12:15 AM
  4. How much disk space do I need for Knoppix installation?
    By paparazzo79 in forum Hardware & Booting
    Replies: 2
    Last Post: 12-10-2005, 09:03 PM
  5. Low Disk Space after dual boot wondows/knoppix -resize?
    By nicorelli in forum MS Windows & New to Linux
    Replies: 7
    Last Post: 06-03-2004, 12:39 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
  •  


Intel Core i7-7800x CPU processor sr3nh 3.50ghz 6-Core 8.25mb lga-2066 X series picture

Intel Core i7-7800x CPU processor sr3nh 3.50ghz 6-Core 8.25mb lga-2066 X series

$37.29



Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc... picture

Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...

$419.99



AMD Ryzen 9 5950X 16-core 32-thread Desktop Processor picture

AMD Ryzen 9 5950X 16-core 32-thread Desktop Processor

$319.99



Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc... picture

Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...

$619.99



AMD Ryzen 5 5600X CPU Processor (4.6GHz, 6 Cores, Socket AM4) picture

AMD Ryzen 5 5600X CPU Processor (4.6GHz, 6 Cores, Socket AM4)

$119.99



Intel Core i5-12600KF Desktop Processor 10 (6P+4E) Cores up to 4.9 GHz Unlocked. picture

Intel Core i5-12600KF Desktop Processor 10 (6P+4E) Cores up to 4.9 GHz Unlocked.

$145.59



Intel Xeon E5-2697 v2 2.7GHz 30M 12-Core LGA2011 CPU Processor SR19H picture

Intel Xeon E5-2697 v2 2.7GHz 30M 12-Core LGA2011 CPU Processor SR19H

$27.99



Intel - Core i7-14700K 14th Gen 20-Core 28-Thread - 4.3GHz (5.6GHz Turbo) Soc... picture

Intel - Core i7-14700K 14th Gen 20-Core 28-Thread - 4.3GHz (5.6GHz Turbo) Soc...

$444.99



Intel Quad Core i3-12100 3.3GHz 12MB LGA1700 12th Gen. CPU Processor SRL62 picture

Intel Quad Core i3-12100 3.3GHz 12MB LGA1700 12th Gen. CPU Processor SRL62

$45.89



Intel Core i3-10105 10th Gen Comet Lake 4 Quad-Core 3.70 GHz Processor FCLGA1200 picture

Intel Core i3-10105 10th Gen Comet Lake 4 Quad-Core 3.70 GHz Processor FCLGA1200

$31.32