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.
No performance hit once it is booted. It does slow down the boot process though which definitely is noticeable (1min compared to 20 seconds until system is completely loaded)
hmm so it does work but somehow not all the time. So I just rebooted 5 times and out of 2 it booted up as wished and the other 3 times I had the timer again when it was searching for the cryptodisks.
You booted the linux-lts kernel and the pacman-information you are showing is about the linux-(non-lts)-kernel.
Either boot the correct kernel or if it does not appear in your grub run sudo grub-mkconfig -o /boot/grub/grub.cfg before rebooting.
Compare pacman -Si linux linux-lts.
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.
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 ;)
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.
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.
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?
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.
Uhm you might wanna read about linux and how it works but read my first answer again and copy&paste the exact command please: sudo nano /etc/pacman.conf
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.
Meh that is unfortunate but explains it. Thank's a lot.
I just like to keep my system kinda clean and like this I could have thrown everything into a single build container. I might use a VM then instead.
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 ;)
Oh.... I ... I ... am going ashamed in the cellar punishing myself now.
I didn't thought about the obvious after using 'any' for the architecture.
Thanks a lot.
In my case I am having freezes when running vlc/kaffeine. It completely freezes the UI and I have to log in to a second terminal and kill the processes first before continuing.
But I am not sure if the reason for that was the kernel update or the nvidia update.
One desktop machine, one VM and 2 laptops. All set up differently by their users here, still behaving the same with full disk encryption.
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.
No performance hit once it is booted. It does slow down the boot process though which definitely is noticeable (1min compared to 20 seconds until system is completely loaded)
hmm so it does work but somehow not all the time. So I just rebooted 5 times and out of 2 it booted up as wished and the other 3 times I had the timer again when it was searching for the cryptodisks.
You booted the linux-lts kernel and the pacman-information you are showing is about the linux-(non-lts)-kernel. Either boot the correct kernel or if it does not appear in your grub run
sudo grub-mkconfig -o /boot/grub/grub.cfgbefore rebooting.Compare
pacman -Si linux linux-lts.There is one which changes color when there are updates and sends notifications if enabled ;)
hmm okay, thanks for clarifying
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.
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 ;)
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=60Oh and disable baloo if you don't need it:
balooctl disable.How do you mount that disk (in
/etc/fstab)?Copying over USB is always bit slow unless you use USB3.+
For that reason I use a swapfile in my own system ;)
Then in your
etc/fstabadd:And finally in
/etc/default/grubadd in yourGRUB_CMDLINE_LINUX: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- | revIf 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.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.headand add your modifications there. Whatever is in this file will be added before(!) the content of the/etc/resolv.confand therefor executed first.The more interesting question is why your laptop cannot use the default nameserver. Does
journalctlsay anything?Also you might use one of the countless AUR helpers here: https://wiki.archlinux.org/index.php/AUR_helpers
Actually you could use
makepkg -siormakepkg --syncdeps --installif you want to install it right away without having to callpacman -U ...yourself.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.
Uhm you might wanna read about linux and how it works but read my first answer again and copy&paste the exact command please:
sudo nano /etc/pacman.confDid you try as root?
sudo <command>Just uncomment the lines:
in your
/etc/pacman.conffor example viasudo nano /etc/pacman.confthen do asudo /usr/bin/pacman --sync --refresh --quiet(As stated here: https://www.reddit.com/r/archlinux/comments/869my9/forgot_luks_encryption_locked_out/)
You can test a password with:
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.
Meh that is unfortunate but explains it. Thank's a lot. I just like to keep my system kinda clean and like this I could have thrown everything into a single build container. I might use a VM then instead.
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 ;)
Yeahhh, uuuups. Thank you.
Oh.... I ... I ... am going ashamed in the cellar punishing myself now. I didn't thought about the obvious after using 'any' for the architecture. Thanks a lot.
In my case I am having freezes when running vlc/kaffeine. It completely freezes the UI and I have to log in to a second terminal and kill the processes first before continuing. But I am not sure if the reason for that was the kernel update or the nvidia update.