Categories
User Help

HOW TO: Manjaro LUKS encryption with a keyfile from a pendrive

I installed a default installation of manjaro, with full disk LUKS encryption enabled. It works fine, every time I start my system I’m asked for a password Well I’d like to stop being asked for a password and instead using a keyfile from a pendrive. Could you please guide me through the steps? Thank you. […]

Categories
Linux Mastering Development

Moving Linux OS and all the connected HDDs/SSDs to a new computer (same architecture x64, different socket)

I need to migrate my entire system (Ubuntu OS and all the connected HDDs/SSDs) to a new PC. The old one has an Intel CPU and the new one an AMD Ryzen socket AM4, so of course all the hardware will be different. I don’t currently any proprietary driver (I also used the integrated GPU […]

Categories
Linux Mastering Development

Replace HHD home partiton with new SSD home partition

I have a 2 TB HDD which only contains my /home ext4 partion. Now I want to replace the 2 TB HDD by a new 1 TB SSD with a btfs filesystem. So I created the btrfs filesystem on the SDD and copied the home folder from the HDD to the SSD. Now I need […]

Categories
Mastering Development System & Network

Need salt difference between two servers [Need help in getting a workable bash script]

login_server1: ———- ID: sudoers Function: file.managed Name: /etc/sudoers Result: None Comment: The file /etc/sudoers is set to be changed Started: 16:20:19.495358 Duration: 34.495 ms Changes: ———- mode: 0400 ———- ID: autofs_direct Function: file.managed Name: /etc/auto.direct Result: None Comment: The file /etc/auto.direct is set to be changed Started: 16:20:19.686555 Duration: 19.359 ms Changes: ———- diff: — […]

Categories
Android User Help

Mount USB OTG to specific destination folder Nexus 6

I have an app that looks for videos in a specific folder videos. I’m trying to get my fat flash drive to mount on the folder videos under sdcard internal storage Nexus 6 (no sdcard slot) lineageos 16 android 9 Tired su -mm 1|:/ # mount -o bind “/mnt/sdcard/videos” “/mnt/media_rw/A064A9EB64A9C3FE :/ # Did not work […]

Categories
Mastering Development System & Network

Need salt difference between two servers

login_server1: ———- ID: sudoers Function: file.managed Name: /etc/sudoers Result: None Comment: The file /etc/sudoers is set to be changed Started: 16:20:19.495358 Duration: 34.495 ms Changes: ———- mode: 0400 ———- ID: autofs_direct Function: file.managed Name: /etc/auto.direct Result: None Comment: The file /etc/auto.direct is set to be changed Started: 16:20:19.686555 Duration: 19.359 ms Changes: ———- diff: — […]

Categories
Linux Mastering Development Ubuntu

SSD not found anymore (not listed by parted, nor lsblk etc, but bus found in lshw)

I have a dual-boot Windows 10 / Ubuntu 18.04 on my laptop (HP Omen 15-5000 NF) with a PCI-e SSD (I think so). After putting my Windows in sleep mode, it was taking forever so I hard switched it off, not a good idea, but not so terrible I thought. Now, I can’t boot, and, […]

Categories
Linux Mastering Development

File timestamps precision – ext3 with nanoseconds, ext4 with milliseconds

People say ext3 supports file timestamp precision up to seconds and ext4 up to nanoseconds… What happens is that my old VPS running Ubuntu 12.04 with a ext3 filesystem always (as far as I can remember) supported nanoseconds very nicely, like this: File: `auth.log’ Size: 147744 Blocks: 304 IO Block: 4096 regular file Device: 800h/2048d […]

Categories
Linux Mastering Development

differences between tmpfs in fstab

we want to use tmpfs on /var/work folder what is the differences between the following tmpfs in fstab tmpfs /var/work tmpfs size=4g 0 0 to this tmpfs in fstab tmpfs /var/work tmpfs defaults,size=4g 0 0 second – is it necessary to defined also the – rw,nosuid,noatime,nodev ? tmpfs /var/work tmpfs rw,nosuid,noatime,nodev,size=4G 0 0

Categories
Linux Mastering Development Ubuntu

Snap-packaged Chromium can not read mounted volumes

Since upgrading chromium-browser to the Snap-packaged variety, the browser gets “Permission Denied” when attempting to read any directory mounted after boot. For example, attempting to read the contents of a Kubuntu Live CD gives an error like: Could not read the contents of kubuntu-20.04-live Error opening directory ‘/media/travis/kubuntu-20.04-live’: Permission denied This happens for any volume […]