Root filesystem mount failure (Gave up waiting) on NVMe - Dell Latitude 7200 https://askubuntu.com/questions/1567661/root-filesystem-mount-failure-gave-up-waiting-on-nvme-dell-latitude-7200

I’m struggling with a persistent boot issue on my Dell Latitude 7200 2-in-1. I am trying to install and run Ubuntu (the latest LTS release), but I consistently hit the Gave up waiting for root file system device error during the boot process.

Hardware & Setup:

  • Laptop: Dell Latitude 7200 2-in-1.

  • Processor: Intel Core i3-8145U.

  • RAM: 4.00 GB.

  • Drive: 119 GB NVMe SSD (The drive is fully functional as the laptop boots Windows 10/11 without any issues).

  • BIOS Configuration: BIOS Storage mode is set to default (RAID mode).

What I've tried so far:

  • Attempted to resolve the boot delay by adding rootdelay=10 and nvme_core.default_ps_max_latency_us=0 to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub.

  • Performed update-initramfs -u -k all and update-grub via chroot after mounting the EFI partition.

  • Even attempted manual PCI rescan via init-premount scripts, but the issue persists.

It seems the kernel isn't initializing the NVMe controller fast enough to detect the root partition UUID at the early boot stage. Since the hardware works perfectly under Windows, I suspect a specific timing issue or a missing power management quirk for this model.

Has anyone encountered this specific behavior on a Latitude 7200? Is there a known kernel parameter or a specific firmware tweak that I'm missing?

How to unlock custom refresh rate https://askubuntu.com/questions/1567657/how-to-unlock-custom-refresh-rate

I have asus monitor and it supports overclock to 270 hz. but ubuntu 26.04 only can recognize 240hz, if I install nvidia rtx 3060 gpu and it's drivers I can get 270hz, but for some reason my AMD rx 9070xt gpu and display can only give me 240hz, I've tried to make some changes through xrandr but no luck, changes I make are not applying and my custom options not showing up, I've also tried to use software Linux_CRU-x86_64 but still no dice. Can someone assist me?

Ethernet connection fails after 20 seconds https://askubuntu.com/questions/1567655/ethernet-connection-fails-after-20-seconds

My Ethernet connection on my 26.04 computer drops after ~20 seconds and won't come back on. I was having intermittent Ethernet issues on 24.04 and I thought upgrading to 26.04 would fix it. After a fresh install, my internet connection works briefly after each reboot, but it drops very shortly after.

My connection was rock solid until I updated my Ubiquiti OS a few days ago. This box was the only box on my network that was affected.

I tried many different ways to fix it, to no avail:

Hardware:

  • Gigabyte B650 Aorus Elite ax ice

  • TP link TX201 2.5 Gb PCIe network adapter card

Why is my MediaTek MT7902 (14c3:7902) Wi-Fi not working on Ubuntu 26.04 even though it’s detected but shows as UNCLAIMED? https://askubuntu.com/questions/1567650/why-is-my-mediatek-mt7902-14c37902-wi-fi-not-working-on-ubuntu-26-04-even-tho

I’m having a Wi-Fi issue on my ASUS Vivobook (X1504ZA) running Ubuntu 26.04 LTS. I don’t really know much about this kind of Linux/driver/network stuff, so I’ve been trying to figure it out step by step.

Hardware info

My Wi-Fi card shows up as:

  • MediaTek MT7902 802.11ax (Filogic 310)

  • PCI ID: 14c3:7902


What works

  • Internet works fine using USB tethering from my phone

  • System is updated (kernel: 7.0.0-22-generic)

  • Everything else on the system seems normal


What doesn’t work

  • No Wi-Fi option appears in network settings

  • nmcli shows no Wi-Fi device at all

  • The Wi-Fi hardware is detected by the system but marked as UNCLAIMED

  • The mt7921e driver loads, but it does not attach to this device


What I found (with help)

I honestly don’t know much about drivers or kernel stuff, so I used an AI assistant to help me troubleshoot step by step. We checked logs, drivers, and kernel modules together.

From what we found:

  • The Linux mt76 / mt792x drivers are installed

  • But they don’t seem to support my exact chip (14c3:7902)

  • So the system detects the hardware, but no driver actually connects to it


Current situation

It looks like the Wi-Fi chip is not supported (or not fully supported yet) in my current Linux setup.


Workaround

I’m currently just using USB tethering from my phone, which works fine for internet.


Why I’m posting

Since I don’t really understand this technical stuff deeply, I thought I’d ask here in case someone knows a fix, patch, or workaround for this specific Wi-Fi chip.

Any help would be really appreciated 🙏 Should i install windows now?

Can I use eGalax touchscreen without proprietary driver on Ubuntu 24.04? https://askubuntu.com/questions/1567647/can-i-use-egalax-touchscreen-without-proprietary-driver-on-ubuntu-24-04

I'm trying to get eGalax touchscreen to run on Ubuntu 24.04 without proprietary driver from https://www.eeti.com/drivers_Linux.html. The touchscreen controller is properly detected:

paul@cube:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 003 Device 003: ID 8087:0a2a Intel Corp. Bluetooth wireless interface
Bus 003 Device 005: ID 0573:1573 Zoran Co. Personal Media Division (Nogatech) USB Audio and HID
Bus 003 Device 006: ID 2516:0004 Cooler Master Co., Ltd. Storm QuickFire Rapid Mechanical Keyboard
Bus 003 Device 007: ID 0eef:0001 D-WAV Scientific Co., Ltd Titan6001 Surface Acoustic Wave Touchscreen Controller [eGalax]
Bus 003 Device 008: ID 1c4f:0034 SiGma Micro XM102K Optical Wheel Mouse
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
paul@cube:~$ xinput --list
⎡ Virtual core pointer                      id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ eGalax Inc. USB TouchController           id=14   [slave  pointer  (2)]
⎜   ↳ SIGMACHIP Usb Mouse                       id=10   [slave  pointer  (2)]
⎣ Virtual core keyboard                     id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Video Bus                                 id=7    [slave  keyboard (3)]
    ↳ Power Button                              id=8    [slave  keyboard (3)]
    ↳ Sleep Button                              id=9    [slave  keyboard (3)]
    ↳ CM Storm QuickFire Rapid keyboard         id=11   [slave  keyboard (3)]
    ↳ CM Storm QuickFire Rapid keyboard Consumer Control    id=12   [slave  keyboard (3)]
    ↳ CM Storm QuickFire Rapid keyboard System Control  id=13   [slave  keyboard (3)]
    ↳ Intel HID events                          id=15   [slave  keyboard (3)]
paul@cube:~$ xrandr
Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 16384 x 16384
HDMI-1 connected primary 1280x1024+0+0 (normal left inverted right x axis y axis) 360mm x 290mm
   1280x1024     75.02*+  60.02  
...

As suggested by AI, I did:

sudo apt install xserver-xorg-input-evdev xinput-calibrator
sudo modprobe usbtouchscreen usbhid
xinput --map-to-output "eGalax Inc. USB TouchController" HDMI-1

but xinput_calibrator app responds only to the mouse not to the touchscreen. Is there anything else I need to install or configure?

How can I override the system-ui font in Firefox? https://askubuntu.com/questions/1567644/how-can-i-override-the-system-ui-font-in-firefox

