problem updating VideoDownloader link to python 3.11 https://askubuntu.com/questions/1568266/problem-updating-videodownloader-link-to-python-3-11

I installed 3.11 only my OS (22.04) but VideoDownloader still comes up with an error and seems to point or link to 3.10

Anyone know how I change this (or where the videodownloader config is)

DELETED IN APT: 'intel-deep-learning-essentials-env-2023.1' https://askubuntu.com/questions/1568265/deleted-in-apt-intel-deep-learning-essentials-env-2023-1

Can You Unleash that Package for me, Its Very Important!

nvidia driver problem on ubuntu 26.04 LTS https://askubuntu.com/questions/1568258/nvidia-driver-problem-on-ubuntu-26-04-lts

1. nvidia graphic driver is not installing properly on ubuntu os.

2. nvidia graphic card is not supporting correctly. without full support of nvidia gpu the os is not complete enough.

How do I restore the files (only) to the root directory of an installed Ubuntu 26.04? https://askubuntu.com/questions/1568257/how-do-i-restore-the-files-only-to-the-root-directory-of-an-installed-ubuntu-2

I was setting up a backup program for my newly installed Ubuntu 26.04 when I accidentally deleted all the files (and symlinks) which reside in the root folder of my system. No folders were deleted or changed. I don't have a backup because I haven't set that up yet.

How do I restore those files and links so that the system will boot again?

I can run the demonstration mode of the installation USB to just copy or create what is necessary.

Not enough free hard disk space [closed] https://askubuntu.com/questions/1568256/not-enough-free-hard-disk-space

My Kubuntu system can't figure out how much free space is left on my hard drive. There are three sources (as shown in the screenshots), and they all provide different information. I'm inclined to believe that I should have around 190-200 GB of free space, but the installer won't let me install files larger than the claimed 160 GB. Where did the other 40 GB go?

How to format DVD-R with equivalent of Windows "Live File System"? https://askubuntu.com/questions/1568255/how-to-format-dvd-r-with-equivalent-of-windows-live-file-system

From what I gather, the main feature of Windows "Live File System" is not a Windows thing, but actually a feature of UDF revision 1.50 (1997). It added support for the "Virtual Allocation Table" (VAT), which allowed packet writing; that is, you can sort of treat the CD-R/DVD-R, which are WORM (Write Once, Read Many) as a rewriteable filesystem (not disc, filesystem).

Given this apparent generality, I imagine Linux does support this. However, I only found this, but it seems weird, since I found no udftools service nor the file where it says to be present. And I also suspect pktsetup (of Debian package udftools) has something to do with this, although I do not get its language nor explanation.

So! How do I do this?

I need help with support for TP-Link UB600 Bluetooth Dongle on Kubuntu 26.04 please https://askubuntu.com/questions/1568248/i-need-help-with-support-for-tp-link-ub600-bluetooth-dongle-on-kubuntu-26-04-ple

I've been trying to get my UB600 Bluetooth dongle to work, however it seems that it's not compatible out of the box. In fact, there's only 1 place with a solution how to get it to work however it seems the explanation on how to do it goes over my head. I've tried using what they gave me in konsole but some things just error and I can't seem to get around that. The fix I've been attempting is this. The issue I'm having is, it detects the Bluetooth dongle, but the computer is then unable to detect any Bluetooth devices at all. The lsusb is exactly as shown on that link as is the journalctl.

Results of lsusb | grep -i 'tp-link':

Bus 001 Device 012: ID 37ad:0600  TP-Link Bluetooth USB Adapter

Results of journalctl:

usb 1-1: new full-speed USB device number 12 using xhci_hcd
usb 1-1: New USB device found, idVendor=37ad, idProduct=0600, bcdDevice= 2.00
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: TP-Link Bluetooth USB Adapter
usb 1-1: Manufacturer:
usb 1-1: SerialNumber: 18694530DB8B
Bluetooth: MGMT ver 1.23

I ran sudo dmesg | grep -i bluetooth and got this:

server@server-z87hd3:~$ sudo dmesg | grep -i bluetooth
[sudo] password for server: 
[647887.635955] usb 1-1: Product: TP-Link Bluetooth USB Adapter
[647887.709668] Bluetooth: MGMT ver 1.23
[648046.220743] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000b lmp_ver=0a lmp_subver=8761
[648046.221733] Bluetooth: hci0: RTL: rom_version status=0 version=1
[648046.222744] Bluetooth: hci0: RTL: btrtl_initialize: key id 0
[648046.222748] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_fw.bin
[648046.224331] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_config.bin
[648046.224378] Bluetooth: hci0: RTL: cfg_sz 6, total sz 30210
[648046.376751] Bluetooth: hci0: RTL: fw version 0xdfc6d922
[648046.443866] Bluetooth: MGMT ver 1.23
[648062.029928] usb 1-1: Product: TP-Link Bluetooth USB Adapter
[648062.105001] Bluetooth: MGMT ver 1.23
[648220.950989] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000b lmp_ver=0a lmp_subver=8761
[648220.951983] Bluetooth: hci0: RTL: rom_version status=0 version=1
[648220.952966] Bluetooth: hci0: RTL: btrtl_initialize: key id 0
[648220.952969] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_fw.bin
[648220.953197] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_config.bin
[648220.953223] Bluetooth: hci0: RTL: cfg_sz 6, total sz 30210
[648221.105982] Bluetooth: hci0: RTL: fw version 0xdfc6d922
[648221.173128] Bluetooth: MGMT ver 1.23
[648256.225222] usb 1-1: Product: TP-Link Bluetooth USB Adapter
[648256.298247] Bluetooth: MGMT ver 1.23
[649742.374342] Bluetooth: MGMT ver 1.23
[682771.713073] usb 1-1: Product: TP-Link Bluetooth USB Adapter
[682771.785356] Bluetooth: MGMT ver 1.23

