Skip to content

u/egbur

In this archive from Feb 2019 to Oct 2023

3
posts
17
comments
2
media
13k
score

Everyone has given you advice about snapshots, and that's fine, they have their place. But don't forget that a snapshot grows in space over time the more the contents of the filesystem change. If you include your /home directory, this will definitely increase the rate of change. If for some reason you neglect to monitor how big your snapshot is getting and you run out of space, the snapshot becomes worthless and you can't use it anymore, defeating the point.

If what you want is to capture the state of the disk as it is now, so that you can easily go to that point on time again whenever you feel like, this is just called a backup. An easy way is to take an image of the disk using something like cat /dev/sda | gzip -9 > disk.img.gz, which you can then restore simply with a zcat disk.img.gz > /dev/sda. Of course you could also use a file-based alternative, but then you'd have to deal with partitioning and bootloader separately.

Lastly, whatever you do, consider that if a long time goes by you will probably have several updates to install after a restore, some of which might require manual intervention or come with breaking changes. If I were you, I'd just spend some time automating the install and initial configuration instead.

2 points

Yup. I just mounted /boot and reinstalled the kernel again. The reason for the message is that mkinitcpio detected that /boot was listed in the fstab but not mounted, so it couldn't create the initramfs for the new kernel where it should go. My boot partition still had the previous initramfs so just rebooting would've worked as well.

4 points

The dialog is complaining that the system doesn't meet the minimum recommended 1GB swap space but OP has 1024MB. The request for help is sarcasm.

1 points

This is really strange behaviour. useradd -m should create the home directory and make the user the owner already. And after suing to root, you should be able to do the chown. The only thing that I can think of is that the filesystem where /home is mounted is read-only.

2 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.