srdusr
aboutsummaryrefslogtreecommitdiffstats
path: root/linux/arch-install.md
diff options
context:
space:
mode:
Diffstat (limited to 'linux/arch-install.md')
-rw-r--r--linux/arch-install.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/linux/arch-install.md b/linux/arch-install.md
index b413553..4a7a83e 100644
--- a/linux/arch-install.md
+++ b/linux/arch-install.md
@@ -68,8 +68,7 @@ or
4.1. Get information on boot mode and current blocks
- Verify the boot mode, the below command must show the directory without error otherwise the system is not booted in UEFI mode
`# ls /sys/firmware/efi/efivars`
- > NOTE if no-UEFI (legacy) system we can skip ***4.2.*** but understand LVM requires it to function therefore must create a default linux filesystem in ***4.3.*** and also skip ***4.5.***
-
+ > NOTE if no-UEFI (legacy aka BIOS) system we cannot create LVM partiton(s) therefore must create a default linux filesystem in ***4.3.*** and also skip ***4.5.***
- List block devices to get the disk name (where disk device is), usually "/dev/sda", "/dev/vda", "/dev/nve0n1" or "/dev/mmcblk0" etc..
`# lsblk`
> NOTE: From here onwards we'll assume the disk and it's partition's names are `sda`, `sda1` and `sda2` respectively and one must adjust it to their actually names on their system accordingly.
@@ -94,13 +93,14 @@ or
- Press "enter" on default Partition number again.
> NOTE: The value should correspond with how many partitions we are making. Example should be `default 2` if this is the 2nd partition otherwise put in `2` or whatever correct value needed and press "Enter".
- Press "enter" on default First sector again.
- - Press "enter" on default Last sector this time to use the remaining space if just creating one other partition `/root` otherwise if more seperate partitions will be created, example: `/home` and/or `/swap` and/or `/var` then put in a fixed amount of space by repeating step ***4.3.*** for each but make sure to do `/root` last if no seperate `/home` partition or `/home` last if specified and let it have the remaining space by just pressing "Enter". Another option is to specifiy space for the last created partition (`/home`/`/root`) therefore we have leftover unused space to use in the future to possibily allocate to existing or create more partitions.
+ - Press "enter" on default Last sector this time to use the remaining space if just creating one other partition `/root` or using LVM otherwise if more seperate partitions will be created, example: `/home` and/or `/swap` and/or `/var` then put in a fixed amount of space by repeating step ***4.3.*** for each but make sure to do `/root` last if no seperate `/home` partition or `/home` last if specified and let it have the remaining space by just pressing "Enter". Another option is to specifiy space for the last created partition (`/home`/`/root`) therefore we have leftover unused space to use in the future to possibily allocate to existing or create more partitions.
> NOTE: General recommendations but can greatly differ
`+60G` for /root
/root recommended at least 15-20G, more is better. If `/home` is created then user-data will be stored in `/home`. `root` will usually store what's installed from the package manager(s) therefore if many packages/software will be installed don't be afraid to increase the size, example `+80G` or more if disk has enough space.
- `+4G` or general rule of thumb is 1x2 of RAM. for /swap though can use swapfile
- `+10G` for /var or /var/tmp
+ `+4G` or general rule of thumb is 1x2 of RAM. for `/swap` though can use swapfile
+ `+10G` for `/var` or `/var/tmp`
- On Current type either:
+ > NOTE: LVM requires `UEFI` therefore if `BIOS` then create default filesystem.
- Press "enter" if default filesystem, if `/swap` then put in `8200`.
- or
- Put in `8e00` to change the Current type code from Linux filesystem to Linux LVM if using LVM which will be continued in step ***4.5.***