Is there any chance somebody could explain to me like I'm a 5 year old how to apply that patch, or better yet, create a solution for me? I am running Kubuntu 26.04 on kernel 7.0.0-27-27.

SSH login permission denied https://askubuntu.com/questions/1568247/ssh-login-permission-denied

I have recently set up a server on an AWS EC2 instance with Ubuntu 24.04. I am trying to change the configuration to authenticate via password but when I try to log in I get a 'Permission denied, please try again.' error message.

I have done the following:

  • PasswordAuthentication yes and KbdInteractiveAuthentication yes
  • Created a new user that has been given sudo access.
  • Restarted the ssh service with sudo systemctl restart ssh
  • Checked the user isn't locked
  • Checked AllowUsers isn't set in the config
  • Triple checked the password is right (I can su to that user with no problem).
  • Permissions are set correctl for ~/.ssh and any files/dir underneath
  • Made sure owners/group/permissions are correct for /etc/passwd, /etc/group, /etc/shadow
  • Rebooted a couple of times

codename: noble openssh-server: 1:9.6p1-3ubuntu13.16 amd64

Xubunt26.04: System freezes at startup, warm start works (mostly) https://askubuntu.com/questions/1568245/xubunt26-04-system-freezes-at-startup-warm-start-works-mostly

I have a Dell Inspirion-16-5625 (Ryzen 5625) laptop and a ADATA Legend 800 SSD. I used it with Xubuntu 22.04 and 24.04 without problems. Now I updated to version 26.04 and I have at almost every cold start a system freeze after some time. Sometimes it switches to the boot screen, sometimes I can change to a console where I see a journald message saying that the file system is read only (trying to write in an endless loop), sometimes just freezes.

After a restart I often have to enter my dmcrypt password twice.

I have also Windows 11 installed which works without errors and after a warm start Xubuntu also works, so I think I can exclude any hardware problems.

I already searched in internet and I found some things:

  • The SSD has a wrong implemented advanced power management.
  • The graphics driver says DMCUB error.
  • Read error in getting the edid of my external monitor (ASUS PA258QV)
  • Dracut says the keyboard is in an unknown mode.

I tried everything I found in internet, but it seems that now its nearly at every cold start, before some cold starts worked.

So what I did:

  • Update the PC BIOS
  • Update the SSD firmware
  • I checked the SSD with the ADATA utility in Win11 => no errors
  • Set nvme_core.default_ps_max_latency_us=0 (or another value) in grub
  • Set amdgpu.dcdebugmask=0x10 in grub
  • Set drm.edid_firmware=HDMI-A-1:edid/hdmi.bin in grub
  • Disabling the power saving modes of the SSD

For now I have no more idea what I can do. I will attach the dmesg and journal of the last freeze.

I can't get to my BIOS due to UEFI bug with graphic card. How do I force a boot from USB to load Ubuntu server 26.04 on Dell M4700 laptop? https://askubuntu.com/questions/1568244/i-cant-get-to-my-bios-due-to-uefi-bug-with-graphic-card-how-do-i-force-a-boot

I installed Ubuntu 26.04 onto my Dell Precision M4700 laptop. I was seeing some error messages during boot, and some of the googled suggestions were to turn on UEFI in the BIOS of the dell. I turned on Secure UEFI and 26.04 continued to boot, and the error messages went away. However, the problem is that Dell had an issue with the UEFI being buggy with the graphic cards in the Dell M4700, so from that point on, I can't see the bios (or anything) until Linux loads the drivers. The point is, I can no longer interact with the BIOS and have to wait for Linux to load. Well, now I want to reload Ubuntu 26.04 again from bootable USB pen drive, but can't interrupt the bios to do it (or change the boot order in the bios). My question is, since I can fully boot into Linux at this point, is there something I can do with Linux to force it to boot from the USB drive, so that I can reload Ubuntu?

Unable to recreate a RAID6 with newer mdadm and Ubuntu https://askubuntu.com/questions/1568242/unable-to-recreate-a-raid6-with-newer-mdadm-and-ubuntu

I have an old server, with "mdadm - v3.2.5 - 18th May 2012", on Ubuntu version 12. Before trying to move my 5 disks RAID6 to the new server, I created an image with ddrescue of each disks (3TB per disk).

The new server is Ubuntu 26, with "mdadm - v4.5 - 2025-12-16 - Ubuntu 4.5-5ubuntu1"


On the old server, I can create "loop0-4" devices with losetup. and use the command:

mdadm --create /dev/md123 --assume-clean --level=6 --raid-devices=5 /dev/loop3 /dev/loop2 /dev/loop4 /dev/loop1 /dev/loop0

I can then mount the device and access my data.

I can use mdadm --assemble as well

# mdadm --detail /dev/md123
/dev/md123:
        Version : 1.2
  Creation Time : Tue Jul  7 17:18:35 2026
     Raid Level : raid6
     Array Size : 8790405120 (8383.18 GiB 9001.37 GB)
  Used Dev Size : 2930135040 (2794.39 GiB 3000.46 GB)
   Raid Devices : 5
  Total Devices : 5
    Persistence : Superblock is persistent

    Update Time : Wed Jul  8 11:15:21 2026
          State : clean
 Active Devices : 5
Working Devices : 5
 Failed Devices : 0
  Spare Devices : 0

         Layout : left-symmetric
     Chunk Size : 512K

           Name : cchounas:storagearay  (local to host cchounas)
           UUID : 28d7897a:a42f83bf:200a03b2:ef093da5
         Events : 2

    Number   Major   Minor   RaidDevice State
       0       7        3        0      active sync   /dev/loop3
       1       7        2        1      active sync   /dev/loop2
       2       7        4        2      active sync   /dev/loop4
       3       7        1        3      active sync   /dev/loop1
       4       7        0        4      active sync   /dev/loop0