I'm using Firefox 151 on Ubuntu 26.04. When a website has font-family: system-ui in CSS, it shows text in the default Ubuntu font. I love this font for desktop/UI elements, but not for body text. Can I override what font Firefox will show for these websites, without replacing what is used for title bars, menus etc?

Unable to install Ubuntu 24.04 when Secure Boot is enabled https://askubuntu.com/questions/1567642/unable-to-install-ubuntu-24-04-when-secure-boot-is-enabled

I'm trying to install Ubuntu 24.04 desktop using a bootable USB with Secure Boot enabled. I'm getting the error message: Selected boot image did not authenticate. How can I resolve this issue?

I have checked platform supported. The same bootable media works with Secure Boot disabled.

converting RTL PDF to text https://askubuntu.com/questions/1567631/converting-rtl-pdf-to-text

I have scanned pdf and I want to convert it to text. I have Ubuntu 24.04.
I installed ocrmypdf and made my pdf file searchable.
Then I tried to install pdf2txt:

$ python3 --version 
Python 3.12.3  
$ pip install pdfminer.rtl
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.
    
    If you wish to install a non-Debian-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have python3-full installed.
    
    If you wish to install a non-Debian packaged Python application,
    it may be easiest to use pipx install xyz, which will manage a
    virtual environment for you. Make sure you have pipx installed.
    
    See /usr/share/doc/python3.12/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
$ sudo apt install python3-pdfminer.rtl
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package python3-pdfminer.rtl
E: Couldn't find any package by glob 'python3-pdfminer.rtl'

How can I make it work?
Maybe I have to install another package?

I succeeded to do this with Google Drive:
uploaded the PDF to Google Drive and opened it with 'Open with > Google Docs'.
High resolution helps.

Still, is there a Linux way to do this?

Laptop battery percentage stays at 80% even after powering off https://askubuntu.com/questions/1567630/laptop-battery-percentage-stays-at-80-even-after-powering-off

I have Preserve Battery Health option enabled on Ubuntu 25.10. It is limiting the battery charging capacity at around 80% level but even after shutting down the laptop and turning it on next morning, I see the battery level at 80%.

Doesn't it suppose to start at 100% and go down to %80 and stay there? Since OS have no control on the battery after shut down, it should be charged to the maximum level.

What am I missing?

How can I investigate what process or event may have removed files and directories? https://askubuntu.com/questions/1567604/how-can-i-investigate-what-process-or-event-may-have-removed-files-and-directori

I am using Ubuntu 24.04 LTS. I have a directory located at ~/Documents/myfiles/....

About one day ago, this directory contained at least seven subdirectories with various files, mainly .odt (LibreOffice), .doc documents, and some source code files such as C++ headers and implementation files (.h, .cpp), as well as Java classes.

Yesterday, I closed my laptop without shutting it down, and it remained in sleep mode for about a day. When I opened it today, I noticed that almost all files and folders inside that directory had disappeared.

I am confident that no one else had access to this laptop during that time.
There is more than enough free space.

I would like to understand how this could have happened. Is there any way to track file or folder deletion history in Ubuntu? I checked the history command, but I did not find any commands such as rm or anything that would indicate manual deletion.

Upd1 This is the output of the command lsblk -e7 -o model,name,size,fstype,label,uuid,mountpoints Mian system where files disappear is nvme0n1

MODEL                      NAME                              SIZE FSTYPE      LABEL                    UUID                                   MOUNTPOINTS
SanDisk Portable SSD       sda                             931.5G iso9660     Ubuntu 24.04.2 LTS amd64 2025-02-15-09-15-26-00                
                           ├─sda1                            5.9G iso9660     Ubuntu 24.04.2 LTS amd64 2025-02-15-09-15-26-00                 /cdrom
                           ├─sda2                              5M vfat        ESP                      B5A5-8010                              
                           ├─sda3                            300K                                                                            
                           └─sda4                          925.6G ext4        writable                 145b53db-2397-4435-bb64-de2ba458fc04   /var/crash
                                                                                                                                              /var/log
SAMSUNG MZVLB512HBJQ-000L2 nvme0n1                         476.9G                                                                            
                           ├─nvme0n1p1                         1G vfat                                 80E7-8AB3                              
                           ├─nvme0n1p2                         2G ext4                                 061fdd73-39b9-4af5-a7e2-b67883a1cef5   /media/ubuntu/061fdd73-39b9-4af5-a7e2-b67883a1cef5
                           └─nvme0n1p3                     473.9G crypto_LUKS                          a13de4f1-09ad-4a30-a503-116e4fdab06d  
                             └─luks-a13de4f1-09ad-4a30-a503-116e4fdab06d
                                                           473.9G LVM2_member                          5xejxc-ebRJ-n8U7-sowq-kZhg-hu1R-i1JkbC
                               └─ubuntu--vg-ubuntu--lv     473.9G ext4                                 85c485d1-28de-4212-b9f3-b0fb795c2a52  
ubuntu@ubuntu:/var/log/recovered$

Upd2

(base) denis@denis:~$ stat ~/Documents/myfiles/
  File: /home/denis/Documents/myfiles/
  Size: 4096        Blocks: 8          IO Block: 4096   directory
Device: 252,1   Inode: 5667304     Links: 3
Access: (0775/drwxrwxr-x)  Uid: ( 1000/   denis)   Gid: ( 1000/   denis)
Access: 2026-06-09 09:28:46.700779427 +0300
Modify: 2026-06-07 13:11:09.468080205 +0300
Change: 2026-06-07 13:11:09.468080205 +0300
 Birth: 2026-06-07 13:11:09.468080205 +0300

Upd3 The history output. I am sure that before command 1959 the files were not deleted. There is no rm and as far as I know those command cannot delete/remove anuthing

1959  cat /sys/class/net/eno1/queues/rx-0/rps_cpus 
 1960  echo ffff|sudo tee /sys/class/net/eno1/queues/rx-0/rps_cpus
 1961  echo 0|sudo tee /sys/class/net/eno1/queues/rx-0/rps_cpus
 1962  echo ffff|sudo tee /sys/class/net/eno1/queues/rx-0/rps_cpus
 1963  powerprofilesctl get
 1964  powerprofilesctl performance
 1965  powerprofilesctl set performance
 1966  echo f|sudo tee /sys/class/net/eno1/queues/rx-0/rps_cpus
 1967  echo ffff|sudo tee /sys/class/net/eno1/queues/rx-0/rps_cpus
 1968  echo 00f0|sudo tee /sys/class/net/eno1/queues/rx-0/rps_cpus
 1969  echo 0f00|sudo tee /sys/class/net/eno1/queues/rx-0/rps_cpus
 1970  echo 32768|sudo tee /proc/sys/net/core/rps_sock_flow_entries
 1971  echo 32768|sudo tee /sys/class/net/eno1/queues/rx-0/rps_flow_cnt
 1972  echo ffff|sudo tee /sys/class/net/eno1/queues/rx-0/rps_cpus
 1973  sudo sysctl -p 99-tcp-tuning-optimal.conf
 1974  cd Documents/job/
 1975  ls
 1976  clear
 1977  find ./ -name "wrk2" 2>/dev/null
 1978  find ./ -name "wrk" 2>/dev/null
 1979  find / -name "wrk" 2>/dev/null
 1980  find / -name "Prometheus" 2>/dev/null
 1981  last
 1982  history

