Skip to content

u/turtle_mekb

In this archive from Sep 2021 to Jul 2024

11
posts
157
comments
2
media
857
score
2 saved before deletion

Top posts

Top comments

  • EFI can be in /boot/efi (some people prefer /boot, but I prefer /boot/efi because kernels are stored in /boot, and may conflict if you dual-boot multiple linux distros)
  • BIOS boot only exists if you run MBR and legacy BIOS IIRC, I don't think legacy BIOS supports GPT, and the boot records are stored in the partition table, not in a partition file system.
  • Swap doesn't get mounted, you run swapon on the file. To format a partition or file as swap, run mkswap on it. I usually choose a file on a file system instead of a separate partition, to do that, run fallocate -l <size> <file> e.g fallocate -l 8G /swap, then mkswap /swap and fix the permissions with chown root: /swap && chmod 600 /swap
  • Root is mounted at /. In /etc/fstab, set the "pass" option (the last number) to 1. Root should be 1, other file systems should be 2 to be checked for errors, and other things should be 0 like swap.
  • Home partition depends. If you want to use the partition for all users, have user directories in the partition and mount it at /home. If you want it just for one user (e.g user) mount it at /home/user (make sure to chown the mount directory after mounting it).

For drive encryption, check out dm-crypt on ArchWiki

31 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.