Everything is fine.


On the new server, I execute the same commands and it does not work.

Two of the disks are removed!

# mdadm --assemble /dev/md123 --uuid=28d7897a:a42f83bf:200a03b2:ef093da5 --verbose --metadata=1.2 /dev/loop3 /dev/loop2 /dev/loop4 /dev/loop1 /dev/loop0
mdadm: looking for devices for /dev/md123
mdadm: /dev/loop3 is identified as a member of /dev/md123, slot 0.
mdadm: /dev/loop2 is identified as a member of /dev/md123, slot 1.
mdadm: /dev/loop4 is identified as a member of /dev/md123, slot 2.
mdadm: /dev/loop1 is identified as a member of /dev/md123, slot 3.
mdadm: /dev/loop0 is identified as a member of /dev/md123, slot 4.
mdadm: added /dev/loop2 to /dev/md123 as 1
mdadm: added /dev/loop4 to /dev/md123 as 2 (possibly out of date)
mdadm: added /dev/loop1 to /dev/md123 as 3
mdadm: added /dev/loop0 to /dev/md123 as 4 (possibly out of date)
mdadm: added /dev/loop3 to /dev/md123 as 0
mdadm: /dev/md123 has been started with 3 drives (out of 5).
root@chounas:~# cat /proc/mdstat
Personalities : [raid4] [raid5] [raid6]
md123 : active raid6 loop3[0] loop1[3] loop2[1]
      8790405120 blocks super 1.2 level 6, 512k chunk, algorithm 2 [5/3] [UU_U_]

unused devices: <none>
root@chounas:~# mdadm --detail /dev/md123
/dev/md123:
           Version : 1.2
     Creation Time : Tue Jul  7 17:18:35 2026
        Raid Level : raid6
        Array Size : 8790405120 (8.19 TiB 9.00 TB)
     Used Dev Size : 2930135040 (2.73 TiB 3.00 TB)
      Raid Devices : 5
     Total Devices : 3
       Persistence : Superblock is persistent

       Update Time : Wed Jul  8 11:47:09 2026
             State : clean, degraded
    Active Devices : 3
   Working Devices : 3
    Failed Devices : 0
     Spare Devices : 0

            Layout : left-symmetric
        Chunk Size : 512K

Consistency Policy : resync

              Name : cchounas:storagearay
              UUID : 28d7897a:a42f83bf:200a03b2:ef093da5
            Events : 6

    Number   Major   Minor   RaidDevice State
       0       7        3        0      active sync   /dev/loop3
       1       7        2        1      active sync   /dev/loop2
       -       0        0        2      removed
       3       7        1        3      active sync   /dev/loop1
       -       0        0        4      removed
 cat /proc/mdstat
Personalities : [raid4] [raid5] [raid6]
md123 : active raid6 loop3[0] loop1[3] loop2[1]
      8790405120 blocks super 1.2 level 6, 512k chunk, algorithm 2 [5/3] [UU_U_]

unused devices: <none>

I get the following message in dmesg for the two removed drives( images)

md: kicking non-fresh loop0 from array!

Those are image files, the files have not been modified by the OS during boot, or anything else.

Why does the newer mdadm does not recognize all the 5 disks/images?

How can I "fresh-up" loop0 and loop4

Again, the same image file works just fine on the old server.

It is peculiar that it removed two disks. Since it is a RAID6, removing two disks is OK. I should be able to recover the data, but it would be risky if ever one disk fails. The five images are spread over 3 disks, two 4TB and one 1 TB drives.

when do you think fix for Januscape / Proxmox Debian 12 will be released? [closed] https://askubuntu.com/questions/1568241/when-do-you-think-fix-for-januscape-proxmox-debian-12-will-be-released

so i've disabled nested virtualization in light of this CVE https://ubuntu.com/security/CVE-2026-53359

Is there a fix? How can I get the fix because I've disabled nested on my proxmox, but I actually kinda need it for my platform.

Thanks <3

Nginx 1.30.3 version release for Ubuntu 22.04 LTS [closed] https://askubuntu.com/questions/1568237/nginx-1-30-3-version-release-for-ubuntu-22-04-lts

Can i install the Nginx 1.30.3 source download from Nginx.org since not seeing the update release for nginx 1.30.3 in the Ubuntu official site. Is it recommended to install the source from Nginx.org in the Production servers?

Running an AppImage from a USB stick https://askubuntu.com/questions/1568233/running-an-appimage-from-a-usb-stick

Not very familiar with Ubuntu, so this may be simple. Basically I want to run an app image from a FAT32 formatted USB stick. Needs to be FAT32 for portability reasons.

The app image is Veracrypt, and I'm trying to make a portable version so I can just plug in the stick and run it. I read that which one can create a 'traveller' version in Windows (done that), in Linux, you need to use the AppImage - which is fully self contained.

So, the stick has on it a file 'test' which is the encrypted volume created in Veracrypt, plus a folder to contain the executable. So, put the AppImage into the folder.

But, try to run it, and I can't, because it doesn't have execute permission - which I cannot set because it is FAT32.

So, created a script veracrypt.sh containing

#! /bin/bash    
sudo VeraCrypt-1.26.29-x86_64.AppImage

Same problem, cannot make it executable.

Cannot see how to get around this, suspect it might not be possible from FAT32? I suppose I could co[y the app image to somewhere on whatever system I am sitting it and make it executable there, but it's a clunky answer.

Basically, what I need to do is create a self contained version of Vercrypt on the USB stick, that gives root permissions to the app. The reason for root is that Veracrypt needs it to mount a volume.

After the latest software update YouTube doesn't play videos https://askubuntu.com/questions/1568231/after-the-latest-software-update-youtube-doesnt-play-videos

I updated Ubuntu 24.04 when the popup window for the software updater showed up and asked if I wanted to install the updates. I chose to 'install' and then did a restart and when I went to YouTube, videos don't play. I get the list of videos, but when I click on a video, it opens the new page and everything comes up, but no video window and no video. On this other computer YouTube is playing videos. Both have Firefox version 152.0.4 and are running Ubuntu 24.04. I also tried getting the URL from the "Share" icon. I copied it and pasted it into the address line but that didn't work either.

Xubuntu 26.04 Thunar: NFS mount points not visible in "Browse Network" https://askubuntu.com/questions/1568229/xubuntu-26-04-thunar-nfs-mount-points-not-visible-in-browse-network

With Xubuntu 24.04 the File Manager sees, in "Browse Network", NFS mount points. With Xubuntu 26.04 NFS mount points are not visible but can be reached by specifying the mount point.

I tried to use the comment=x-gvfs-show but this seemed to have no effect. Using gio to mount the NFS mount point gets the error message "volume doesn't implement mount".

Is the "File Manager" in 24.04 a different implementation than the one in 26.04?

How can I accurately identify what is slowing down my Ubuntu boot process beyond what systemd-analyze reports? [closed] https://askubuntu.com/questions/1568228/how-can-i-accurately-identify-what-is-slowing-down-my-ubuntu-boot-process-beyond

I've already checked:

  • systemd-analyze blame
  • systemd-analyze critical-chain
  • boot logs with journalctl -b
Broken Links - Many broken links on a fresh install of Ubuntu Server 26.04LTS https://askubuntu.com/questions/1568129/broken-links-many-broken-links-on-a-fresh-install-of-ubuntu-server-26-04lts

I just did a fresh install of Ubuntu Server 26.04LTS, and am seeing loads of broken links already.

Since installing the OS, I have done an apt upgrade, added one additional user, and a static MoTD, so almost nothing really.

Yet, when I run:

sudo find / -xtype l -ls

I get scores (at least) of broken links showing up (I can post a complete list if it would help). If I exclude some paths thus:

find / -xdev -xtype l \
-not -path "/proc/*" \
-not -path "/sys/*" \
-not -path "/run/*" \
-not -path "/dev/*" \
2>/dev/null

it reduces the number of broken links listed to this list, which is still surprising (at least to me!)

/usr/src/linux-headers-7.0.0-27/scripts/kernel-doc
/usr/src/linux-headers-7.0.0-27-generic/rust
/usr/share/locale/it/LC_TIME/coreutils.mo
/usr/share/locale/be/LC_TIME/coreutils.mo
/usr/share/locale/ia/LC_TIME/coreutils.mo
/usr/share/locale/af/LC_TIME/coreutils.mo
/usr/share/locale/el/LC_TIME/coreutils.mo
/usr/share/locale/lt/LC_TIME/coreutils.mo
/usr/share/locale/ka/LC_TIME/coreutils.mo
/usr/share/locale/eo/LC_TIME/coreutils.mo
/usr/share/locale/sv/LC_TIME/coreutils.mo
/usr/share/locale/gl/LC_TIME/coreutils.mo
/usr/share/locale/et/LC_TIME/coreutils.mo
/usr/share/locale/cs/LC_TIME/coreutils.mo
/usr/share/locale/hu/LC_TIME/coreutils.mo
/usr/share/locale/uk/LC_TIME/coreutils.mo
/usr/share/locale/fi/LC_TIME/coreutils.mo
/usr/share/locale/bg/LC_TIME/coreutils.mo
/usr/share/locale/sr/LC_TIME/coreutils.mo
/usr/share/locale/zh_TW/LC_TIME/coreutils.mo
/usr/share/locale/ru/LC_TIME/coreutils.mo
/usr/share/locale/ja/LC_TIME/coreutils.mo
/usr/share/locale/ms/LC_TIME/coreutils.mo
/usr/share/locale/ga/LC_TIME/coreutils.mo
/usr/share/locale/id/LC_TIME/coreutils.mo
/usr/share/locale/ko/LC_TIME/coreutils.mo
/usr/share/locale/sl/LC_TIME/coreutils.mo
/usr/share/locale/pl/LC_TIME/coreutils.mo
/usr/share/locale/hr/LC_TIME/coreutils.mo
/usr/share/locale/vi/LC_TIME/coreutils.mo
/usr/share/locale/lg/LC_TIME/coreutils.mo
/usr/share/locale/da/LC_TIME/coreutils.mo
/usr/share/locale/nl/LC_TIME/coreutils.mo
/usr/share/locale/fr/LC_TIME/coreutils.mo
/usr/share/locale/pt_BR/LC_TIME/coreutils.mo
/usr/share/locale/es/LC_TIME/coreutils.mo
/usr/share/locale/ca/LC_TIME/coreutils.mo
/usr/share/locale/pt/LC_TIME/coreutils.mo
/usr/share/locale/sk/LC_TIME/coreutils.mo
/usr/share/locale/ro/LC_TIME/coreutils.mo
/usr/share/locale/nb/LC_TIME/coreutils.mo
/usr/share/locale/ta/LC_TIME/coreutils.mo
/usr/share/locale/kk/LC_TIME/coreutils.mo
/usr/share/locale/tr/LC_TIME/coreutils.mo
/usr/share/locale/eu/LC_TIME/coreutils.mo
/usr/share/locale/zh_CN/LC_TIME/coreutils.mo
/usr/share/locale/de/LC_TIME/coreutils.mo
/usr/share/man/man1/hashsum.1.gz
/usr/share/doc/libxml2-16/NEWS.gz
/usr/share/doc/xfsprogs/changelog.gz
/usr/share/doc/perl/Changes.gz
/usr/share/doc/python3-wadllib/NEWS.rst.gz

Is it expected that there would be a load of broken links on a fresh install? If not, perhaps something went wrong when I installed, and I should wipe and start from scratch, or perhaps the disk is knackered (although I did run the built-in disk diagnostic from the boot menu, and it found no issues).

Any suggestions welcome, and given I have almost nothing invested, I am also happy to use this for any tests that might be useful to understand what is happening.

GTK File chooser dialog box doesn't save on <Enter> https://askubuntu.com/questions/1568020/gtk-file-chooser-dialog-box-doesnt-save-on-enter

I just upgraded my Ubuntu 24.04-4 MATE install to the latest version. I noticed that in Firefox the save dialog box refuses to save a file on the proposed location when hitting [Enter] like it always did. I first blamed Firefox but it is system-wide. Any GTK app has this unwanted behavior. Other PCs, a fully up-to-date Linux Mint 22.3 workstation and a fresh test install of Ubuntu 24.04 MATE on an HP USDT (Ultra Small Desktop) save just fine on [Enter].

But not only that, I also noticed files being overwritten without any warning when clicking Save (or using [Alt]+s). Barring a complete system re-install, how can I fix this?

Webserial for Firefox (snap) https://askubuntu.com/questions/1567380/webserial-for-firefox-snap

Since a v151 Firefox supports Webserial natively. For me this is an long awaited function. But I cannot seem to find any documentation on how to get this running with the installed snap version in Ubuntu (26.04 in my case).

What I tried:

The serial port I wanted to try is popping up in the /dev folder as 'ttyACM0'

I read about webserial with Chromium (snap) where you need to connect the raw-usb to snap. But raw-usb seems not to be available for firefox

# sudo snap connect firefox:raw-usb          
error: snap "firefox" has no plug named "raw-usb"

with:

sudo snap connect chromium:raw-usb

everything works as aspected but I prefer firefox

Is the snap package just not ready (yet) or is there anything else I can try?

Unable to boot Ubuntu 22.04 on acer Aspire Lite AL15G 52 https://askubuntu.com/questions/1524361/unable-to-boot-ubuntu-22-04-on-acer-aspire-lite-al15g-52

I’m currently using Ubuntu 24.04 on Acer Aspire Lite AL15G 52 and trying to downgrade to Ubuntu 22.04 by booting from a USB drive, however during the boot process from the USB the system freezes at a black screen with the following boot messages.

[    2.826655] scsi 0:0:0:0: Direct-Access SanDisk SanDisk 3.2 Gen1 DL17 PQ
: 0 ANSI: 6
[    2.827507] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    2.828378] sd 0:0:0:0: [sda] 244457472 512-byte logical blocks: (125 GB/117 GiB)
[    2.828780] sd 0:0:0:0: [sda] Write Protect is off
[    2.828795] sd 0:0:0:0: [sda] Mode Sense: 45 00 00 00
[    2.829118] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, 
doesn't support DPO or FUA
[    2.894887] GPT:Primary header thinks Alt. header is not at the end of the disk.
[    2.894898] GPT:9799523 != 244457471
[    2.894903] GPT:Alternate GPT header not at the end of the disk.
[    2.894907] GPT:9799523 != 244457471
[    2.894911] GPT: Use GNU Parted to correct GPT errors.
[    2.894925]  sda: sda1 sda2 sda3
[    2.895411] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    3.552325] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 1
[    3.554854] ACPI: video: Video Device [GFX0] (multi-head: yes rom: no post: no)
[    3.555281] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/
LNXVIDEO:00/input/input11
[    3.555752] vga_switcheroo: enabled
[    3.557761] fbcon: i915drmfb (fb0) is primary device
[    3.560959] Console: switching to colour frame buffer device 240x67
[    3.572091] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
_

