Warning message at boot: Option ‘size’ missing in crypttab (Ubuntu 20.04)

I am dual booting Ubuntu 20.04 installed with a dedicated home and swap partition. I encrypted both home and swap using encryptfs after install. Since then no issues or whatsoever. After running some updates today I got a warning message at boot stating that:

cryptsetup: WARNING: Option ‘size’ missing in crypttab for plain
dm-crypt mapping root. Please read
/usr/share/doc/cryptsetup/README.initramfs and add the correct ‘size’
option to your crypttab(5).

Following the suggestion in this thread I added the option size=256 to the content of /etc/crypttab:

cryptswap1 UUID=XXXXXXXXXXXXXXX /dev/urandom swap,offset=1024,cipher=aes-xts-plain64,size=256

Didn’t work though, the warning message at boot still persists with no noticable effect to the system.

The output of sudo cryptsetup status /dev/mapper/cryptswap1 is as following:

/dev/mapper/cryptswap1 is active and is in use.
  type:    PLAIN
  cipher:  aes-xts-plain64
  keysize: 256 bits
  key location: dm-crypt
  device:  /dev/sda4
  sector size:  512
  offset:  1024 sectors
  size:    39060480 sectors
  mode:    read/write

I will appreciate some advice here, thanks.

drivers – Sound card not detected – Ubuntu 20.04 – sof-audio-pci

As I said the sound driver I was running was sof-audio-pci, which had no normal firmware at the moment.

I searched nearly 3 hours trying to solve this headache and finally found the solution, just disable this “sof” driver and fall back to intel:

Do:

sudo gedit /etc/default/grub

Change

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

to:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash snd_hda_intel.dmic_detect=0"

Then do:

sudo update-grub

and Reboot.

You can check if soundcards are detected with:

aplay -l

Source

networking – Netgear Nighthawk ac1900 wifi usb on Ubuntu 20.04 LTS

This question has been asked a few times over the past few years on this forum. The methods that I found does not seem to work anymore, therefor I am here asking to see if anyone can help me to get it to work.

I bought the Netgear Nighthawk ac1900 wifi usb ‘model A7000’ and the only official drivers it has is the WINDOWS 10 and MAC-os. I am currently using a fresh install of Ubuntu 20.04 LTS.

Gnome-logs cannot read system protocol in 20.04

I have recently upgraded form 19.10 to 20.04. When I open Gnome-logs there is a red banner with the warning in German “Systemprotokoll konnte nicht gelesen werden” which translates as “System logs cannot be read”.

When I look under var/logs I find some folders such as cups and some files such as boot.log are marked with a white cross in a red circle and I can only open them as root.

This has never occurred with other releases, what could the problem be?

software installation – Stuck after updating to 20.04

Here I got stuck

So I just upgraded to 20.04 today and after it finished I got stuck on thus dev/sda2:clean, 426290/9740288 files, 28151635/38941184 blocks

After browsing the web for a while I found a fix that purged the nvidia driver. This one doesn’t work for me since I use AMD. I couldn’t find any other fixes. When trying to apt update it tells me that I can’t install gnome-tweaks because it depends on packages, which again depend on packages etc.

How can we set user profile photos in Lubuntu 20.04?

The initial log-in screen shows at least one user which can be logged into the system, with a blank photo. How can we add or change this user-image? The manual shows nothing relevant when searched for ‘image’, ‘photo’, etc.

Possibly related: [Ubuntu 20.04] Change your login screen photo and Where is ‘Users and User groups’ in Lubuntu 20.04? and How do I change login screen theme or background in Ubuntu 20.04?

Sound – My Bluetooth headset audio keeps turning on and off. How would I fix it? (Ubuntu MATE 20.04 LTS)

I use Skullcandy's Hesh 2 wireless headset. The connection was great on the devices I used it with. When I recently installed Ubuntu MATE (including first time users), it worked perfectly, and a person on a Discord server explained to me how to fix static when talking on a microphone on Discord. This required a reset. I reset my system and the sound was cut off. This is all with A2DP for the mode. Many thanks to everyone who can help me!

networking – Can’t use wifi in Ubuntu 20.04

Sorry for my English. But I was a big trouble 🙁
I’m beginer user’s Ubuntu.
My laptop is Lenovo Legion Y530 (i7 8th – 16GB ram – GTX1050).
I’m running Ubuntu 20.04 for it and I was had a trouble with wifi. When I turn on Ubuntu, Wifi doesn’t found any modem.
I tired lspci -knn | grep Net -A3; rfkill list
And Output:

    Subsystem: Lenovo ThinkPad E595 (17aa:b023)
    Kernel modules: rtwpci
08:00.0 Ethernet controller (0200): Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (10ec:8168) (rev 15)
3: hci0: Bluetooth
    Soft blocked: yes
    Hard blocked: no

Output of sudo lshw -C network:

       description: Network controller
       product: RTL8822BE 802.11a/b/g/n/ac WiFi adapter
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:07:00.0
       version: 00
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: latency=0
       resources: iomemory:ffffffff0-fffffffef ioport:4000(size=256) memory:a4300000-a430ffff
  *-network
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:08:00.0
       logical name: enp8s0
       version: 15
       serial: e8:6a:64:ce:c7:7c
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=192.168.1.208 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
       resources: irq:17 ioport:3000(size=256) memory:a4204000-a4204fff memory:a4200000-a4203fff

THANK YOU VERY MUCH AND SORRY FOR MY ENGLISH 🙁