0

I'm a Linux beginner and I installed Ubuntu 20.04 on a usb stick and went with manual partitioning.

At install, I thought that 20GB would be enough for root, and allocated first 20GB to root, then 30 GB swap and then the rest to /home.

Now the OS is telling me it's low on disk space on root but I don't know what can fill it up really as 20GB for an OS without the user's home should be plenty. Unfortunately I can't seem to see what's filling up root as the GUI utilities (Disk Usage Analyzer) provide little insight.

I tried to shrink the /home via Disks and I can't. Neither the swap. So the question is:

How can I shrink any of the /swap or /home so that to make free space to enlarge the root on a live system? I can't boot into live environment because I don't have physical access to the machine, only remote! Please don't tell me I can't do this without a reboot or a boot into a live USB! I come from macOS world and there is no problem resizing a partition on a live system.

Here are some screenshots if it helps!

Disk Usage Analyzer reports this!

fdisk -lDisks

Nameless
  • 85
  • 1
  • 2
  • 5
  • 2
    Does this answer your question? [How to resize partitions?](https://askubuntu.com/questions/126153/how-to-resize-partitions) – user68186 Jul 30 '20 at 11:26
  • 30 GB swap seems excessive. See [this question](https://askubuntu.com/questions/49109/i-have-16gb-ram-do-i-need-32gb-swap) for more. – user68186 Jul 30 '20 at 11:28
  • I understand this is possible with LVM, but you did not install with LVM. – C.S.Cameron Jul 30 '20 at 13:34
  • @user68186 no because it seems all solutions require unmounting the partition you wish to modify and since unmounting home is not an option, it seems the only solution is to shrink it via live usb – Nameless Jul 30 '20 at 13:38
  • Always use Live USB to resize system and `/home` partitions. – user68186 Jul 30 '20 at 18:41

0 Answers0