Ubuntu 22.04.01 LTS

Got to 0 bytes of HD space.

Couldn't boot.

Used a live disk boot USB thing.

Used nautilus.

Deleted files of 4gb but didn't free up space+ nothing in the rubbish folder.

Googled and someone said use shift + delete within nautilus. Tried. Agreed I wanted permanent deletion. Still 0 bytes.

  1. Please how can I get it to not display 0 bytes?

  2. I deleted quite a few files initially. Later , how can I get the Ubuntu to mark them as deleted ?

  • 1
    It is unclear haw many partitions you have and where are you deleting files from.
    – Pilot6
    Sep 28, 2022 at 17:25
  • I just have one 256gb internal HD that is 0 bytes. I access it from a live usb stick. @Pilot6 Sep 28, 2022 at 17:28

2 Answers 2


df, du and rm are you best friends. Nautilus most likely deletes the "data" into another "Trash" directory which is most likely ~/.local/share/Trash/

  • The trash folder you mentioned is empty, plus I permanently deleted the files. Ok I'll investigate those commands you suggested. @mestia Sep 28, 2022 at 17:27
  • df -h lists says 100% of drive is used and 0 is available. However the size says 234G and Used 225G. I deleted some files using rm but still says 0 bytes, however the used size in df did decrease.@mestia Sep 28, 2022 at 17:51
  • check /var/log directory, like du -sh /var/log, another potentially interesting file is /home/<youruser>/.xsessions-errors sometimes it can grow a lot due to a buggy application(s)
    – mestia
    Sep 30, 2022 at 6:09

You need 5% free on the HD before it will stop displaying 0 bytes.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.