0

My GParted disk map looks like following:

/dev/sdb: Ubuntu /dev/sdb: Ubuntu

/dev/sda : Windows /dev/sda : Windows

Low disk space warning on ubuntu Low disk space warning on ubuntu

I want to increase the size of Ubuntu so the low disk space warning doesn't come. I have /dev/sda4 completely empty (199 GB); I want to bring this space to /dev/sdb5 where my ubuntu is installed. Can anyone tell me proper steps to do this. I do not want to reinstall anything; Or do not want to use and USB boot drive or anything; just want to use commands or tools to get this done. Would be really thankful.

1 Answer 1

0

The two disks sda and sdb are entirely distinct and separate, and you cannot extend one disk with space that is part of another disk.

The most you can do is format sda4 in a compatible format (example ext4), and move data over from Ubuntu. This will create more free space in the Ubuntu partition to avoid the warning message (if you move enough).

4
  • I will have to mount the sda4 before it can be available in ubuntu for accessing every time I do a restart of system. Right ? Commented Apr 29, 2021 at 9:21
  • You can set it to be auto-mounted. One reference of many: How To Automount File Systems on Linux.
    – harrymc
    Commented Apr 29, 2021 at 9:25
  • 1
    There's LVM. He can e.g. create PV/VG/LV with sda4 first, use e.g. rsync to copy everything to the LV, set the root for booting to the LV, then sdb5 can be wiped and used as a PV to extend the LV (or create another LV or even VG).
    – Tom Yan
    Commented May 7, 2021 at 8:02
  • @TomYan: This approach might be worth more than a comment.
    – harrymc
    Commented May 7, 2021 at 11:33

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .