I'm a new linux user and when I was installing Ubuntu, I have created 2 partitions: first (50gb) for /root folder (not sure but something like that) and second one for /usr folder (I thought all the user files stored there as seen that programmes are being installed there.So I'm facing a problem where my Downloads folder is on a first partition which is only 50gb.Is there a way to resize them / delete second partition and extend first one without losing /usr data?
Is there a way to change partition which is used?
linux;partition
Since you are a new Linux user, as hschou stated, please avoid creating a suite of partitions. It will only cause you grief. Get comfortable with Linux first, then play with partitioning schemes.At this point, to be honest the simplest option is for you to start over. Back up whatever you want to keep and re-install Ubuntu with only two partitions: swap and for / (everything else).To answer your question: no, that would wipe out /usr. For example if you have something like this:-----------------------------| sda1  | sda2              |-----------------------------And you delete sda2 in order to make sda1 larger you'll erase whatever is in sda2. Now, if the contents of sda2 can fit into the filesystem in sda1, then it'd be possible to do what you're asking, but it's a delicate task; not recommended for those new to Linux.For completeness, you cannot add space to the front of a partition. You can only add to the back. For example, using the same partitioning example, if you wanted to remove sda1 to enlarge sda2 into it, that won't work at all. You'd have to backup/restore to address that.In conclusion, your best bet is to reinstall Ubuntu.