Questions about mounting drives and free space.
Hey guys. About 3 months ago I decided to switch from manjaro to arch on my dual boot pc. I had assigned about 200G storage to my linux partition. Now I want to mount more space on my home partition on linux since I have enough free space on windows. So I freed up another 300G on windows and now my hard drive has 300G free space which I wanna add to linux. Is there a way I can do that without completely reinstalling my system. I couldn't find adding more space on the wiki. Thank you for helping me.
About this post
- Posted
- Archived
- Score
- 0 · 25% up
- Kind
- Text
- ID
- ink6us
7 comments
First of all, keep Windows on the first partition, otherwise it won't work at all anymore. So you want to shrink your Windows partition? Shrinking is hard and usually will go wrong. Backup your hard drive and try shrinking it with gparted for example, but it could go wrong (especially because it's windows🤔). Shrink it by removing a part of the end of the partition. if you remove from the beginning it won't work for sure.
I have freed up space using diskmgr on windows. I just right clicked on a prtition and clicked on free up space and I have free space now.
You definitely need to be careful and make sure you trim the space from the END of the Windows partition (not the beginning). Getting the desired result will also depend a bit on the current partition table layout.
sudo fdisk -lto help us better understand the current layout?Knowing the layout of the partition table will help us determine the best way to guide you on this one. If your Windows partition and primary Linux partition aren't right next to each other, more surgery will be needed.
hmmm, and it's just occurring to me we are probably working with subvolumes, etc since Windows is involved...
We need more info about your Filesystem. Do you use lvm or btrfs? What's your partition table?
btrfs. I used gpt,.
https://wiki.archlinux.org/index.php/Btrfs#Subvolumes
https://wiki.archlinux.org/index.php/Parted