I created the iso image using "dd" with command: sudo dd if=ubuntu.iso of=/dev/sda status=progress bs=10M && sync but i don't think that's the issue here cause i installed Ubuntu 24.04 in the exact same way and boot settings and chose the option to erase disk (uninstall windows 11) and it worked.

Edit 1: I am trying to install ubuntu-22.04.4-desktop-amd64.iso and previously i installed ubuntu-24.04-desktop-amd64.iso without any issues with same boot settings.

Edit 2: Based on @oldfred's comment, here's the output of "gdisk" command:

$ sudo gdisk -l /dev/sda
GPT fdisk (gdisk) version 1.0.10

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 244457472 sectors, 116.6 GiB
Model: SanDisk 3.2 Gen1
Sector size (logical/physical): 512/512 bytes
Disk identifier (GUID): ABBD44C4-640C-4CEA-ACCB-CA38273F602E
Partition table holds up to 248 entries
Main partition table begins at sector 2 and ends at sector 63
First usable sector is 64, last usable sector is 9799460
Partitions will be aligned on 4-sector boundaries
Total free space is 1 sectors (512 bytes)

Number  Start (sector)    End (sector)  Size       Code  Name
   1              64         9788791   4.7 GiB     0700  ISO9660
   2         9788792         9798859   4.9 MiB     EF00  Appended2
   3         9798860         9799459   300.0 KiB   0700  Gap1

Apart from "dd", i also used "etcher" to flash the ISO again and even reflashed the ISO with "dd" again but cleared the partition table with: sudo wipefs --all /dev/sda this time to see if it works & encountered the same error in both cases. I even changed my USB to another one but that also resulted in same error so i assume it has nothing to do with the USB am using.

Chrome can't finish update https://askubuntu.com/questions/1522348/chrome-cant-finish-update

I have been using chrome on ubuntu for years without problem. Since a while, it complains it is no longer the last version. I honestly don't remember how it was installed to begin with, most likely snap or apt, but neither indicate they can do any update. Everything is up to date. I don't know, maybe it has something to do with the 24.04 update? To be clear, I updated to 24.04 a while ago.

All I have to go on is this menu button: enter image description here

I don't know where to start. I don't even know how to check how it was installed. I have tried to google this but I get mostly posts from 9 years old. Can anybody give me a few pointers, how to resolve this? Greatly appreciated!

