You are not logged in.

#1 2021-10-03 17:31:43

Trikenstein
Member
From: Canada
Registered: 2021-09-25
Posts: 6

[SOLVED] Brand new disk, multiple paritions, order of paritions?

Hi,

Trying to practice ArchLinux installation on VM (KVM hypervisor QEMU 4.2.1, libvirt 6.0.0)

I create a VM booting from ArchLinux ISO. Boot in UEFI mode, using GPT partitioning. I use `cgdisk` to prepare the following partition layout:

lsblk /dev/vda

NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
vda    254:0    0    12G  0 disk
├─vda1 254:1    0   512M  0 part /mnt/boot/efi
├─vda2 254:2    0     9G  0 part /mnt
├─vda3 254:3    0   1.5G  0 part /mnt/home
└─vda4 254:3    0  1023M  0 part [SWAP]

QUESTION 1: What is the recommended sequence order of the partitions and mount points. The layout chosen above is /boot, root, /home, /swap. Can we do better?

QUESTION 2: Is there any benefit to do a more fined grained partition layout. In general. I am Ok to reinstall apps and system. /home is the only partition I prefer to preserve.

QUESTION 3: What is the reasonable size for the root partition to practice ArchLinux install with KDE and full disk encryption. The usage of the VM is very light. This is used as a test bed before installing on real machine. Currently VM has resources arbitrarily allocated as 12Gb in disk and 2GB memory. /home is intentionally small.

Thanks for any help

Last edited by Trikenstein (2021-10-05 02:51:38)

Offline

#2 2021-10-03 17:40:23

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Brand new disk, multiple paritions, order of paritions?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2021-10-03 18:21:44

Trikenstein
Member
From: Canada
Registered: 2021-09-25
Posts: 6

Re: [SOLVED] Brand new disk, multiple paritions, order of paritions?

@jasonwryan sorry to offend you. Would it be more acceptable if I move the question to the "Newbie Corner" section of the forum? If the question is still qualified, can you please help me to move it?

In case of policy violation, I apologize to the Arch forum community. Please close this thread now.

Last edited by Trikenstein (2021-10-03 18:22:22)

Offline

#4 2021-10-03 18:32:06

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,657

Re: [SOLVED] Brand new disk, multiple paritions, order of paritions?

There is no recommended order, partitioning is a highly subjective topic. If you consider your layout good then it is good, if you allocated enough space for what you intend to do then it is enough space.

The only thing that matters is that you mount them correctly, you should always mount your root first to e.g. /mnt and then mount the supplemental partitions on that /mnt path (so /mtn/boot for the intenden /boot and /mnt/home for home) so that the chroot you'll be doing is talking to the correct paths.

Online

Board footer

Powered by FluxBB