Skip to content

u/Hering_

In this archive from Feb 2018 to Oct 2018

3
posts
31
comments
0
media
97
score

Not really as it happens on all test machines.
With encryption and SSD: ~1min boot time.
Removing the encryption on the very same machines: ~20sec boot time.

The worst thing is when /boot with Grub is encrypted. This takes longer than the remaining system to decrypt.

3 points

Which is kinda sad but understandable. But what if (as in my case) AUR is not directly supported except searching through it and installing any packages from it is done via an external manager which is called by the package manager? That way it won't be a direct support but a support for adding AUR managers to it.

1 points

Reminds me I still got an unreleased package here which does all these things: https://i.imgur.com/W9SwvLdg.jpg

Might finish this and upload anytime soon. But I am sure there is no official package in the repositories.

@booooomba: It makes things just easier sometimes as you don't have to search via terminal or use a web browser and you can see if there is an update in your tray or wherever you want to. Different people like different things ;)

1 points

hmm not sure with ntfs-params anymore but can you try mounting it with
nofail,rw,defaults,noatime,nodev,nosuid,noexec,discard,data=ordered,commit=60
Oh and disable baloo if you don't need it: balooctl disable.

2 points

For that reason I use a swapfile in my own system ;)

fallocate -l $(cat /proc/meminfo | grep MemTotal | awk '{print $2 "" $3}') /swap   
chmod 600 /swap  
mkswap /swap  
swapon /swap  

Then in your etc/fstabadd:

# Swap file
/swap none swap defaults,noatime,discard 0 0

And finally in /etc/default/grub add in your GRUB_CMDLINE_LINUX:

resume=/dev/mapper/arch resume_offset=34816

where the first argument is your encrypted disk, and the second one is the file-offset on disk which can be calclulated with:
filefrag -v /swap | awk '{if($1=="0:"){print $4}}' | rev | cut -c 3- | rev

If you want to copy that you might have to adapt the filepaths ;) Suspend and Hibernate are working with this here.

P.s.: Oh and dont forget to run grub-mkconfig -o /boot/grub/grub.cfgafterwards.

3 points

You can use chattr +i /etc/resolv.confto prevent the file from being modified, or, which might be a nicer solution, create a file named /etc/resolv.conf.head and add your modifications there. Whatever is in this file will be added before(!) the content of the /etc/resolv.conf and therefor executed first.

The more interesting question is why your laptop cannot use the default nameserver. Does journalctl say anything?

3 points

In my case the update from systemd-237.64-1 to systemd-238.0-3 and systemd-sysvcompat-237.64-1 to systemd-sysvcompat-238.0-3 broke a ton of stuff like bluetooth, network adapters, pulseaudio. I suddendly got permission denied or buttons were without functions, bluetooth said that messages were denied and so on. So if the solutions with downgrading the kernel did not work for you try to downgrade systemd and systemd-sysvcompat maybe.

1 points

Just uncomment the lines:

[multilib]
Include = /etc/pacman.d/mirrorlist

in your /etc/pacman.conf for example via sudo nano /etc/pacman.conf then do a sudo /usr/bin/pacman --sync --refresh --quiet

5 points

(As stated here: https://www.reddit.com/r/archlinux/comments/869my9/forgot_luks_encryption_locked_out/)
You can test a password with:

cryptsetup luksOpen --test-passphrase --key-slot 0 /dev/sdXY && echo ${password}

Now if you want to use a dictionary test you will have to loop over the file and echo each password.

But this makes only sense if you know that your password was a common word. Otherwise, for example if you used like special chars or even capital letters in the middle it will not work and you have to rely on bruteforcing instead.

2 points

Because I got my own install scripts which I regularly need and like this I wont have to download packages or copy my custom configs over and over again. This way I can have everything in once place ready to be installed with once click and the same time have a customized live image ;)

1 points

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.