Skip to content

u/bespote

In this archive from Aug 2020 to Jul 2021

1
posts
18
comments
0
media
233
score

I’m using LVM because that is the idiomatic way to encrypt BTRFS. Like I said, the problem is not hibernation (which works perfectly and performs well).

EDIT: I think we’re having a miscommunication. I’m having issues with suspend to RAM, not hibernate to disk.

1 points

All great questions. I have a 512 MB EFI partition, 512 MB ext4 boot partition, and the rest is BTRFS under LUKS/LVM. The BTRFS has separate root and home partitions. I am using a swap file. Hibernate works perfectly though, so I don’t think this is it. Suspend should just keep everything in memory.

1 points

Not sure what distro you’re using so this can vary a bit. But when I reinstall I generally do this:

  1. Backup home: for me, this is usually the .config directory, other dotfiles in home (.bashrc, .zshrc, .ssh/config, .gitconfig, etc.) and the personal directories in home.
  2. Backup /etc: this is a bit trickier because some of these will be system specific. But there may be some files in there such as VPN configurations, custom systemd units, or other things that you want to carry over to your new system.
  3. Get a list of all installed packages so you can quickly reinstall them later. There will be some that you don’t want, so make sure to curate this.
  4. Some other things you may consider doing are exporting a list of enabled services, backing up other users’ homes, or backing up large softwares that you don’t want to reinstall. It’s hard to say as this is a very personal task.

Once you have all this you can copy everything you backed up to your new system. You might consider copying with rsync instead of cp.

1 points

It’s a lot easier to get the exact system you want by building up to it, rather than tracking down things to remove. Linux vets who know exactly what they want can get it quicker, and newbies (like me 2 months ago) get a fun and informative exercise. Also, the community and wiki is really great. For some, it can be exhausting and a waste of time; for others, the level of control makes the setup worth it.

5 points

End of this list.

Back to top

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.