LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Gentoo (https://www.linuxquestions.org/questions/gentoo-87/)
-   -   Partition help and mounting? (https://www.linuxquestions.org/questions/gentoo-87/partition-help-and-mounting-4175653355/)

drillsar 05-04-2019 11:06 PM

Partition help and mounting?
 
I made the following partitions
/dev/sdb1 EFI Partition 130M should this be bigger?
/dev/sdb2 SWAP 512M
/dev/sdb3 Root
/dev/sdba1 Var

With today systems you still need SWAP?

Reason Var will be my server so I want this seperate

Is this sufficient?

Mount /dev/sdb1 /boot/efi correct?
or I mount this to /boot?

I am planning on using efibootmgr not grub

berndbausch 05-05-2019 01:59 AM

Quote:

Originally Posted by drillsar (Post 5991695)
I made the following partitions
/dev/sdb1 EFI Partition 130M should this be bigger?
/dev/sdb2 SWAP 512M
/dev/sdb3 Root
/dev/sdba1 Var

With today systems you still need SWAP?

It's useful for hibernation and crash dumps at least, but a swap space size of 512MB is pointless in my opinion.
Quote:

Reason Var will be my server so I want this seperate
I don't understand what you mean by Var will be my server.
Quote:

Is this sufficient?
What do you mean by "this"? The size of the EFI partition seems to be OK according to the Gentoo wiki, though the Archlinux wiki recommends 512MB or more.
Quote:

Mount /dev/sdb1 /boot/efi correct?
or I mount this to /boot?
The Gentoo wiki page mounts it at /boot, but you can mount it elsewhere. See also the abovementioned Archlinux wiki page.

Quote:

I am planning on using efibootmgr not grub
I don't think you can compare the two tools. efibootmanager is not a boot loader, and Grub is not an EFI manipulation utility.

drillsar 05-05-2019 08:30 AM

I am saying that /var directory where my website will be located.

I guess will make a swap space less

Thanks for the info

berndbausch 05-05-2019 09:23 AM

Quote:

Originally Posted by drillsar (Post 5991812)
I am saying that /var directory where my website will be located.

It does make sense to put your data on a separate partition.


All times are GMT -5. The time now is 11:31 AM.