Can not access server via SSH, Permission Denied https://askubuntu.com/questions/1517143/can-not-access-server-via-ssh-permission-denied

I have recently set up a server on an AWS EC2 instance with Ubuntu 24.04. I am trying to change the configuration to authenticate via password but when I try to log in I get a 'Permission denied, please try again.' error message.

I have done the following:

  • Updated /etc/ssh/sshd_config so: PubkeyAuthentication no, and PasswordAuthentication yes
  • Created a new user that has been given sudo access.
  • Restarted the ssh service with sudo systemctl restart ssh
  • Checked the user isn't locked
  • Checked AllowUsers isn't set in the config
  • Triple checked the password is right (I can su to that user with no problem).

Here is the output from the attempted connection:

ssh -vvv username@18.xxx.xxx.xxx
OpenSSH_9.6p1, LibreSSL 3.3.6
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files
debug1: /etc/ssh/ssh_config line 54: Applying options for *
debug2: resolve_canonicalize: hostname 18.xxx.xxx.xxx is address
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/localuser/.ssh/known_hosts'
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/localuser/.ssh/known_hosts2'
debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling
debug3: channel_clear_timeouts: clearing
debug3: ssh_connect_direct: entering
debug1: Connecting to 18.xxx.xxx.xxx [18.xxx.xxx.xxx ] port 22.
debug3: set_sock_tos: set socket 3 IP_TOS 0x48
debug1: Connection established.
debug1: identity file /Users/localuser/.ssh/id_rsa type 0
debug1: identity file /Users/localuser/.ssh/id_rsa-cert type -1
debug1: identity file /Users/localuser/.ssh/id_ecdsa type -1
debug1: identity file /Users/localuser/.ssh/id_ecdsa-cert type -1
debug1: identity file /Users/localuser/.ssh/id_ecdsa_sk type -1
debug1: identity file /Users/localuser/.ssh/id_ecdsa_sk-cert type -1
debug1: identity file /Users/localuser/.ssh/id_ed25519 type -1
debug1: identity file /Users/localuser/.ssh/id_ed25519-cert type -1
debug1: identity file /Users/localuser/.ssh/id_ed25519_sk type -1
debug1: identity file /Users/localuser/.ssh/id_ed25519_sk-cert type -1
debug1: identity file /Users/localuser/.ssh/id_xmss type -1
debug1: identity file /Users/localuser/.ssh/id_xmss-cert type -1
debug1: identity file /Users/localuser/.ssh/id_dsa type -1
debug1: identity file /Users/localuser/.ssh/id_dsa-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_9.6
debug1: Remote protocol version 2.0, remote software version OpenSSH_9.6p1 Ubuntu-3ubuntu13
debug1: compat_banner: match: OpenSSH_9.6p1 Ubuntu-3ubuntu13 pat OpenSSH* compat 0x04000000
debug2: fd 3 setting O_NONBLOCK
debug1: Authenticating to 18.xxx.xxx.xxx :22 as 'username'
debug3: record_hostkey: found key type ED25519 in file /Users/localuser/.ssh/known_hosts:1
debug3: load_hostkeys_file: loaded 1 keys from 18.xxx.xxx.xxx 
debug1: load_hostkeys: fopen /Users/localuser/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug3: order_hostkeyalgs: have matching best-preference key type ssh-ed25519-cert-v01@openssh.com, using HostkeyAlgorithms verbatim
debug3: send packet: type 20
debug1: SSH2_MSG_KEXINIT sent
debug3: receive packet: type 20
debug1: SSH2_MSG_KEXINIT received
debug2: local client KEXINIT proposal
debug2: KEX algorithms: sntrup761x25519-sha512@openssh.com,curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,ext-info-c,kex-strict-c-v00@openssh.com
debug2: host key algorithms: ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256
debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
debug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
debug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: compression ctos: none,zlib@openssh.com,zlib
debug2: compression stoc: none,zlib@openssh.com,zlib
debug2: languages ctos: 
debug2: languages stoc: 
debug2: first_kex_follows 0 
debug2: reserved 0 
debug2: peer server KEXINIT proposal
debug2: KEX algorithms: sntrup761x25519-sha512@openssh.com,curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,ext-info-s,kex-strict-s-v00@openssh.com
debug2: host key algorithms: rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519
debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
debug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
debug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: compression ctos: none,zlib@openssh.com
debug2: compression stoc: none,zlib@openssh.com
debug2: languages ctos: 
debug2: languages stoc: 
debug2: first_kex_follows 0 
debug2: reserved 0 
debug3: kex_choose_conf: will use strict KEX ordering
debug1: kex: algorithm: sntrup761x25519-sha512@openssh.com
debug1: kex: host key algorithm: ssh-ed25519
debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug3: send packet: type 30
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug3: receive packet: type 31
debug1: SSH2_MSG_KEX_ECDH_REPLY received
debug1: Server host key: ssh-ed25519 SHA256:zzSUWOxfnJ9mRowALRTDSqVH+jYFh5CQhMhJVn4j/wY
debug3: record_hostkey: found key type ED25519 in file /Users/localuser/.ssh/known_hosts:1
debug3: load_hostkeys_file: loaded 1 keys from 18.xxx.xxx.xxx 
debug1: load_hostkeys: fopen /Users/localuser/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: Host '18.xxx.xxx.xxx ' is known and matches the ED25519 host key.
debug1: Found key in /Users/localuser/.ssh/known_hosts:1
debug3: send packet: type 21
debug1: ssh_packet_send2_wrapped: resetting send seqnr 3
debug2: ssh_set_newkeys: mode 1
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: Sending SSH2_MSG_EXT_INFO
debug3: send packet: type 7
debug1: expecting SSH2_MSG_NEWKEYS
debug3: receive packet: type 21
debug1: ssh_packet_read_poll2: resetting read seqnr 3
debug1: SSH2_MSG_NEWKEYS received
debug2: ssh_set_newkeys: mode 0
debug1: rekey in after 134217728 blocks
debug3: send packet: type 5
debug3: receive packet: type 7
debug1: SSH2_MSG_EXT_INFO received
debug3: kex_input_ext_info: extension server-sig-algs
debug1: kex_ext_info_client_parse: server-sig-algs=<ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256>
debug3: kex_input_ext_info: extension publickey-hostbound@openssh.com
debug1: kex_ext_info_check_ver: publickey-hostbound@openssh.com=<0>
debug3: kex_input_ext_info: extension ping@openssh.com
debug1: kex_ext_info_check_ver: ping@openssh.com=<0>
debug3: receive packet: type 6
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug3: send packet: type 50
debug3: receive packet: type 7
debug1: SSH2_MSG_EXT_INFO received
debug3: kex_input_ext_info: extension server-sig-algs
debug1: kex_ext_info_client_parse: server-sig-algs=<ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256>
debug3: receive packet: type 51
debug1: Authentications that can continue: 
debug3: start over, passed a different list publickey,keyboard-interactive,password
debug3: preferred publickey,keyboard-interactive,password
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug3: ssh_get_authentication_socket_path: path '/private/tmp/com.apple.launchd.voOEBl7ytW/Listeners'
debug1: get_agent_identities: bound agent to hostkey
debug1: get_agent_identities: ssh_fetch_identitylist: agent contains no identities
debug1: Will attempt key: /Users/localuser/.ssh/id_rsa RSA SHA256:ZcXd3HoA0S488gtDsGKvVP+p6yyaIyw6kxVmneraJpo
debug1: Will attempt key: /Users/localuser/.ssh/id_ecdsa 
debug1: Will attempt key: /Users/localuser/.ssh/id_ecdsa_sk 
debug1: Will attempt key: /Users/localuser/.ssh/id_ed25519 
debug1: Will attempt key: /Users/localuser/.ssh/id_ed25519_sk 
debug1: Will attempt key: /Users/localuser/.ssh/id_xmss 
debug1: Will attempt key: /Users/localuser/.ssh/id_dsa 
debug2: pubkey_prepare: done
debug1: Offering public key: /Users/localuser/.ssh/id_rsa RSA SHA256:ZcXd3HoA0S488gtDsGKvVP+p6yyaIyw6kxVmneraJpo
debug3: send packet: type 50
debug2: we sent a publickey packet, wait for reply
debug3: receive packet: type 51
debug1: Authentications that can continue: 
debug1: Trying private key: /Users/localuser/.ssh/id_ecdsa
debug3: no such identity: /Users/localuser/.ssh/id_ecdsa: No such file or directory
debug1: Trying private key: /Users/localuser/.ssh/id_ecdsa_sk
debug3: no such identity: /Users/localuser/.ssh/id_ecdsa_sk: No such file or directory
debug1: Trying private key: /Users/localuser/.ssh/id_ed25519
debug3: no such identity: /Users/localuser/.ssh/id_ed25519: No such file or directory
debug1: Trying private key: /Users/localuser/.ssh/id_ed25519_sk
debug3: no such identity: /Users/localuser/.ssh/id_ed25519_sk: No such file or directory
debug1: Trying private key: /Users/localuser/.ssh/id_xmss
debug3: no such identity: /Users/localuser/.ssh/id_xmss: No such file or directory
debug1: Trying private key: /Users/localuser/.ssh/id_dsa
debug3: no such identity: /Users/localuser/.ssh/id_dsa: No such file or directory
debug2: we did not send a packet, disable method
debug3: authmethod_lookup keyboard-interactive
debug3: remaining preferred: password
debug3: authmethod_is_enabled keyboard-interactive
debug1: Next authentication method: keyboard-interactive
debug2: userauth_kbdint
debug3: send packet: type 50
debug2: we sent a keyboard-interactive packet, wait for reply
debug3: receive packet: type 51
debug1: Authentications that can continue: 
debug3: userauth_kbdint: disable: no info_req_seen
debug2: we did not send a packet, disable method
debug3: authmethod_lookup password
debug3: remaining preferred: 
debug3: authmethod_is_enabled password
debug1: Next authentication method: password
username@18.xxx.xxx.xxx 's password: 
debug3: send packet: type 50
debug2: we sent a password packet, wait for reply
debug3: receive packet: type 51
debug1: Authentications that can continue: 
Permission denied, please try again.