Upd4 The output of lsblk -o model,name,size,fstype,label,uuid,mountpoints

MODEL                          NAME                        SIZE FSTYPE      LABEL              UUID                                   MOUNTPOINTS
                               loop0                       1.5G squashfs                                                              /snap/android-studio/225
                               loop1                         4K squashfs                                                              /snap/bare/5
                               loop2                      55.5M squashfs                                                              /snap/core18/2976
                               loop3                       1.5G squashfs                                                              /snap/android-studio/227
                               loop4                        74M squashfs                                                              /snap/core22/2193
                               loop5                      55.5M squashfs                                                              /snap/core18/2999
                               loop6                     669.8M squashfs                                                              /snap/gnome-46-2404/145
                               loop7                     516.2M squashfs                                                              /snap/gnome-42-2204/226
                               loop8                      16.5M squashfs                                                              /snap/firmware-updater/226
                               loop9                     248.5M squashfs                                                              /snap/firefox/8387
                               loop10                       74M squashfs                                                              /snap/core22/2411
                               loop11                     66.8M squashfs                                                              /snap/core24/1587
                               loop12                     18.5M squashfs                                                              /snap/firmware-updater/210
                               loop13                    531.4M squashfs                                                              /snap/gnome-42-2204/247
                               loop14                    164.8M squashfs                                                              /snap/gnome-3-28-1804/198
                               loop15                     62.2M squashfs                                                              /snap/ffmpeg-2204/145
                               loop16                    246.6M squashfs                                                              /snap/firefox/8306
                               loop17                     66.8M squashfs                                                              /snap/core24/1643
                               loop18                     62.2M squashfs                                                              /snap/ffmpeg-2204/126
                               loop19                     91.7M squashfs                                                              /snap/gtk-common-themes/1535
                               loop20                    371.5M squashfs                                                              /snap/krita/109
                               loop21                      1.5G squashfs                                                              /snap/kf5-core22/3
                               loop22                    371.3M squashfs                                                              /snap/krita/108
                               loop23                      395M squashfs                                                              /snap/mesa-2404/1165
                               loop24                      1.2G squashfs                                                              /snap/libreoffice/373
                               loop25                      6.9M squashfs                                                              /snap/notepad-plus-plus/412
                               loop26                     40.3M squashfs                                                              /snap/pinta/92
                               loop27                    171.1M squashfs                                                              /snap/postman/348
                               loop28                     40.3M squashfs                                                              /snap/pinta/94
                               loop29                    174.4M squashfs                                                              /snap/postman/360
                               loop30                     15.7M squashfs                                                              /snap/snap-store/1367
                               loop31                     48.4M squashfs                                                              /snap/snapd/26382
                               loop32                     15.6M squashfs                                                              /snap/snap-store/1338
                               loop33                     49.3M squashfs                                                              /snap/snapd/26865
                               loop34                    110.7M squashfs                                                              /snap/teams-for-linux/2006
                               loop35                      576K squashfs                                                              /snap/snapd-desktop-integration/315
                               loop36                    110.7M squashfs                                                              /snap/teams-for-linux/2015
                               loop37                      580K squashfs                                                              /snap/snapd-desktop-integration/361
                               loop38                    321.1M squashfs                                                              /snap/vlc/3777
                               loop39                    460.6M squashfs                                                              /snap/wine-platform-9-devel-core22/33
                               loop40                    576.1M squashfs                                                              /snap/wine-platform-runtime-core22/111
                               loop41                    473.9G crypto_LUKS                    a13de4f1-09ad-4a30-a503-116e4fdab06d   
                               └─recovery_luks           473.9G LVM2_member                    5xejxc-ebRJ-n8U7-sowq-kZhg-hu1R-i1JkbC 
                                 └─ubuntu--vg-ubuntu--lv 473.9G ext4                           85c485d1-28de-4212-b9f3-b0fb795c2a52   /mnt/recovery
SanDisk Portable SSD           sda                       931.5G                                                                       
                               ├─sda1                      185G ntfs        usbdata            56CFA1892000C41E                       /media/denis/usbdata
                               ├─sda2                      977K                                                                       
                               ├─sda3                    244.1M vfat        usbboot            4C2B-A37F                              
                               ├─sda4                      6.1G iso9660     Ubuntu 26.04 amd64 2026-04-23-02-18-51-00                 /media/denis/Ubuntu 26.04 amd64
                               └─sda5                    740.1G ext4        writable           2dbbfc5d-9f9d-41b9-a6e7-b86d61dc16f6   /media/denis/writable
PSSD T7 Shield                 sdb                       931.5G                                                                       
                               └─sdb1                    931.5G exfat       T7 Shield          5464-67F9                              /media/denis/T7 Shield
WDC PC SN730 SDBPNTY-1T00-1101 nvme0n1                   953.9G                                                                       
                               ├─nvme0n1p1                 100M vfat                           E02F-02E2                              /boot/efi
                               ├─nvme0n1p2                  16M                                                                       
                               ├─nvme0n1p3               297.9G ntfs                           CED03260D0324EC9                       
                               ├─nvme0n1p4                 546M ntfs                           681888CD18889BA6                       
                               └─nvme0n1p5               655.3G ext4                           cd8102b5-7629-4f9d-a07c-ffe951933711   /
Ubuntu Studio 26.04 and intermittent GUI-lockup https://askubuntu.com/questions/1567599/ubuntu-studio-26-04-and-intermittent-gui-lockup

On installing Ubuntu Studio 26.04 from scratch, I ended-up with an unusable system due to the screen getting scrambled+lockup at random moments several times per day. I have likewise experience on Ubuntu 25.10. This scramble+lockup was not there on earlier versions. HW has - amongst others - a Geforce RTX card driving my monitor. Googling around suggests that there is an incompatibility-issue against wayland. Before I ditch this (not exactly cheap) video-card, what options do I have? I know that I can workaround back to Xorg to some point, however, that can only be a temp workaround as all distro's seem to be forced to move to wayland. So Xorg is likely to become a narrower path every day.

Video card = GeForce RTX 2060 Rev. A I Installed Ubuntu from scratch and have not added anything related to Nvidia, manually.

This morning, I found that when logging in on the GUI desktop, it logs me out after some thing like 10 seconds. ssh-access is OK.

Update: installed 595 nvidia-driver + reboot. Desktop GUI is now usable. Have to wait and see if issues around stability are fixed by this.

Déjà Dup 49 restore workflow is less convenient than older versions – alternatives compatible with existing Duplicity backups? https://askubuntu.com/questions/1567572/d%c3%a9j%c3%a0-dup-49-restore-workflow-is-less-convenient-than-older-versions-alternativ

I recently upgraded to Déjà Dup 49 and noticed that the restore workflow seems to have changed compared to older versions.

In previous versions, I could navigate to a specific folder path and then browse the available backup versions while remaining in that folder. This made it easy to inspect multiple snapshots and find the version I wanted.

In Déjà Dup 49, the workflow appears to be reversed:

First select a backup date. Then navigate through the folder hierarchy to the desired path.

The problem is that if I want to inspect a folder across many backup dates (for example, 10 different snapshots), I have to repeatedly:

