1 |
On 09/12/2021 19:27, pat@××××××××.org wrote: |
2 |
> Hi, |
3 |
> |
4 |
> I've bought a new SSD and I want to install gentoo on it. I'd like to |
5 |
> heare some suggestions how to partition it. I'm planning small /boot |
6 |
> partition, / partition and /data (including home) partition. But I'm not |
7 |
> sure if I should create a swap partition or swap to file. I'm daily |
8 |
> hibernating the system to disk. And what should be the size od the swap |
9 |
> same as RAM or bigger? |
10 |
> |
11 |
Swap partition. That's ALWAYS best if you can. |
12 |
|
13 |
Bear in mind, I believe it hibernates into swap, so you need to be able |
14 |
to dump your active system into swap. So for safety's sake your swap |
15 |
should at least equal your ram. The old rule was swap should be twice |
16 |
ram, but there are arguments for and against (in these days of huge ram |
17 |
I generally allocate "swap = *max* ram" on EACH of my hard disks). On |
18 |
rotating rust that's not much - when you have a mobo that takes four |
19 |
16GB chips and your SSD is 256GB that's a lot ... |
20 |
|
21 |
You only need about 32GB for / - I think I run about 20GB used, but you |
22 |
need to configure portage to use tmpfs for as much as possible. It's all |
23 |
the "useful" files it leaves lying around that use up the space. |
24 |
|
25 |
Beyond this, not knowing how big your ram and swap actually are, it's |
26 |
hard to provide better advice ... |
27 |
|
28 |
Cheers, |
29 |
Wol |