I can't any other possible reason it should not be working. Any guideance would be much appreciated.

Thanks

how do i fix error fdisk:cannot open /dev/sdb: Input/output error https://askubuntu.com/questions/1469218/how-do-i-fix-error-fdiskcannot-open-dev-sdb-input-output-error

i am trying to create a partition but am unable due to error:

enter image description here

Removing cloud-init from Minimized Server marks important network packages for removal https://askubuntu.com/questions/1407248/removing-cloud-init-from-minimized-server-marks-important-network-packages-for-r

I have tested removing cloud-init using this guide on Ubuntu Server 22.04 and Ubuntu Server 22.04 (minimized) installed with the default settings. Uninstalling cloud-init from full Ubuntu Server does not mark important packages for removal, but doing it from the minimized version did so. See the screenshot below. If I execute sudo apt autoremove after that, and restart the server, the Internet is no longer accessible and all Internet-related commands are not found.

Is that a bug? If not, can I remove cloud-init from the minimized version without destroying network access? I am not using cloud. I just wanted a bare-minimum Ubuntu desktop (I add Xfce to this).

test@test:~$ sudo apt purge cloud-init
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  cloud-guest-utils eatmydata fdisk gdisk gir1.2-packagekitglib-1.0 groff-base iproute2 isc-dhcp-client isc-dhcp-common
  libappstream4 libatm1 libbpf0 libcap2-bin libcurl3-gnutls libdns-export1110 libdw1 libeatmydata1 libfdisk1 libglib2.0-bin
  libgstreamer1.0-0 libisc-export1105 libman10 libnetplan0 libpackagekit-glib2-18 libpam-cap libstemmer0d libuchardet0
  libunwind8 libxmlb2 libxtables12 netplan.io packagekit packagekit-tools python3-babel-localedata python3-attr python3-babel
  python3-certifi python3-chardet python3-configobj python3-idna python3-jinja2 python3-json-pointer python3-jsonpatch
  python3-jsonschema python3-markupsafe python3-netifaces python3-pyrsistent python3-requests python3-serial
  python3-software-properties python3-tz python3-urllib3 software-properties-common tzdata
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  cloud-init* ubuntu-server-minimal*
0 upgraded, 0 newly installed, 2 to remove and 10 not upgraded.
After this operation, 2608 kB disk space will be freed.
Do you want to continue? [Y/n] _
Turn On Faststart up In Dualboot https://askubuntu.com/questions/1318611/turn-on-faststart-up-in-dualboot