go back, select another date, navigate through the same folder tree again.

This feels much less efficient than the previous workflow where I could stay in the folder and move between backup versions.

My questions are:

  1. Is there an option in Déjà Dup 49 to restore the old browsing behavior?
  2. Is there another way to efficiently browse multiple versions of a specific folder without repeatedly navigating the directory tree?
  3. Was this change intentional, and if so, what was the rationale behind it?

In addition, I have a large collection of existing backups that were created by Déjà Dup using Duplicity. If the old behavior is no longer available, are there any alternative GUI front-ends that can browse and restore existing Duplicity backup archives?

I'm specifically looking for a graphical application that is backward-compatible with existing Duplicity backup repositories, since I do not want to recreate years of backups from scratch.

I'm using Ubuntu and Déjà Dup 49.0.

Any suggestions would be appreciated.

UI in version 49.0

Ubuntu 26.04 - After copying a file, nautilus selects all files in the folder https://askubuntu.com/questions/1567399/ubuntu-26-04-after-copying-a-file-nautilus-selects-all-files-in-the-folder

Does anyone know why nautilus selects all files in the folder after you copy a file into the folder? Is there a way to avoid that?

How to run properly Xen 4.20 over Ubuntu 26.04LTS to provide to VMs passthrough access to GPU? https://askubuntu.com/questions/1567362/how-to-run-properly-xen-4-20-over-ubuntu-26-04lts-to-provide-to-vms-passthrough

By the old guide for Xen 4.11 and Ubuntu 14.04, the:

$ sudo apt install xen-hypervisor-amd64
$ sudo reboot

lead to booting into:

Loading Xen 4.20-amd64... 
Loading Linux 7.0.0-22-generic... 
Loading initial ramdisk...

This is a dead-lock state when the OS gets stuck. By the reboot it is possible to enter via GRUB menu into regular Ubuntu and configure the environment.

Using this and this guides, which are also very old, these lines are added into /etc/default/grub instead of default similar lines:

GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash noirqbalance i915.enable_guc=0 intel_iommu=on xen-pciback.hide=(0000:00:02.0) module_blacklist=i915"
GRUB_CMDLINE_XEN_DEFAULT="dom0_mem=8192M,max:8192M dom0_max_vcpus=4 iommu=on,no-igfx,verbose"

Then sudo update-grub && sudo update-initramfs -c -k 7.0.0-22-generic && sudo reboot . In Ubuntu 26.04 LTS and Xen 4.20 this also leads into getting stuck on Loading initial ramdisk...

Running these "guards" under root permissions is considered to reserve the GPU for Xen:

tee /etc/modprobe.d/blacklist-i915.conf << EOF
blacklist i915
EOF

tee /etc/modprobe.d/xen-pciback.conf << EOF
options xen-pciback hide=(0000:00:02.0)
EOF

update-initramfs -u
reboot

However, this does not help either. The boot gets stuck on Loading initial ramdisk...

I am struggling to find up-to-date documentation for Xen. Last official manuals are ending at Xen 4.9, now we're at 4.20.

I tried to install Ubuntu with SSD encryption and without, with Intel TXT enabled and disabled. The result is the same.

This solution was also tried. It results in total skip of Xen boot and loading plain Ubuntu, as expected by the solution but not clear how did it help in that case.

Xen Gurus, what else should be set, changed, deleted, updated in the Ubuntu 26.04 to run Xen 4.20 and provide to VMs passthrough access to GPU?

openssh-server post-installation script error (exit status 10) and SSH not working https://askubuntu.com/questions/1566463/openssh-server-post-installation-script-error-exit-status-10-and-ssh-not-worki

I’m encountering an issue where openssh-server fails during configuration, and SSH is currently not working on my system.

This error appears during package operations, even when I’m not explicitly trying to install openssh-server.

What happens

During apt/dpkg operations, I see:

Setting up openssh-server (1:9.6p1-3ubuntu13.16) ...
dpkg: error processing package openssh-server (--configure):
 installed openssh-server package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
 openssh-server

What I’ve tried

  1. Re-running configuration:
sudo dpkg --configure -a

Same error persists.


  1. Running the post-install script manually with debugging:
sudo bash -x /var/lib/dpkg/info/openssh-server.postinst configure

