Skip to content

u/sonderr_

In this archive from Mar 2018 to Mar 2019

2
posts
14
comments
0
media
82
score

As for why that isn't done, what do users do that do use GRUB and get systemd-boot installed every upgrade of the systemd package?

Oh wow, never really thought about that before (also forgot that systemd-boot is inside the systemd package). Nevertheless, is there actually an solution to notify users of systemd-boot who didn't read the Wiki page about the hooks file (out of curiosity; I could think of a echo in the pre/postinstallation file)?

2 points

I've read your notes, it's just that the Wiki recommends this for SSDs/NVMe https://wiki.archlinux.org/index.php/Solid_State_Drive/Memory_cell_clearing

Regarding the EFI directory: I know you mounted ESP on /boot rather than /boot/EFI but I think the standard would be /boot/EFI (I however mounted ESP on /boot as well because it's less of a hassle). Nevertheless I have a running Arch environment now (LVM on LUKS), only didn't wipe the Disk beforehand. That shouldn't be a problem though right? I mean as long as I didn't have any important / private data on the drive before the encryption?

1 points

I just tried installing LVM on LUKS in a VM and it worked perfectly fine, except that I'm unsure whether or not it's correct to mount ESP on /boot only or /boot/efi but it seems to be quite some work if you're mounting it on /boot/efi as stated in the ArchWiki. Other than that I'm missing one step before installing Arch on my X1, which would be securely wiping the disk. I found Lenovos tool which apparently secure wipes the NVMe device but then again I'm - as always - not entirely sure. It seems to be safer than this method however. How did you wipe your NVMe device? About Snapshots and the Swapfile / Partition: I'm planing to reverse engineer malware and make that my profession. As I am paranoid as fuck I'd rather create a snapshot before executing malware in a VM in case it escapes the VM (although there's no practical case of that as of yet). Therefore I might need snapshots and a swapfile / partition #futureproofing.

1 points

Also, if you have an NVMe drive then DON'T enable trim or discard as a mounting option.

Never really touched TRIM so in order to check whether or not it's enabled I'd need to check out the fstab file, right? I currently only have those parameters rw,relatime so I should be good to go, I guess?

Also while we're at it: Which generation of X1 are you using?

1 points

Since I'm going to use a swapfile instead of a swap partition is there any need of using LVM other than snapshots? Is it ok to use LVM with only one partition inside it (in my case only the root partition). Also thanks for the detailed answer, I really appreciate it. Not only from you but from the r/archlinux community in general with their sometimes in depth answers.

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.