Hello I have a dualboot system with Ubuntu 20.04 and Windows 10 and the time of installing Ubuntu 20.04 I disabled fast startup in Windows to get rid of possible errors. But now I want to turn that feature ON because of slow Boot,slow shutdown and restart. So by some finding on Internet , I came to know that turning on that Windows feature ON in dualboot can cause data loss. So I do I enable that feature On without any data loss?

I can read and write Windows drive, did I have to change it to read only? and if so then how can I do that with GUI because terminal commands are confusing and wrong command can mess everything. Thankyou.

Empty /etc/X11/xorg.conf https://askubuntu.com/questions/1244684/empty-etc-x11-xorg-conf

I'm trying to enable hibernation on my laptop, and discovered that my problems could have something to do with my Nvidia drivers. So I found this fine document on help.ubuntu.com which tells me to change some settings in /etc/X11/xorg.conf. But it's empty! So what do I do now?

Grub2 Ubuntu dualboot/multiboot https://askubuntu.com/questions/1081400/grub2-ubuntu-dualboot-multiboot

I have three ssd's (ssd0, ssd1, ssd2). ssd0 and ssd1 have Ubuntu 18.04 installed on them via this procedure in the Ubuntu installer:

Erase disk and install Ubuntu

  • (checked) Encrypt the new Ubuntu installation for security
  • (checked) Use LVM with the new Ubuntu installation

That means I have full disk encryption, LVM and grub2 on ssd0 and ssd1 like this (output from lsbulk):

ssd0:

sdb                       8:16   0 447,1G  0 disk  
├─sdb1                    8:17   0   512M  0 part  /boot/efi
├─sdb2                    8:18   0   732M  0 part  /boot
└─sdb3                    8:19   0 445,9G  0 part  
  └─sda3_crypt          253:0    0 445,9G  0 crypt 
    ├─ubuntu--vg-root   253:1    0   445G  0 lvm   /
    └─ubuntu--vg-swap_1 253:2    0   976M  0 lvm   [SWAP]

ssd1:

sdc                       8:32   0 447,1G  0 disk  
├─sdc1                    8:33   0   512M  0 part  /boot/efi
├─sdc2                    8:34   0   732M  0 part  /boot
└─sdc3                    8:35   0 445,9G  0 part  
  └─sda3_crypt          253:0    0 445,9G  0 crypt 
    ├─ubuntu--vg-root   253:1    0   445G  0 lvm   /
    └─ubuntu--vg-swap_1 253:2    0   976M  0 lvm   [SWAP]

ssd2 has win10 installed on it.

Both grub2 bootloader (grub2 on ssd0 and grub2 on ssd1) recognize win10, but both grub2 bootloader do not recogize the other Ubuntu installation.

Why is that and how can I make it work?

The desired configuration would be that I still have a seperate grub2 on ssd0 and ssd1 and both should recognize the other Ubuntu (as well as win10) such that I can remove ssd0 or ssd1 and still have a a bootloader for the Ubuntu/win10 dualboot. When ssd0, ssd1 and ssd2 are connected, then I simply set in the BIOS which bootloader to use, wheter the bootloader from ssd0 or the one on ssd1.

Some probably necessary information:

  • UEFI BIOS
  • Partition scheme is GPT
How do I add ~/bin to PATH for a systemd service? https://askubuntu.com/questions/1014480/how-do-i-add-bin-to-path-for-a-systemd-service

I have a systemd service which calls a PHP script that creates a tmux session on boot.

Globally I have the most current tmux for the distro (V>=2.5).
The script's USER has a $HOME/bin/tmux of 2.0

What I need is for this systemd to use the tmux binary in the user's $HOME.
I have set the USER & GROUP variables in the systemd service file but it seems to call the globally installed binary.

Is it possible to explicitly set the binary that should be called for this service invocation?

If possible I'd rather not start to hardcode the path in the PHP file itself.

Many thanks.

nofile ulimit -n on Ubuntu 14.04 LTS https://askubuntu.com/questions/462112/nofile-ulimit-n-on-ubuntu-14-04-lts
➜ sudo sysctl -a|grep file

fs.file-max = 2037581
fs.file-nr = 2784   0   2037581

➜ ~ cat /proc/sys/fs/file-max
2037581

➜ ~ cat /proc/sys/fs/file-nr
2720    0   2037581

/etc/security/limits.conf

* hard nofile 2037581
* soft nofile 2037581
root hard nofile 2037581
root soft nofile 2037581

/etc/pam.d/su

session required pam_limits.so

/etc/pam.d/common-session

session required pam_limits.so

then reboot.

but ulimit -n got 1024 again.

only can ulimit -n 4096 as max value

or got error

 ulimit: value exceeds hard limit