This didn’t produce any obvious error output, and the last line is `exec /usr/share/debconf/frontend /var/lib/dpkg/info/openssh-server.postinst configure which tells me that something to do with package configuration is failing.


  1. Regenerating SSH host keys:
sudo rm -f /etc/ssh/ssh_host_*
sudo ssh-keygen -A

Keys were generated successfully, but the issue remains.

  1. Restore ssh config:
sudo cp /usr/share/openssh/sshd_config /etc/ssh/sshd_config

Observations

  • SSH into this machine is not functioning.

  • The openssh-server package is broken.

  • The post-installation script consistently exits with status 10.


Research

I found that post-installation script failures can be caused by misconfiguration or missing files, but most solutions suggest reinstalling or purging the package. I haven’t found a clear explanation for exit status 10 specifically or how to resolve it without risking further issues.

Previously, I have used this sequence of commands to fix similar errors:

rm -rf /var/lib/dpkg/info/<packagename>* (in this case openssh*)

dpkg --configure -a

Fix package post-installation script subprocess returned error exit status 10 for libpaper1:amd64

Error reinstalling isc-dhcp-server "post installation script returned error exit status 255"

Like in the above posts, which has fixed the error temporarily, but probably messed up the dpkg package lists or something.

The issue keeps coming back, it's a different package or packages every time so it seems like an issue with dpkg or a corrupt filesystem.

Any ideas what is causing this issue, and how I can resolve it without reinstalling the system?

Update: I got ssh server working again, but still seeing the error on install/configure. getting closer. these are the commands that fixed it and my logic behind them

sudo cp /usr/share/openssh/sshd_config /etc/ssh/sshd_config

-- there was no sshd config until i copied it from here

--- then uncommented the host keys in that file, and generated them. made sshd user

grep -n "HostKey" /etc/ssh/sshd_config
ls -l /etc/ssh/sshd_config.d
sshd -T | grep hostkey
sudo nano /etc/ssh/sshd_config
sshd -t
ls -l /etc/ssh/ssh_host_*
namei -l /etc/ssh/ssh_host_rsa_key
sudo ssh-keygen -lf /etc/ssh/ssh_host_rsa_key
sshd -T | head -50
lsattr /etc/ssh/ssh_host_rsa_key
mount | grep " / "
sudo rm -f /etc/ssh/ssh_host_*
sudo ssh-keygen -A
sudo ls -l /etc/ssh/ssh_host_*
sudo /usr/sbin/sshd -t -f /etc/ssh/sshd_config
getent passwd sshd
id sshd

--- no sshd user??

sudo adduser --system --no-create-home --group sshd
getent passwd sshd
sudo sshd -t -f /etc/ssh/sshd_config
sudo mkdir -p /run/sshd
sudo chmod 755 /run/sshd
sudo sshd -t -f /etc/ssh/sshd_config
sudo systemctl restart ssh
systemctl status ssh --no-pager
sudo dpkg --configure -a
sudo apt -f install

--- still seeing the error here but the server is up and i can connect from another machine

edit:

ssh has been working fine for weeks, now seeing the same error with libreoffice (I haven't installed them recently, but I did a package upgrade).

Setting up libreoffice-base (4:24.2.7-0ubuntu0.24.04.5) ...
dpkg: error processing package libreoffice-base (--configure):
 installed libreoffice-base package post-installation script subprocess returned error exit status 10
Setting up libreoffice-math (4:24.2.7-0ubuntu0.24.04.5) ...

ok another edit:

I've been reading in the post-install scripts, including adding 'set -x' at the top, and I noticed openssh and gdm3 now both fail at or near a line involving ucf. I tried this purge command on ucf, still failed. Reinstalling got rid of the error for now. I hope this helps!

sudo nano /var/lib/dpkg/info/openssh-server.postinst # (adding set -x to see the error, then reconfigured with dpkg)
sudo ucf --purge /etc/ssh/sshd_config
sudo ucf --purge /etc/gdm3/greeter.dconf-defaults
sudo apt-get install --reinstall ucf debconf debconf-i18n
Ubuntu 24.04.4 on RISCV64 unable to detect Wacom Intuos Drawing Tablet connected by USB https://askubuntu.com/questions/1566097/ubuntu-24-04-4-on-riscv64-unable-to-detect-wacom-intuos-drawing-tablet-connected

My new CPU of RISCV64 architecture running on Ubuntu 24.4 is not able to detect the WACOM Intuos drawing tablet using the default GNOME drivers.

I've tried a backgrade of the GNOME starting the login with the "GNOME on XORG" option but the attempt was not successful as the Linux started very slow and showed blockings at access of the setup functions. I also was not able to run an X based diagnostics due to slowness.

My debug shows that the GNOME tablet window is active but does not show any device information. Back to default GNOME login, I see the following error:

rangepi@orangepirv2:~$ xsetwacom --list devices
Wayland devices found but this tool is incompatible with Wayland. See
https://github.com/linuxwacom/xf86-input-wacom/wiki/Wayland

The tablet is visible at ID 06, but does not interact with the Linux mouse (pointer) function.

orangepi@orangepirv2:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 002 Device 003: ID 046d:c077 Logitech, Inc. Mouse
Bus 002 Device 004: ID 258a:0049 BY Tech Gaming Keyboard
Bus 002 Device 005: ID 056a:033c Wacom Co., Ltd CTH-490 [Intuos Art/Photo/Comic (S)]
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 05e3:0620 Genesys Logic, Inc. GL3523 Hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I appreciate a guidance how to make it visible to the default Wayland & GNOME drivers.

/dev/ttyACM0 permission denied on Ubuntu 24.04 https://askubuntu.com/questions/1531140/dev-ttyacm0-permission-denied-on-ubuntu-24-04

I'm struggling to access an MCU connected to the USB and presented as a serial port: /dev/ttyACM0. What worked well in Ubuntu 22.04 does not work in 24.04. Whenever I connect the device, the only way to have it access is to chmod 666 it, but that works only temporarily.

The user I'm working on is already added to the dialout group, and ls -l /dev/ttyACM0 returns: crw-rw---- 1 root dialout 166, 0 Oct 25 15:33 /dev/ttyACM0 , so as I can understand it, it is the root who has r/w and any dialout group member. Am I missing anything here to configure/add? enter image description here

Edit: The driver seems to be correct so that is not the case of invalid UDEV rule triggered:

[21856.363341] usb 3-6: new full-speed USB device number 6 using xhci_hcd
[21856.761217] usb 3-6: New USB device found, idVendor=2e8a, idProduct=0005, bcdDevice= 1.00
[21856.761236] usb 3-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[21856.761240] usb 3-6: Product: Board in FS mode
[21856.761244] usb 3-6: Manufacturer: MicroPython
[21856.761247] usb 3-6: SerialNumber: e6614c311b7f8c38
[21857.365083] cdc_acm 3-6:1.0: ttyACM0: USB ACM device
[21857.365219] usbcore: registered new interface driver cdc_acm
[21857.365225] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
mp4 codecs missing after upgrading to Ubuntu 24.04.1 LTS https://askubuntu.com/questions/1527252/mp4-codecs-missing-after-upgrading-to-ubuntu-24-04-1-lts

HW Info:

  • HW Model: Dell Inc. Latitude E6540
  • MEM: 4,0 GiB
  • Processor: Intel® Core™ i5-4300M × 4
  • Graphics: Intel® HD Graphics 4600 (HSW GT2)
  • SSD: 256,1 GB

SW Information:

  • firmware: A09
  • OS: Ubuntu 24.04.1 LTS
  • Built OS: (null)
  • Type OS: 64bit
  • Version GNOME: 46
  • window system: Wayland
  • Kernel: Linux 6.8.0-45-generic

Ubuntu cannot open MP4 files after upgrade over Ubuntu 22 LTS Codecs are missing and the searching machine dindn't find any suitable codec.

Everything run before upgrade.

Many thanks for any suggestion.

Jouza


Many thanks for your support and for your time Archisman.

I tried both commands: sudo apt install ubuntu-restricted-extras and sudo apt install --reinstall ubuntu-desktop^

Installation was successful but without any result.

Additionally I realized that Ubuntu cannot open only mp4 from my drone DJI Mini4 PRO before processing in video editor. There is no problem after video processing and also with other mp4 files.

The issue with mp4 from drone before processing in video editor persists: enter image description here
Missing:

meta/x-gst-fourcc-dbgi and
meta/x-gst-fourcc-djmd

I found only discussion about similar issue: https://stackoverflow.com/questions/76305443/gstreamer-missing-decoder-meta-x-gst-fourcc-mebx but didn't find any suitable SW for my codecs.

As said I had no problem before Ubuntu upgrade.

Any idea please?

Cheers! Josef

wayland screenshot tool with annotations https://askubuntu.com/questions/1527087/wayland-screenshot-tool-with-annotations

Which tool to use to take screenshots of areas selected by mouse on wayland, and annotate afterwards?

None of tools that I was using works with 24.04

Bluetooth doesn't work on Ubuntu 24.04 https://askubuntu.com/questions/1515216/bluetooth-doesnt-work-on-ubuntu-24-04

I've installed Ubuntu 24.04 on my Geekom A7. I am not able to figure out why Bluetooth is not working. My problem looks the same as described here.

Bluetooth works fine on Windows on the same Geekom A7 mini PC.

  1. rfkill shows that Bluetooth is not blocked.

    rfkill list all
    0: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
    
  2. bluetoothctl reports that there is no default controller.

    [bluetooth]# devices
    No default controller available
    
  3. lsmod shows

    lsmod | grep bluetooth
    bluetooth            1089536  15 btrtl,btmtk,btintel,btbcm,bnep,btusb
    ecdh_generic           16384  1 bluetooth
    
  4. systemctl shows

    systemctl status bluetooth.service
    ● bluetooth.service - Bluetooth service
         Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; preset: enabled)
         Active: active (running) since Fri 2024-05-24 11:05:05 CST; 13min ago
           Docs: man:bluetoothd(8)
       Main PID: 1029 (bluetoothd)
         Status: "Running"
          Tasks: 1 (limit: 37566)
         Memory: 2.8M (peak: 3.1M)
            CPU: 32ms
         CGroup: /system.slice/bluetooth.service
                 └─1029 /usr/libexec/bluetooth/bluetoothd
    
    May 24 11:05:05 terrasoff-A7 systemd[1]: Started bluetooth.service - Bluetooth service.
    May 24 11:05:05 terrasoff-A7 bluetoothd[1029]: Starting SDP server
    May 24 11:05:05 terrasoff-A7 bluetoothd[1029]: src/plugin.c:plugin_init() System does not support csip plugin
    May 24 11:05:05 terrasoff-A7 bluetoothd[1029]: profiles/audio/micp.c:micp_init() D-Bus experimental not enabled
    May 24 11:05:05 terrasoff-A7 bluetoothd[1029]: src/plugin.c:plugin_init() System does not support micp plugin
    May 24 11:05:05 terrasoff-A7 bluetoothd[1029]: src/plugin.c:plugin_init() System does not support vcp plugin
    May 24 11:05:05 terrasoff-A7 bluetoothd[1029]: src/plugin.c:plugin_init() System does not support mcp plugin
    May 24 11:05:05 terrasoff-A7 bluetoothd[1029]: src/plugin.c:plugin_init() System does not support bass plugin
    May 24 11:05:05 terrasoff-A7 bluetoothd[1029]: src/plugin.c:plugin_init() System does not support bap plugin
    May 24 11:05:05 terrasoff-A7 bluetoothd[1029]: Bluetooth management interface 1.22 initialized
    
  5. dmesg | grep -i Bluetooth shows

    [    6.914793] Bluetooth: Core ver 2.22
    [    6.914815] NET: Registered PF_BLUETOOTH protocol family
    [    6.914816] Bluetooth: HCI device and connection manager initialized
    [    6.914819] Bluetooth: HCI socket layer initialized
    [    6.914821] Bluetooth: L2CAP socket layer initialized
    [    6.914825] Bluetooth: SCO socket layer initialized
    [    8.512540] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [    8.512545] Bluetooth: BNEP filters: protocol multicast
    [    8.512549] Bluetooth: BNEP socket layer initialized
    [    8.933590] Modules linked in: qrtr bnep binfmt_misc intel_rapl_msr nls_iso8859_1 intel_rapl_common snd_hda_codec_realtek amdgpu(+) edac_mce_amd snd_hda_codec_generic snd_hda_codec_hdmi kvm_amd snd_hda_intel snd_intel_dspcfg snd_intel_sdw_acpi kvm snd_hda_codec irqbypass snd_hda_core mt7921e crct10dif_pclmul snd_hwdep amdxcp mt7921_common polyval_clmulni btusb snd_pcm drm_exec mt792x_lib polyval_generic btrtl gpu_sched snd_seq_midi mt76_connac_lib ghash_clmulni_intel btintel drm_buddy snd_seq_midi_event mt76 sha256_ssse3 btbcm drm_suballoc_helper drm_ttm_helper snd_rawmidi sha1_ssse3 btmtk ttm snd_seq mac80211 aesni_intel bluetooth drm_display_helper snd_seq_device crypto_simd snd_timer cec ecdh_generic cryptd rc_core cfg80211 snd ecc wmi_bmof rapl i2c_algo_bit input_leds joydev ccp soundcore k10temp libarc4 i2c_piix4 apple_mfi_fastcharge amd_pmc mac_hid msr parport_pc ppdev lp parport efi_pstore nfnetlink dmi_sysfs ip_tables x_tables autofs4 hid_logitech_hidpp hid_logitech_dj hid_apple hid_generic usbhid sdhci_pci
    [    9.061366] Bluetooth: hci0: Opcode 0x0c03 failed: -110
    
  6. lsusb doesn't show my Bluetooth name:

    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 003 Device 002: ID 13d3:3585 IMC Networks Wireless_Device
    Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 005 Device 002: ID 05e3:0610 Genesys Logic, Inc. Hub
    Bus 005 Device 005: ID 046d:c534 Logitech, Inc. Unifying Receiver
    Bus 005 Device 006: ID 05ac:024f Apple, Inc. Aluminium Keyboard (ANSI)
    Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 006 Device 002: ID 05e3:0625 Genesys Logic, Inc. USB3.2 Hub
    Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    
  7. hcitool dev doesn't find any bluetooth device.

  8. /var/lib/bluetooth is empty.

  9. lspci shows:

    00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14e8
    00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Device 14e9
    00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14ea
    00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14ea
    00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14ee
    00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14ee
    00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14ee
    00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14ee
    00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14ea
    00:03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 19h USB4/Thunderbolt PCIe tunnel
    00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14ea
    00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14ea
    00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14eb
    00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14eb
    00:08.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14eb
    00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 71)
    00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
    00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14f0
    00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14f1
    00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14f2
    00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14f3
    00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14f4
    00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14f5
    00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14f6
    00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14f7
    01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
    02:00.0 Network controller: MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter
    03:00.0 SD Host controller: O2 Micro, Inc. SD/MMC Card Reader Controller (rev 01)
    04:00.0 Non-Volatile memory controller: Phison Electronics Corporation PS5021-E21 PCIe4 NVMe Controller (DRAM-less)
    65:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Phoenix1 (rev c2)
    65:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller
    65:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 19h (Model 74h) CCP/PSP 3.0 Device
    65:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15b9
    65:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15ba
    65:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller
    65:00.7 Signal processing controller: Advanced Micro Devices, Inc. [AMD] Device 164a
    66:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Device 14ec
    66:00.1 Signal processing controller: Advanced Micro Devices, Inc. [AMD] AMD IPU Device
    67:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Device 14ec
    67:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15c0
    67:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15c1
    67:00.5 USB controller: Advanced Micro Devices, Inc. [AMD] Pink Sardine USB4/Thunderbolt NHI controller #1
    

Do you have any ideas about how to fix it?

No network access from within Docker container https://askubuntu.com/questions/1445229/no-network-access-from-within-docker-container

I can't access the Internet or even the local network (a network printer) from within a container. For example, pinging google.com's IP:

docker run --rm busybox ping -c 2 142.250.186.142

outputs:

PING 142.250.186.142 (142.250.186.142): 56 data bytes

--- 142.250.186.142 ping statistics ---
2 packets transmitted, 0 packets received, 100% packet loss

With --network=host, it works:

docker run --rm --network=host busybox ping -c 2 142.250.186.142

Host is Ubuntu 22.10. And it used to work until last week. My colleagues using Windows as an host can ping fine.

I tried:

More details:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.10
Release:        22.10
Codename:       kinetic

$ docker info
Client:
 Context:    default
 Debug Mode: false
 Plugins:
  app: Docker App (Docker Inc., v0.9.1-beta3)
  buildx: Docker Buildx (Docker Inc., v0.9.1-docker)
  compose: Docker Compose (Docker Inc., v2.12.2)
  scan: Docker Scan (Docker Inc., v0.21.0)

Server:
 Containers: 1
  Running: 0
  Paused: 0
  Stopped: 1
 Images: 1
 Server Version: 20.10.21
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: systemd
 Cgroup Version: 2
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: a05d175400b1145e5e6a735a6710579d181e7fb0
 runc version: v1.1.4-0-g5fd4c4d
 init version: de40ad0
 Security Options:
  apparmor
  seccomp
   Profile: default
  cgroupns
 Kernel Version: 5.19.0-26-generic
 Operating System: Ubuntu 22.10
 OSType: linux
 Architecture: x86_64
 CPUs: 8
 Total Memory: 15.4GiB
 Name: boris-ThinkPad-T480
 ID: ZN24:57QW:KT4M:J5H6:BIHZ:BF6I:KDV2:EAM6:CESL:UWNE:43AL:LUAJ
 Docker Root Dir: /var/lib/docker
 Debug Mode: true
  File Descriptors: 24
  Goroutines: 34
  System Time: 2022-12-12T20:08:42.528459605+01:00
  EventsListeners: 0
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

$ docker version
Client: Docker Engine - Community
 Version:           20.10.21
 API version:       1.41
 Go version:        go1.18.7
 Git commit:        baeda1f
 Built:             Tue Oct 25 18:01:58 2022
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.21
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.18.7
  Git commit:       3056208
  Built:            Tue Oct 25 17:59:49 2022
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.12
  GitCommit:        a05d175400b1145e5e6a735a6710579d181e7fb0
 runc:
  Version:          1.1.4
  GitCommit:        v1.1.4-0-g5fd4c4d
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

$ cat /proc/sys/net/ipv4/ip_forward
1

$ iptables -Z && iptables -nvL > before.txt && docker run --rm busybox ping -c 3 142.250.186.142 > ping.txt  &&  iptables -nvL > after.txt && cat before.txt && cat ping.txt && diff before.txt after.txt
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 LIBVIRT_INP  all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 DOCKER-USER  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
    0     0 DOCKER-ISOLATION-STAGE-1  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
    0     0 ACCEPT     all  --  *      docker0  0.0.0.0/0            0.0.0.0/0            ctstate RELATED,ESTABLISHED
    0     0 DOCKER     all  --  *      docker0  0.0.0.0/0            0.0.0.0/0           
    0     0 ACCEPT     all  --  docker0 !docker0  0.0.0.0/0            0.0.0.0/0           
    0     0 ACCEPT     all  --  docker0 docker0  0.0.0.0/0            0.0.0.0/0           
    0     0 LIBVIRT_FWX  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
    0     0 LIBVIRT_FWI  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
    0     0 LIBVIRT_FWO  all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 LIBVIRT_OUT  all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain DOCKER (1 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain DOCKER-ISOLATION-STAGE-1 (1 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 DOCKER-ISOLATION-STAGE-2  all  --  docker0 !docker0  0.0.0.0/0            0.0.0.0/0           
    0     0 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain DOCKER-ISOLATION-STAGE-2 (1 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 DROP       all  --  *      docker0  0.0.0.0/0            0.0.0.0/0           
    0     0 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain DOCKER-USER (1 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain LIBVIRT_FWI (1 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 ACCEPT     all  --  *      virbr0  0.0.0.0/0            192.168.122.0/24     ctstate RELATED,ESTABLISHED
    0     0 REJECT     all  --  *      virbr0  0.0.0.0/0            0.0.0.0/0            reject-with icmp-port-unreachable

Chain LIBVIRT_FWO (1 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 ACCEPT     all  --  virbr0 *       192.168.122.0/24     0.0.0.0/0           
    0     0 REJECT     all  --  virbr0 *       0.0.0.0/0            0.0.0.0/0            reject-with icmp-port-unreachable

Chain LIBVIRT_FWX (1 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 ACCEPT     all  --  virbr0 virbr0  0.0.0.0/0            0.0.0.0/0           

Chain LIBVIRT_INP (1 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 ACCEPT     udp  --  virbr0 *       0.0.0.0/0            0.0.0.0/0            udp dpt:53
    0     0 ACCEPT     tcp  --  virbr0 *       0.0.0.0/0            0.0.0.0/0            tcp dpt:53
    0     0 ACCEPT     udp  --  virbr0 *       0.0.0.0/0            0.0.0.0/0            udp dpt:67
    0     0 ACCEPT     tcp  --  virbr0 *       0.0.0.0/0            0.0.0.0/0            tcp dpt:67

Chain LIBVIRT_OUT (1 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 ACCEPT     udp  --  *      virbr0  0.0.0.0/0            0.0.0.0/0            udp dpt:53
    0     0 ACCEPT     tcp  --  *      virbr0  0.0.0.0/0            0.0.0.0/0            tcp dpt:53
    0     0 ACCEPT     udp  --  *      virbr0  0.0.0.0/0            0.0.0.0/0            udp dpt:68
    0     0 ACCEPT     tcp  --  *      virbr0  0.0.0.0/0            0.0.0.0/0            tcp dpt:68
PING 142.250.186.142 (142.250.186.142): 56 data bytes

--- 142.250.186.142 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
1c1
< Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
---
> Chain INPUT (policy ACCEPT 220 packets, 56220 bytes)
3c3
<     0     0 LIBVIRT_INP  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
---
>   220 56220 LIBVIRT_INP  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
5c5
< Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
---
> Chain FORWARD (policy ACCEPT 3 packets, 252 bytes)
7,8c7,8
<     0     0 DOCKER-USER  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
<     0     0 DOCKER-ISOLATION-STAGE-1  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
---
>     6   504 DOCKER-USER  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
>     6   504 DOCKER-ISOLATION-STAGE-1  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
11c11
<     0     0 ACCEPT     all  --  docker0 !docker0  0.0.0.0/0            0.0.0.0/0           
---
>     3   252 ACCEPT     all  --  docker0 !docker0  0.0.0.0/0            0.0.0.0/0           
13,15c13,15
<     0     0 LIBVIRT_FWX  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
<     0     0 LIBVIRT_FWI  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
<     0     0 LIBVIRT_FWO  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
---
>     3   252 LIBVIRT_FWX  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
>     3   252 LIBVIRT_FWI  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
>     3   252 LIBVIRT_FWO  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
17c17
< Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
---
> Chain OUTPUT (policy ACCEPT 267 packets, 34045 bytes)
19c19
<     0     0 LIBVIRT_OUT  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
---
>   267 34045 LIBVIRT_OUT  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
26,27c26,27
<     0     0 DOCKER-ISOLATION-STAGE-2  all  --  docker0 !docker0  0.0.0.0/0            0.0.0.0/0           
<     0     0 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0           
---
>     3   252 DOCKER-ISOLATION-STAGE-2  all  --  docker0 !docker0  0.0.0.0/0            0.0.0.0/0           
>     6   504 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0           
32c32
<     0     0 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0           
---
>     3   252 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0           
36c36
<     0     0 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0           
---
>     6   504 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0

$ sudo iptables -L -v -n -t  nat
Chain PREROUTING (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         
  129 46233 DOCKER     all  --  *      *       0.0.0.0/0            0.0.0.0/0            ADDRTYPE match dst-type LOCAL

Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         

Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 DOCKER     all  --  *      *       0.0.0.0/0           !127.0.0.0/8          ADDRTYPE match dst-type LOCAL

Chain POSTROUTING (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         
    6   504 MASQUERADE  all  --  *      !docker0  172.17.0.0/16        0.0.0.0/0           
18336 2849K LIBVIRT_PRT  all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain DOCKER (2 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 RETURN     all  --  docker0 *       0.0.0.0/0            0.0.0.0/0           

Chain LIBVIRT_PRT (1 references)
 pkts bytes target     prot opt in     out     source               destination         
   29  2852 RETURN     all  --  *      *       192.168.122.0/24     224.0.0.0/24        
    0     0 RETURN     all  --  *      *       192.168.122.0/24     255.255.255.255     
    2   120 MASQUERADE  tcp  --  *      *       192.168.122.0/24    !192.168.122.0/24     masq ports: 1024-65535
    6  3810 MASQUERADE  udp  --  *      *       192.168.122.0/24    !192.168.122.0/24     masq ports: 1024-65535
    2    64 MASQUERADE  all  --  *      *       192.168.122.0/24    !192.168.122.0/24
kernel panic not syncing: Attempted to kill init! exitcode=0x00000100 (ubuntu 18.04lts) https://askubuntu.com/questions/1390355/kernel-panic-not-syncing-attempted-to-kill-init-exitcode-0x00000100-ubuntu-18

I'm a newbie in ubuntu.

I want to get help because I'm facing a kernel panic problem like below.

enter image description here

So I googled and found some solutions and tried.

Solution1. Tried another version of kernel and its recovery mode.

enter image description here

I tried all of them. And they showed same kernel panic and exitcode=0x00000100.

Solution2. Made Ubuntu 18.04 LTS Live USB and tried to boot with USB.

But my computer displayed nothing then.

Solution3. Tried to boot manually in grub2 command line following this link. https://www.linux.com/training-tutorials/how-rescue-non-booting-grub-2-linux/

But in grub, I couldn't found any sda or other device in /dev directory enter image description here

Thanks for reading and apologize for my poor English.

Controlling fans and undervolting in Acer Nitro 5 with Ubuntu https://askubuntu.com/questions/1300102/controlling-fans-and-undervolting-in-acer-nitro-5-with-ubuntu

I installed Ubuntu on my Acer Nitro 5 || 8GB DDR4 || 1TB NVME SSD || i5-9300H || 4GB GTX 1650 laptop, replacing Windows.

Switching to Linux I think there are many features that I am unable to use like controlling fans and undervolting as in Windows; so is there any way by which I can get access to such features?

Acer Nitro 5

Linux file manager similar to Windows File Explorer (directory tree + file list)? https://askubuntu.com/questions/1291745/linux-file-manager-similar-to-windows-file-explorer-directory-tree-file-list

Which Linux file manager has a UI that mimics Windows File Explorer in a way that it supports a split view with:

  • a directory tree on the left, and
  • a file list on the right?
Help with installing boot grub in Windows 10 https://askubuntu.com/questions/1224848/help-with-installing-boot-grub-in-windows-10

I'm having a hard time trying to install on my Windows 10 the Grub bootloader. I downloaded the Ubuntu 18.04.4-desktop-amd64 ISO then ran the Ubuntu live session, then I ran this command sudo fdisk -l

SSD:

Image of my SSD

According to some internet articles I need to shrink my current SSD at least by 400 MB in order to format a boot partition as EFI FAT32 with a proper flag, and with that I will be able to install GRUB there. I have never used a Linux distro before.

Would someone here give me guidance me with proper commands in order to shrink my current drive which has 223 size, but only has a free space of 33 GIB? I only need a 400 MB boot partition.

Once I have installed Grub, finally I would be able to ran the grub configuration to finally fix the HPET of my motherboard firmware among other things.

With GRUB booting Windows, I can access to the configuration of the motherboard firmware allowed in Asrock, and with that force High Event Precision Timing to Disable Cause in a regular way my motherboard firmware is causing issues with HPET forced enable even if I disabled it, so with the GRUB there is a configuration to force HPET to disable, and force the Windows timer to 3.580 MHz.

Why are upgradable packages not upgraded? https://askubuntu.com/questions/1181852/why-are-upgradable-packages-not-upgraded

Executing sudo apt update ended with

Reading package lists... Done
Building dependency tree       
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.

Executing apt list --upgradable gave me

Listing... Done
onionshare/bionic,bionic 2.2.ppa1-1 all [upgradable from: 2.1-1]
ring-all/unknown 20190927.2.c2af011~dfsg1-1 amd64 [upgradable from: 20190629.2.c07ef23~dfsg1-1]

But executing sudo apt upgrade does not upgrade the upgradable packages:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  1. Why is that? Unmet dependencies possibly?
  2. Can I (manually) upgrade the listed packages, and if so: how?

Update: See this pastebin for a full transcript.

How do I set my keyboard layout to work like the Windows mnemonic Russian keyboard? https://askubuntu.com/questions/1011428/how-do-i-set-my-keyboard-layout-to-work-like-the-windows-mnemonic-russian-keyboa

This is the mnemonic Russian keyboard in Windows.

This

while this is the phonetic Russian layout in Ubuntu.

this

In Windows there are some Russian characters mapped in different keys and also:

From Wikipedia:

Windows 10 includes its own implementation of a mnemonic QWERTY-based input method for Russian, which does not fully rely on assigning a key to every Russian letter, but uses the sh, sc, ch, ya (ja), yu (ju), ye (je), yo (jo) combinations to input ш, щ, ч, я, ю, э and ё respectively.

Adding a exception on the client side of OpenVPN https://askubuntu.com/questions/964502/adding-a-exception-on-the-client-side-of-openvpn

I have an openvpn client and it's configuration is stored in a .ovpn file. All my network traffic is going through the VPN tunnel when I connect to it.

I want to add an exception for some of the IPs to not go through the VPN tunnel. I have tried adding route www.google.com 255.255.255.255 192.168.43.1 at the end of the ovpn file to test it. (192.168.43.1 is router IP address)

But, this is making the configuration file invalid. I am just beginning to learn openvpn and I am confused about where to add this line exactly.

Error at startup "No module named 'six'" https://askubuntu.com/questions/963964/error-at-startup-no-module-named-six

I am running Ubuntu 17.04 and for some time now, every time I start my machine I get an error about the package-data-downloader that crashed because of No module named 'six'. See this screenshot:
enter image description here

I am wondering if it might have something to do with my Python3.6 and Anaconda installs. When I run python -V && which python I get:

Python 3.6.2 :: Anaconda, Inc.
/home/user/anaconda3/bin/python

So when I saw that the InterpreterPath was pointing to python3.5, I wondered if it might be related.

If anyone can help me out it would be appreciated.

Overscanning picture problem using HDMI with Intel Graphics https://askubuntu.com/questions/508358/overscanning-picture-problem-using-hdmi-with-intel-graphics

When I use my laptops HDMI on a TV the TV overscales the picture (~5-10% is missing at the edges). There is no option on the TV (sporting a 720p resolution btw). The comp is running Intel HD Graphics 4000.

There is no options to compensate for this in the Ubuntu Settings and I been playing around with xrandr (using transform/scale) but nothing seems to work. The plethora of guides on this subject using transform doesn't work me. This is so annoying since it seems to be so easy to fix ("compressing"/resizing the image to fit the screen) but I have run out of ideas. Setting custom resolutions doesn't help (still parts out of the screen). Its basically 2 clicks away to fix in windows but in ubuntu it seems impossible...

Would be really happy if someone could help me out or have any ideas what I could try! Thanks.