Fitting Windows 10 and Arch Linux in 256 GB SSD?
I'm currently using a laptop which only has a single 256GB m2 SSD and right now I can't upgrade it. I'm a computer science student and I'll start having programming classes next semester. I'm currently using Windows 10 but I want to also install Arch Linux and do all my programming things there. Like a separate environment just for productivity. I unfortunately can't ditch Windows 10 completely as of right now. I have ~100GBs of available space. How much would be enough for a minimal arch setup that fits my needs. Is 50-60GBs enough for example, if so how should I partition it?
About this post
- Posted
- Archived
- Score
- 6 · 100% up
- Kind
- Text
- ID
- ere5rm
10 comments
Minimal with some coding stuff you're looking at like 5Gs. With my install with some downloaded isos and other things on my primary laptop I'm at 20GB (I'm running i3 and firefox with vs code). The install without any extras usually runs 5-10GBs also depends on the DE/WM. So 50GB is a good amount.
I usually partition:
512MiB /boot
2GB swap
<root space amount> /
Depends on preference.
You can also use a swap file instead of a partition, so in case you want to resize it it's not as much of a pain.
That's true. Haven't updated my install in a while. :)
Or use the swapd service that increase swap file if needed!
It's definitely enough. See this page on the Wiki.
I don't even think you absolutely need a swap partition but maybe look that up to verify it.
Wiki suggests 23 GiB for root, >512 MiB for swap and the rest goes to home. Depending on your setup you also need additional partitions (EFI System Partition for example) but that's all well documented on the wiki.
Edit: Keep in mind that Windows is also quite a b**** when it comes to resizing its partition. You may have 100 GB free space but depending on what it feels like it might only let you partition off 40 GB or so. Had that exact same problem on my MS Surface Pro 4.
If that gives you trouble, consider wiping the disk, partitioning it and then installing Windows and Arch on their corresponding partitions.
It gave me an absurd amount of 307MB to shrink lol
Called it :D
There's a few things you can do to increase the possible shrink size, just look them up online. One Keyword I remember is "unmovable files". But for the most part, Windows doesn't seem to realize that you own the PC, not Windows.
Luckily you can just reinstall Windows without having to enter the key again since you have a license on that PC already.
50 should be fine, as long as you don’t fill it with unneeded apps and games. Use the disc management tool in windows to shrink the drive, then go through the linux install to make use of the space.
I had 4 OSs within my 128 GB SSD, if you want, arch can occupy less than 16GB. How much space do you have free?