rtl2832_sdr dongle no longer recognised Ubuntu 24.04 https://askubuntu.com/questions/1563202/rtl2832-sdr-dongle-no-longer-recognised-ubuntu-24-04

GQRX stopped seeing my sdr dongle.

It no longer shows in lsusb.

dmsg | grep usb fails to find any entries for it.

I have tried to load kernel module manually with modprobe rtl2832_sdr and lsmod shows module is loaded.

I have also checked for any loaded DVB modules that may be conflicting and there are none.

udev rules file is still there and was working previously.

I have tried on two diffent usb hubs connected to two different ports.

Have I ruled out all but chinese electronics failure?

Thank you for reading.

Intune and Ubuntu 25.10 https://askubuntu.com/questions/1563200/intune-and-ubuntu-25-10

I successfully installed Microsoft Intune under Kubuntu 24.04 and enrolled my laptop (and it was painful).

Now, I'd like to migrate to Kubuntu 25.10, because it uses Plasma 6 that I find more beautiful, but this release is not officially supported by Intune. Would it continue to work if I migrate my Kubuntu to 25.10?

SNMP MIB Files for version 22.04 and above https://askubuntu.com/questions/1563197/snmp-mib-files-for-version-22-04-and-above

Could you please provide the SNMP MIB files for Ubuntu? If there are specific files or a repository I should access for [Project Name], please let me know.

Thank you for your assistance.

Problems installing Ubuntu Server on a BIOS system https://askubuntu.com/questions/1563190/problems-installing-ubuntu-server-on-a-bios-system

I have an old PC with an old BIOS from 2012.

It says cannot find /boot /efi, but I don't have UEFI on the system. How can I install it?

I've made the boot stick with Rufus and chose MBR and also tried the dd flash.

xkbset updates xkb value, but not in Accessibility bounce delay slider https://askubuntu.com/questions/1563184/xkbset-updates-xkb-value-but-not-in-accessibility-bounce-delay-slider

My keyboard bounces keys a lot. I am once again hopeful that xkbset bo nn will help. But the Accessibility slider does not reflect the xkbset setting ... even though xkbset q | grep -i bounce does. I'm not sure which value to believe (xkbset or Accessibility slider).

How can I get the Accessibility slider to update from xkbset bo nn?

app "Handy" needs to access the microphone (ver.24.10 running on MacBookPro) https://askubuntu.com/questions/1563183/app-handy-needs-to-access-the-microphone-ver-24-10-running-on-macbookpro

I have installed the app "Handy" so as to use speech to text. It does not work. I believe that i need to give it access to the microphone. I have searched for help on how to do this and the instructions that i find say -- Settings >> Privacy & Security >> App Permissions tab. Sadly there is no such tab in my Privacy & Security section. I have Ubuntu ver.24.10 running on MacBookPro and have just updated my system.

I have tried the following in terminal:-
$ snap connect handy:microphone error: snap "handy" has no plug named "microphone"

also
$ snap connect handy:audio-record error: snap "handy" has no plug named "audio-record"

All and any help much appreciated.

==========
Thank you for your comments. I will try again with an install of Ubuntu from scratch.

BAR Allocation Failed & IOMMU Conflicts: Dual GPU (RTX 5060 + 4060) on Ryzen 5800X/B550 - "No Space" Errors https://askubuntu.com/questions/1563112/bar-allocation-failed-iommu-conflicts-dual-gpu-rtx-5060-4060-on-ryzen-580

I am hitting a wall trying to configure a dual GPU setup on a B550/Ryzen platform running Ubuntu. I am facing a persistent Memory Mapped I/O (MMIO) resource allocation issue where the kernel cannot assign BAR addresses for the second GPU, leading to can't assign; no space errors.

Hardware Specs:

  • CPU: AMD Ryzen 7 5800X

  • Mobo: B550 Chipset [INSERT YOUR MOTHERBOARD MODEL HERE]

  • GPU 1: NVIDIA RTX 4060

  • GPU 2: NVIDIA RTX 5060 (New gen)

  • PSU: 850W

  • OS: Ubuntu (Kernel 6.x generic)

  • Driver: Manual install of NVIDIA-Linux-x86_64-580.126.09.run (Required for 5060 support)

The Problem: When booting with default BIOS settings, only one GPU is enumerated correctly. The second GPU fails with BAR allocation errors in dmesg. When I attempt to fix this by enabling "Above 4G Decoding" in BIOS, the system fails to mount the NVMe drive or panics during boot unless I use specific kernel parameters, and even then, I lose the proprietary driver binding.

Logs & Symptoms:

1. The BAR Error (dmesg output): Without 4G decoding, the kernel clearly sees the device but cannot map the memory:

Bash

[ 0.666193] pci 0000:07:00.0: BAR 1 [mem size 0x10000000 64bit pref]: can't assign; no space
[ 0.666195] pci 0000:07:00.0: BAR 1 [mem size 0x10000000 64bit pref]: failed to assign
[ 0.666196] pci 0000:07:00.0: VF BAR 2 [mem size 0x10000000 64bit pref]: can't assign; no space
NVRM: BAR1 is 0M @ 0x0 (PCI:0000:04:00.0)

2. The IOMMU/Disk Conflict: If I Enable Above 4G Decoding and Disable CSM (UEFI only), the boot process hangs with filesystem errors, losing access to the NVMe block devices:

Bash

/var/lib/snapd/snaps/firefox_2356.snap: Can't lookup blockdev
[FAILED] Failed to mount Mount unit for firefox.
[FAILED] Failed to mount Mount unit for snapd.

What I have tried so far:

  1. BIOS Settings:

    • Above 4G Decoding: Enabled

    • Re-Size BAR: Auto/Enabled

    • CSM: Disabled

  2. Kernel Parameters:

    • Tried pci=realloc: Did not resolve the no space error.

    • Tried iommu=soft: This allows the system to boot with "Above 4G Decoding" enabled (bypassing the blockdev error), BUT nvidia-smi fails to detect devices, or the system falls back to llvmpipe (software rendering) with a zoomed-in resolution.

  3. Display Manager:

    • Disabled Wayland in /etc/gdm3/custom.conf (WaylandEnable=false).
  4. Driver Installation:

    • Purged all apt nvidia packages.

    • Running the .run file for driver 580.126.09.

    • Installation completes successfully in Recovery Mode (Root Shell), but upon rebooting with iommu=soft, the driver doesn't seem to bind correctly to the cards.

The Question: How can I properly expose the BAR address space for both cards on a B550/Ryzen platform without breaking the NVMe/IOMMU controller? Is there a specific combination of GRUB parameters (e.g., pci=noalloc, iommu=pt, amd_iommu=on) that allows 4G decoding to coexist with a functional NVIDIA driver on this chipset?

Any insights on how to escape this loop would be appreciated.


I tested all suggestions, but the NVMe/Blockdev error persists. I have methodically tried all three proposed solutions, but unfortunately, they all result in the exact same boot failure. It seems that enabling "Above 4G Decoding" breaks the NVMe controller's ability to mount filesystems, regardless of the IOMMU parameters or BAR sizing.

Here is exactly what I tested:

Attempt 1 (`iommu=off`)
BIOS: Above 4G [Enabled], CSM [Disabled].
GRUB: iommu=off
Result: Boot failure. "Can't lookup blockdev".
Attempt 2 (pci=big_root_window):
BIOS: Above 4G [Enabled], CSM [Disabled].
GRUB: iommu=soft pci=big_root_window
Result: Boot failure. "Can't lookup blockdev".
Attempt 3 (Re-Size BAR Disabled):
BIOS: Above 4G [Enabled], Re-Size BAR [Disabled], CSM [Disabled].
GRUB: iommu=soft

Result: Boot failure. "Can't lookup blockdev".

The error log (identical in all 3 cases):

The system sees the drive initially (/dev/nvme0n1p2: clean...), but immediately loses access to block devices required for mounting snaps and the desktop environment:

/dev/nvme0n1p2: clean, 2954993/30498816 files, 87996494/121965088 blocks
[ 3.603861] /var/lib/snapd/snaps/firefox_2356.snap: Can't lookup blockdev
[ 3.603916] /var/lib/snapd/snaps/gnome-3-38-2004_119.snap: Can't lookup blockdev
[FAILED] Failed to mount Mount unit for firefox, revision 2356.
[FAILED] Failed to mount Mount unit for snapd, revision 18357.
[FAILED] Failed to start Process error reports when automatic reporting is enabled.

It appears impossible to keep the NVMe drive functional while "Above 4G Decoding" is Enabled on this B550/Ryzen setup with the current kernel parameters.

Is there any other specific IOMMU parameter (like amd_iommu=fullflush or iommu=pt) that specifically targets B550 NVMe conflicts? Or is moving the NVMe drive to a Chipset-controlled M.2 slot (instead of the CPU-controlled one) a potential workaround?

Ubuntu 20.04 black screen on boot after "Oh no! Something has gone wrong." error https://askubuntu.com/questions/1538943/ubuntu-20-04-black-screen-on-boot-after-oh-no-something-has-gone-wrong-error

I use a Dell Latitude E6520 laptop with Ubuntu 20.04.

I booted my laptop as usual and was greeted with a "Oh no! Something has gone wrong." message that told me to log out.

enter image description here

When I clicked OK, the system crashed and ever since then it boots to a black screen with a white underscore at the top (not blinking).

I saw many similar problems like this described and solved on here and other pages, but so far no solution worked for me.

I have tried going into recovery mode and choosing the "repair broken packages" option. This led to the message Not enough free disk space. The upgrade has aborted. The upgrade needs a total of 134 M free space on disk '/'.

When I tried the "Try to make free space" option in recovery mode, it says there are 0 packages to remove.

The first times around I was able to access terminal and tried sudo apt-get clean/autoremove. None of that worked, I think it also just said that there was nothing to remove, but now I can't access the terminal any more.

I tried pressing Ctrl + Alt + all F keys and nothing happened, so I pressed different random combinations. At some point it looked like terminal came up, but when I tried to type in the login space, nothing happened, and pressing Enter didn't have any effect either.

I'm not tech savvy, and don't know what any of this means or why it happened. I have been using Ubuntu 20.04 for many months and didn't try to install anything new.

I have now been able to erase Ubuntu 20.04 and reinstall it. So far there is no problem with booting.

Before reinstalling, I tried the command sudo gparted as suggested in the chat, and this was the result:

terminal screenshot 1

screenshot /dev/sda1

/dev/sdb

After the reinstall this was the result:

terminal screenshot 2

After the reinstall, there also appeared a new error message:

error message

The chat seems to be gone, the page cannot be found. I ran through the suggested commands, and this was the outcome:

It doesn't seem to recognize the --configure -a part of the command.

Gdisk was already installed, and it installed GParted with no problem.

I don't remember everything from the chat, but the bit about trying to see how much space was used "through the installation media" confused me. Does that mean to use the USB stick again and "Try Ubuntu"?

I also wanted to ask if upgrading to 22.04 would be a good idea, as it keeps reminding me after updates. Does that carry any risk?

Well done spotting the error in the command. I think I typed it correctly now, but it had no result.

sudo dpkg --configure -a

Thanks for explaining. I ran gparted again and not much space is being used (I didn't transfer any saved files from the external hard drive).

It's been such a long time, I forgot what we are still trying to do. The laptop is working again, but I guess it will forever remain a mystery what the problem was. Unless you want to suggest anything else (I'm not sure what the lack of reaction to the dpkg command means), I'll mark my question as answered/solved.

Mounting Error via fstab https://askubuntu.com/questions/1468667/mounting-error-via-fstab

I'm having an issue mounting via fstab which causes my ubuntu server to boot in emergency mode. and I'm not sure what I did, but I did have this working at some point. This is how the code is written in the fstab

/dev/disk/by-id/ata-WDC_WD40EFZX-68AWUNO_WD-WX32DC02K0DD-part1 /mnt/disk1   xfs defaults 0 0
/dev/disk/by-id/ata-WDC_WD40EFZX-68AWUNO_WD-WX32DC0HY19Z-part1 /mnt/disk2   xfs defaults 0 0
/dev/disk/by-id/ata-WDC_WD40EFRX-68N32NO_WD-WCC7K5TUY2LZ-part1 /mnt/disk3   xfs defaults 0 0
/dev/disk/by-id/ata-WDC_WD80EFZZ-68BTXNO_WD-CA28AU9K-part1     /mnt/disk4   xfs defaults 0 0

when I try mounting that via mount -a I get an error that says

> /dev/disk...0DD-part1" Can't open blockdev 
> mount: /mnt/disk1: special device /dev/disk...0DD-part1 does not exist.

This error shows for every disk I try to mount. However, I can mount them fine if I just run the following code from terminal

mount /dev/disk/by-id/ata-WDC_WD40EFZX-68AWUN0_WD-WX32DC02K0DD-part1 /mnt/disk1
mount /dev/disk/by-id/ata-WDC_WD40EFZX-68AWUN0_WD-WX32DC0HY19Z-part1 /mnt/disk2
mount /dev/disk/by-id/ata-WDC_WD40EFRX-68N32N0_WD-WCC7K5TUY2LZ-part1 /mnt/disk3
mount /dev/disk/by-id/ata-WDC_WD80EFZZ-68BTXN0_WD-CA28AU9K-part1 /mnt/disk4

Any idea what I'm doing wrong? I have looked up different answers on the forum, but really not helping me get closer to resolving this. I havent recently repartitioned any drives. If I do the manual mounts via terminal, then comment out the fstab lines, I can get my server up and running, but that ultimately causes other problems.

This all seemed to happen after updates and reboot. Not saying that caused it, but I have been having trouble since.

Other possible relevant info Ubuntu 22.04.2 LTS

I did make sure to mkdir /mnt/disk1 - /mnt/disk4. All the drives work as expected if I manually mount them via terminal.

output of cat /etc/fstab

# / was on dev/ubuntu-vg/ubuntu-lv during curtin installation
/dev/disk/by-id/dm-uuid-LVM-UTmmKp12MPQMJOl1dVrDvQKEyta1fUcahtQHdcb1J58rmxz4AmnY5ywRHzso8ivW / ext defaults 01
# /boot was on /dev/sdc2 during curtin installation
/dev/disk/by-uuid/ae9ea8d3-134a-4438-a352-68cd301b666a /boot ext4 defaults 0 1
/swap.img none swap sw 0 0

output of ls /dev/mapper

control  ubuntu--vg-ubuntu--lv
Grub menu (entry) missing on system with many hard disks https://askubuntu.com/questions/1462538/grub-menu-entry-missing-on-system-with-many-hard-disks

I must admit, I have quite a mess with all my hard disks. I have 4 internal ones, 3 of which each with a particular Ubuntu on it.

all my disks

It worked fine, but now I can't boot the Kubuntu I am actually using. It is the one highlighted in the screenshot. I can't find it anywhere in the Grub menu. As a matter of fact, I don't even know from which of my 4 hard disks the GRUB boot menu is loaded.

How can I get the Kubuntu on /dev/nvme0n1p1 to reappear in the Grub boot menu?

Boot Options in the BIOS:

enter image description here

I need to get my Kubuntu back working again.

Packer Ubuntu Server 20.04 prompting for install confirmation despite `autoinstall` specified in `boot_command` https://askubuntu.com/questions/1385563/packer-ubuntu-server-20-04-prompting-for-install-confirmation-despite-autoinsta

I am setting up an unattended install for Ubuntu Server 20.04 with packer. Despite my specifying autoinstall in the boot_command, the installer always asks me for confirmation. I need to manually type "yes" - in the middle of the below code block.

Continue with autoinstall? (yes|no)

Continue with autoinstall? (yes|no)

Continue with autoinstall? (yes|no)
yes
start:       subiquity/Meta/confirm_POST
start:       subiquity/Install/install/curtin_install: installing system
start:       subiquity/Meta/status_GET
start:       subiquity/Install/install/curtin_install/cmd-install: curtin command install
start:       subiquity/Install/install/curtin_install/cmd-install/stage-early: preparing for installation
finish:      subiquity/Install/install/curtin_install/cmd-install/stage-early: preparing for installation
start:       subiquity/Install/install/curtin_install/cmd-install/stage-partitioning: configuring storage
start:       subiquity/Install/install/curtin_install/cmd-install/stage-partitioning/builtin: runn
ing 'curtin block-meta simple'
start:       subiquity/Install/install/curtin_install/cmd-install/stage-partitioning/builtin/cmc
-block-meta: curtin command block-meta
start:       subiquity/Install/install/curtin_install/cmd-install/stage-partitioning/builtin/c
md-block-meta/clear-holders: removing previous storage devices
finish:      subiquity/Install/install/curtin_install/cmd-install/stage-partitioning/builtin/
cmd-block-meta/clear-holders: removing previous storage devices
cmd-block-meta/clear-holders: removing previous storage devices
start:       subiquity/Install/install/curtin_install/cmd-install/stage-partitioning/builtin/c
md-block-meta/: configuring disk: disk-sda
finish:      subiquity/Install/install/curtin_install/cmd-install/stage-partitioning/builtin/
cmd-block-meta/: configuring disk: disk-sda
start:       subiquity/Install/install/curtin_install/cmd-install/stage-partitioning/builtin/cmc
-block-meta: configuring partition: partition-0

This obviously defeats the concept of "unattended install", but I am not able to figure out what is the issue. I'm posting below two different boot_commands I'm using, and my full configuration at the end of the post.

Both boot commands produce a working installation, but both still ask for confirmation.

Boot command 1:

boot_command = ["<enter><wait2><enter><wait><f6><esc><wait>", "autoinstall<wait2> ds=nocloud;", "<wait><enter>"]

Boot command 2:

      "boot_command": [
        "<enter><wait2><enter><wait><f6><esc><wait>",
        "linux /casper/vmlinuz autoinstall ds=nocloud;",
        "<wait><enter>",
        "initrd /casper/initrd",
        "<wait><enter>",
        "boot"
      ],

Full configuration: ./ubuntu2004.pkr.hcl:

source "virtualbox-iso" "autogenerated_1" {
  boot_command            = ["<enter><wait2><enter><wait><f6><esc><wait>", "autoinstall<wait2> ds=nocloud;", "<wait><enter>"]
  boot_wait               = "2s"
  cd_files                = ["./http/user-data", "./http/meta-data"]
  cd_label                = "cidata"
  disk_size               = 8192
  guest_additions_path    = "VBoxGuestAdditions_{{ .Version }}.iso"
  guest_os_type           = "Ubuntu_64"
  headless                = false
  http_directory          = "http"
  iso_checksum            = "sha256:f8e3086f3cea0fb3fefb29937ab5ed9d19e767079633960ccb50e76153effc98"
  iso_urls                = ["https://releases.ubuntu.com/focal/ubuntu-20.04.3-live-server-amd64.iso"]
  shutdown_command        = "echo 'ubuntu'|sudo -S shutdown -P now"
  ssh_agent_auth          = true
  ssh_handshake_attempts  = "200"
  ssh_private_key_file    = "/home/asdf/.ssh/virtual_id_ed25519"
  ssh_username            = "vagrant"
  ssh_wait_timeout        = "10000s"
  vboxmanage              = [["modifyvm", "{{ .Name }}", "--memory", "1024"], ["modifyvm", "{{ .Name }}", "--cpus", "1"]]
  virtualbox_version_file = ".vbox_version"
  vm_name                 = "packer-ubuntu-20.04-amd64"
}

build {
  sources = ["source.virtualbox-iso.autogenerated_1"]

  provisioner "shell" {
    scripts = ["scripts/init.sh"]
  }

  provisioner "shell" {
    scripts = ["scripts/cleanup.sh"]
  }

  post-processor "vagrant" {
    compression_level = "8"
    output            = "ubuntu-20.04-test.box"
  }
}

./http/user-data:

#cloud-config
autoinstall:
  version: 1
  locale: en_US
  keyboard:
    layout: en
    variant: us
  network:
    network:
      version: 2
      ethernets:
        enp0s3:
          dhcp4: true
  storage:
    layout:
      name: lvm
  ssh:
    install-server: yes
  user-data:
    users:
      - name: vagrant
        ssh_authorized_keys:
          - ssh-ed25519 REDACTED
        sudo: ALL=(ALL) NOPASSWD:ALL
        groups: [adm, sudo]
        lock_passwd: true
        shell: /bin/bash
  packages:
    - openssh-server
    - build-essential
  late-commands:
    - echo 'vagrant ALL=(ALL) NOPASSWD:ALL' > /target/etc/sudoers.d/vagrant
Backlight not working and MacBook Pro not booting https://askubuntu.com/questions/1335624/backlight-not-working-and-macbook-pro-not-booting

I installed Ubuntu 20.04 on my 2009 MacBook Pro. I had discovered that I could not dim the backlight of my MacBook. I come across several tips on the internet. Now I have added the below to /etc/X11/xorg.conf, according to this question, and restarted.

Option "RegistryDwords" "EnableBrightnessControl=1"

However now my backlight switches off during startup and I can no longer see or do anything. I don't know if it is frozen or something like that because the keyboard backlight is no longer responding like it did before.

I previously had it that my screen first showed the following at startup:

Failed to Set MokListRT: Invalid Parameter
Could not create mokListRT: Invalid Parameter
Importing MOK states has failed: import_mok_state () failed: Invalid Parameter
Continuing boot since secure mode is disabled.  

I then replaced shimx64.efi with grubx64.efi by running the following commands:

sudo su -
cd /boot/efi/EFI/ubuntu
cp grubx64.efi shimx64.efi
reboot

This indeed ensures that this message is no longer visible, however what strikes me is that now at startup the screen briefly shows a black screen with a white dash. Then the screen turns off. This takes a while (starting up with this creature takes an average of 1.5 minutes to 2 minutes).

Then the screen briefly shows an Nvidia logo. It disappears again and only after that I get to see my desktop and Ubuntu is ready for use, but now after adding the lines shown in which I replaced shimx64.efi with grubx64.efi, it seems that the program is stuck or something.

How to make an environment variable available for a python program using os.environ module? https://askubuntu.com/questions/1331463/how-to-make-an-environment-variable-available-for-a-python-program-using-os-envi

I'm just new in this site and new to all the GNU/Linux environment, I'm trying to access to an environment variable from a python program that I wrote in PyCharm, I created it but I the the variable doesn`t appears in my python program.

This is what I already have done:

  • created an environment variable in .bashrc (when I verify, the variable appears me in the terminal)

  • This is what I have typed in my .bashrc file:

    export API_KEY=my_api_key_here

  • import os package in my Python program

  • use the os.environ module in my program (to check if my environment variable appears)

I don't really know where to define my environment variables, on .bashrc or .profile files, (that two option are the only ones that appears me)

In short I want to have access to my own defined environment variables from my program.

I hope you can help me please! And tell me what I'm doing wrong.

Wake on lan with suspend - Ubuntu server 20.04 https://askubuntu.com/questions/1310359/wake-on-lan-with-suspend-ubuntu-server-20-04

I'm using an Ubuntu server 20.04 and I've set up the wake on lan. Everything is working fine when I shutdown the computer, I can wake it. But when I suspend it : impossible to wake it by the lan. Have anyone ever had this issue ? If someone have a solution, you're very welcome.

Thanks

end Kernel panic - not syncing: Attempted to kill init! in Ubuntu 18.04 https://askubuntu.com/questions/1302101/end-kernel-panic-not-syncing-attempted-to-kill-init-in-ubuntu-18-04

On starting Ubuntu, it just showed a purple screen for 5 minutes, so I switched off the laptop. When I started, it showed Unexpected inconsistency: Run fsck manually" so I did it using fsck /dev/sda6/ -y command. After rebooting, I'm getting a black screen with a new error message as shown below.

[    5.298594] Hardware name: Dell Inc. Studio 1458, BIOS A06 07/27/2010
[    5.298637] Call Trace:
[    5.298683]  dump_stack+0x6d/0x95
[    5.298723]  panic+0xfe/0x2e4
[    5.298763]  do_exit+0x7e5/0xb80
[    5.298804]  ? ksys_write+0xa7/0xe0
[    5.298843]  __x64_sys_exit+0x1b/0x20
[    5.298885]  do_syscall_64+0x57/0x190
[    5.298924]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[    5.298966] RIP: 0033:0x20d459
[    5.299004] Code: 48 89 77 38 c3 89 f0 48 8b 1f 48 8b 67 08 48 8b 6f 10 4c 8b
67 18 4c 8b 6f 20 4c 8b 77 28 4c 8b 7f 30 ff 67 38 49 89 ca 0f 05 <48> 3d 01 f0
ff ff 73 01 c3 f7 d8 89 05 a2 8f 10 00 48 83 c8 ff c3
[    5.299076] RSP: 002b:00007ffddd32b118 EFLAGS: 00000246 ORIG_RAX: 0000000000
0003c
[    5.299130] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000020d459
[    5.299179] RDX: 00007f0757a4d120 RSI: 0000000000000000 RDI: 0000000000000001
[    5.299231] RBP: 0000000000000001 R08: 000000000020d4b0 R09: 00007f0757a35000
[    5.299281] R10: 000000000020d459 R11: 0000000000000246 R12: 00007ffddd32b178
[    5.299342] R13: 00000000004001ba R14: 0000000000000000 R15: 0000000000000000
[    5.299446] Kernel Offset: 0x34e00000 from 0xffffffff81000000 (relocation ran
ge: 0xffffffff80000000-0xffffffffbfffffff)
[    5.299526] ---[ end Kernel panic - not syncing: Attempted to kill init! exit
code=0x00000100 ]---
_

I've also ran memtest86 and in the Advanced options tried each old kernel: 5.4.0-56(general), 5.4.0-56(recovery mode), 5.4.0-54(general), 5.4.0-54(recovery mode), but the problem still persists.

I've have two RAMs 4GB each, so I've also tried using only one RAM at a time in each slot, to check whether the error is coming due to a faulty RAM and identify it, but still nothing improved.

Ubuntu 18.04 on vCenter, stuck booting to initramfs after using GNU Parted 3.2 https://askubuntu.com/questions/1241583/ubuntu-18-04-on-vcenter-stuck-booting-to-initramfs-after-using-gnu-parted-3-2

I was trying to grow the partition on my Ubuntu 18.04 server and after playing around with parted and growpart (then rebooting) I am now stuck booting into the initramfs shell.

This is screenshot of what it loads to:

(initramfs) exit
Gave up waiting for root file system device.  Common problems:

 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  /dev/mapper/AH--NOC--SCR01--vg-root does not exist.  Dropping to a shell!

BusyBox v1.27.2 (Ubuntu 1:1.27.2-2ubuntu3) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs) _

I have tried to the use the Boot-Repair iso. It gives the following output which I have put here.

After doing the recommended repair and rebooting it just leads me back to the same initramfs shell.

To help I took a copy of the commands and output of the changes I made before this issue started which hopefully will point to the resolution: https://pastebin.com/6x9dD8nG

    jam@AH-NOC-SCR01:~$ df -h
    Filesystem                           Size  Used Avail Use% Mounted on
    udev                                 7.9G     0  7.9G   0% /dev
    tmpfs                                1.6G  1.1M  1.6G   1% /run
    /dev/mapper/AH--NOC--SCR01--vg-root   12G   12G     0 100% /
    tmpfs                                7.9G  120K  7.9G   1% /dev/shm
    tmpfs                                5.0M     0  5.0M   0% /run/lock
    tmpfs                                7.9G     0  7.9G   0% /sys/fs/cgroup
    /dev/sda1                            472M  131M  317M  30% /boot
    tmpfs                                1.6G     0  1.6G   0% /run/user/1000
    jam@AH-NOC-SCR01:~$ sudo df -h
    [sudo] password for jam: 
    Filesystem                           Size  Used Avail Use% Mounted on
    udev                                 7.9G     0  7.9G   0% /dev
    tmpfs                                1.6G  1.2M  1.6G   1% /run
    /dev/mapper/AH--NOC--SCR01--vg-root   12G   12G     0 100% /
    tmpfs                                7.9G  120K  7.9G   1% /dev/shm
    tmpfs                                5.0M     0  5.0M   0% /run/lock
    tmpfs                                7.9G     0  7.9G   0% /sys/fs/cgroup
    /dev/sda1                            472M  131M  317M  30% /boot
    overlay                               12G   12G     0 100% /var/lib/docker/overlay2/889db7584e116b89c7f924d36230cf527fd24a8da427285f62e53356713aa45b/merged
    overlay                               12G   12G     0 100% /var/lib/docker/overlay2/ccb822cdd6fc66f2ce7d91d8eb2398dca84620460ed5a54efbc856bbdc0573c6/merged
    overlay                               12G   12G     0 100% /var/lib/docker/overlay2/1779fae0c00bcc63d41d44df0a77196ca57804ef372357769ff946def782f33a/merged
    overlay                               12G   12G     0 100% /var/lib/docker/overlay2/823b312c46515614a5cc7770e324e27d65de068484a8b9545f9bee9b6aa947a0/merged
    overlay                               12G   12G     0 100% /var/lib/docker/overlay2/397d17cb341b11e08ffab170fb3c6834bb9e4f3cee3bcb91c96d75af8e13cab4/merged
    shm                                   64M     0   64M   0% /var/lib/docker/containers/b8dc66ba6cf3dbe89f3711f79a527374127b4e6e6b4888774dc5cb333397fe2f/mounts/shm
    shm                                   64M     0   64M   0% /var/lib/docker/containers/d9fc034d09b38aa1ddb4ceef8b9f435f3f42d92c13bb87e3447bf0280c794b35/mounts/shm
    shm                                   64M     0   64M   0% /var/lib/docker/containers/be54ee6fc119b887959be6a17ca02a3d07d34aa6ad23406b5a8549d0bf895598/mounts/shm
    shm                                   64M     0   64M   0% /var/lib/docker/containers/da622b6c22d055fb85f75b006146c7db68771554a029cb435241b5c43c04157a/mounts/shm
    tmpfs                                1.6G     0  1.6G   0% /run/user/1000
    overlay                               12G   12G     0 100% /var/lib/docker/overlay2/bced540a1937fc88b25fff542608ab8dd3811c374d9d2efae7d94cefcef7614e/merged
    shm                                   64M     0   64M   0% /var/lib/docker/containers/7f62955f107b4057a7cd5fa2bf2a0356c6baeb2061c62b013675eceff8e3ac5c/mounts/shm
    jam@AH-NOC-SCR01:~$ 
    jam@AH-NOC-SCR01:~$ sudo apt-get install cloud-guest-utils
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    cloud-guest-utils is already the newest version (0.30-0ubuntu5).
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    jam@AH-NOC-SCR01:~$ sudo swapoff -a
    jam@AH-NOC-SCR01:~$ sudo parted
    GNU Parted 3.2
    Using /dev/sda
    Welcome to GNU Parted! Type 'help' to view a list of commands.
    (parted)                                                                  
    (parted)                                                                  
    (parted)                                                                  
    (parted)                                                                  
    (parted) print all                                                        
    Model: VMware Virtual disk (scsi)
    Disk /dev/sda: 17.2GB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos
    Disk Flags: 
     
    Number  Start   End     Size    Type      File system  Flags
     1      1049kB  512MB   511MB   primary   ext2         boot
     2      513MB   17.2GB  16.7GB  extended
     5      513MB   17.2GB  16.7GB  logical                lvm
     
     
    Model: Linux device-mapper (linear) (dm)
    Disk /dev/mapper/AH--NOC--SCR01--vg-swap_1: 4295MB
    Sector size (logical/physical): 512B/512B
    Partition Table: loop
    Disk Flags: 
     
    Number  Start  End     Size    File system     Flags
     1      0.00B  4295MB  4295MB  linux-swap(v1)
     
     
    Model: Linux device-mapper (linear) (dm)
    Disk /dev/mapper/AH--NOC--SCR01--vg-root: 12.4GB
    Sector size (logical/physical): 512B/512B
    Partition Table: loop
    Disk Flags: 
     
    Number  Start  End     Size    File system  Flags
     1      0.00B  12.4GB  12.4GB  ext4
     
     
    Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0 has been opened read-only.
    Model: NECVMWar VMware SATA CD00 (scsi)                                   
    Disk /dev/sr0: 869MB
    Sector size (logical/physical): 2048B/2048B
    Partition Table: mac
    Disk Flags: 
     
    Number  Start  End    Size    File system  Name   Flags
     1      2048B  6143B  4096B                Apple
     2      212MB  214MB  2490kB               EFI
     
     
    (parted)                                                                  
    (parted) rm 2                                                             
    Error: Partition(s) 5 on /dev/sda have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use.  As a result, the old partition(s) will remain in use.  You should reboot now
    before making further changes.
    Ignore/Cancel? c                                                          
    (parted) rm 3
    Error: Partition doesn't exist.
    (parted) print all
    Model: VMware Virtual disk (scsi)
    Disk /dev/sda: 17.2GB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos
    Disk Flags: 
     
    Number  Start   End    Size   Type     File system  Flags
     1      1049kB  512MB  511MB  primary  ext2         boot
     
     
    Model: Linux device-mapper (linear) (dm)
    Disk /dev/mapper/AH--NOC--SCR01--vg-swap_1: 4295MB
    Sector size (logical/physical): 512B/512B
    Partition Table: loop
    Disk Flags: 
     
    Number  Start  End     Size    File system     Flags
     1      0.00B  4295MB  4295MB  linux-swap(v1)
     
     
    Model: Linux device-mapper (linear) (dm)
    Disk /dev/mapper/AH--NOC--SCR01--vg-root: 12.4GB
    Sector size (logical/physical): 512B/512B
    Partition Table: loop
    Disk Flags: 
     
    Number  Start  End     Size    File system  Flags
     1      0.00B  12.4GB  12.4GB  ext4
     
     
    Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0 has been opened read-only.
    Model: NECVMWar VMware SATA CD00 (scsi)                                   
    Disk /dev/sr0: 869MB
    Sector size (logical/physical): 2048B/2048B
    Partition Table: mac
    Disk Flags: 
     
    Number  Start  End    Size    File system  Name   Flags
     1      2048B  6143B  4096B                Apple
     2      212MB  214MB  2490kB               EFI
     
     
    () sudo growpart /dev/vda 1                                         
      align-check TYPE N                        check partition N for TYPE(min|opt) alignment
      help [COMMAND]                           print general help, or help on COMMAND
      mklabel,mktable LABEL-TYPE               create a new disklabel (partition table)
      mkpart PART-TYPE [FS-TYPE] START END     make a partition
      name NUMBER NAME                         name partition NUMBER as NAME
      print [devices|free|list,all|NUMBER]     display the partition table, available devices, free space, all found partitions, or a particular partition
      quit                                     exit program
      rescue START END                         rescue a lost partition near START and END
      resizepart NUMBER END                    resize partition NUMBER
      rm NUMBER                                delete partition NUMBER
      select DEVICE                            choose the device to edit
      disk_set FLAG STATE                      change the FLAG on selected device
      disk_toggle [FLAG]                       toggle the state of FLAG on selected device
      set NUMBER FLAG STATE                    change the FLAG on partition NUMBER
      toggle [NUMBER [FLAG]]                   toggle the state of FLAG on partition NUMBER
      unit UNIT                                set the default unit to UNIT
      version                                  display the version number and copyright information of GNU Parted
      align-check TYPE N                        check partition N for TYPE(min|opt) alignment
      help [COMMAND]                           print general help, or help on COMMAND
      mklabel,mktable LABEL-TYPE               create a new disklabel (partition table)
      mkpart PART-TYPE [FS-TYPE] START END     make a partition
      name NUMBER NAME                         name partition NUMBER as NAME
      print [devices|free|list,all|NUMBER]     display the partition table, available devices, free space, all found partitions, or a particular partition
      quit                                     exit program
      rescue START END                         rescue a lost partition near START and END
      resizepart NUMBER END                    resize partition NUMBER
      rm NUMBER                                delete partition NUMBER
      select DEVICE                            choose the device to edit
      disk_set FLAG STATE                      change the FLAG on selected device
      disk_toggle [FLAG]                       toggle the state of FLAG on selected device
      set NUMBER FLAG STATE                    change the FLAG on partition NUMBER
      toggle [NUMBER [FLAG]]                   toggle the state of FLAG on partition NUMBER
      unit UNIT                                set the default unit to UNIT
      version                                  display the version number and copyright information of GNU Parted
      align-check TYPE N                        check partition N for TYPE(min|opt) alignment
      help [COMMAND]                           print general help, or help on COMMAND
      mklabel,mktable LABEL-TYPE               create a new disklabel (partition table)
      mkpart PART-TYPE [FS-TYPE] START END     make a partition
      name NUMBER NAME                         name partition NUMBER as NAME
      print [devices|free|list,all|NUMBER]     display the partition table, available devices, free space, all found partitions, or a particular partition
      quit                                     exit program
      rescue START END                         rescue a lost partition near START and END
      resizepart NUMBER END                    resize partition NUMBER
      rm NUMBER                                delete partition NUMBER
      select DEVICE                            choose the device to edit
      disk_set FLAG STATE                      change the FLAG on selected device
      disk_toggle [FLAG]                       toggle the state of FLAG on selected device
      set NUMBER FLAG STATE                    change the FLAG on partition NUMBER
      toggle [NUMBER [FLAG]]                   toggle the state of FLAG on partition NUMBER
      unit UNIT                                set the default unit to UNIT
      version                                  display the version number and copyright information of GNU Parted
      align-check TYPE N                        check partition N for TYPE(min|opt) alignment
      help [COMMAND]                           print general help, or help on COMMAND
      mklabel,mktable LABEL-TYPE               create a new disklabel (partition table)
      mkpart PART-TYPE [FS-TYPE] START END     make a partition
      name NUMBER NAME                         name partition NUMBER as NAME
      print [devices|free|list,all|NUMBER]     display the partition table, available devices, free space, all found partitions, or a particular partition
      quit                                     exit program
      rescue START END                         rescue a lost partition near START and END
      resizepart NUMBER END                    resize partition NUMBER
      rm NUMBER                                delete partition NUMBER
      select DEVICE                            choose the device to edit
      disk_set FLAG STATE                      change the FLAG on selected device
      disk_toggle [FLAG]                       toggle the state of FLAG on selected device
      set NUMBER FLAG STATE                    change the FLAG on partition NUMBER
      toggle [NUMBER [FLAG]]                   toggle the state of FLAG on partition NUMBER
      unit UNIT                                set the default unit to UNIT
      version                                  display the version number and copyright information of GNU Parted
    (parted) exit                                                             
      align-check TYPE N                        check partition N for TYPE(min|opt) alignment
      help [COMMAND]                           print general help, or help on COMMAND
      mklabel,mktable LABEL-TYPE               create a new disklabel (partition table)
      mkpart PART-TYPE [FS-TYPE] START END     make a partition
      name NUMBER NAME                         name partition NUMBER as NAME
      print [devices|free|list,all|NUMBER]     display the partition table, available devices, free space, all found partitions, or a particular partition
      quit                                     exit program
      rescue START END                         rescue a lost partition near START and END
      resizepart NUMBER END                    resize partition NUMBER
      rm NUMBER                                delete partition NUMBER
      select DEVICE                            choose the device to edit
      disk_set FLAG STATE                      change the FLAG on selected device
      disk_toggle [FLAG]                       toggle the state of FLAG on selected device
      set NUMBER FLAG STATE                    change the FLAG on partition NUMBER
      toggle [NUMBER [FLAG]]                   toggle the state of FLAG on partition NUMBER
      unit UNIT                                set the default unit to UNIT
      version                                  display the version number and copyright information of GNU Parted
    (parted)                                                                  
    (parted) q                                                                
    Information: You may need to update /etc/fstab.
     
    jam@AH-NOC-SCR01:~$                                             
    jam@AH-NOC-SCR01:~$ 
    jam@AH-NOC-SCR01:~$ sudo growpart /dev/vda 1
    FAILED: /dev/vda: does not exist
    jam@AH-NOC-SCR01:~$ df -h
    Filesystem                           Size  Used Avail Use% Mounted on
    udev                                 7.9G     0  7.9G   0% /dev
    tmpfs                                1.6G  1.1M  1.6G   1% /run
    /dev/mapper/AH--NOC--SCR01--vg-root   12G   12G     0 100% /
    tmpfs                                7.9G  120K  7.9G   1% /dev/shm
    tmpfs                                5.0M     0  5.0M   0% /run/lock
    tmpfs                                7.9G     0  7.9G   0% /sys/fs/cgroup
    /dev/sda1                            472M  131M  317M  30% /boot
    tmpfs                                1.6G     0  1.6G   0% /run/user/1000
    jam@AH-NOC-SCR01:~$ sudo growpart /dev/vda1  
    growpart disk partition
       rewrite partition table so that partition takes up all the space it can
       options:
        -h | --help       print Usage and exit
             --fudge F    if part could be resized, but change would be
                          less than 'F' bytes, do not resize (default: 1048576)
        -N | --dry-run    only report what would be done, show new 'sfdisk -d'
        -v | --verbose    increase verbosity / debug
        -u | --update  R  update the the kernel partition table info after growing
                          this requires kernel support and 'partx --update'
                          R is one of:
                           - 'auto'  : [default] update partition if possible
                           - 'force' : try despite sanity checks (fail on failure)
                           - 'off'   : do not attempt
                           - 'on'    : fail if sanity checks indicate no support
     
       Example:
        - growpart /dev/sda 1
          Resize partition 1 on /dev/sda
    must supply partition-number
    jam@AH-NOC-SCR01:~$ sudo growpart /dev/-bash: cannot create temp file for here-document: No space left on device
    -bash: cannot create temp file for here-document: No space left on device
    -bash: cannot create temp file for here-document: No space left on device
    -bash: cannot create temp file for here-document: No space left on device
    -bash: cannot create temp file for here-document: No space left on device
    -bash: cannot create temp file for here-document: No space left on device
    -bash: cannot create temp file for here-document: No space left on device
    -bash: cannot create temp file for here-document: No space left on device
    -bash: cannot create temp file for here-document: No space left on device
    -bash: cannot create temp file for here-document: No space left on device
    -bash: cannot create temp file for here-document: No space left on device
    -bash: cannot create temp file for here-document: No space left on device
    -bash: cannot create temp file for here-document: No space left on device
    -bash: cannot create temp file for here-document: No space left on device
    -bash: cannot create temp file for here-document: No space left on device
    -bash: cannot create temp file for here-document: No space left on device
    ^C
    jam@AH-NOC-SCR01:~$ ls /dev/
    agpgart          console          ecryptfs   input     loop5             net                 random  shm       tty1   tty18  tty26  tty34  tty42  tty50  tty59  ttyprintk  ttyS16  ttyS24  ttyS4    userio  vcsa1        vhost-net
    AH-NOC-SCR01-vg  core             fb0        kmsg      loop6             network_latency     rfkill  snapshot  tty10  tty19  tty27  tty35  tty43  tty51  tty6   ttyS0      ttyS17  ttyS25  ttyS5    vcs     vcsa2        vhost-vsock
    autofs           cpu_dma_latency  fd         lightnvm  loop7             network_throughput  rtc     snd       tty11  tty2   tty28  tty36  tty44  tty52  tty60  ttyS1      ttyS18  ttyS26  ttyS6    vcs1    vcsa3        vmci
    block            cuse             full       log       loop-control      null                rtc0    sr0       tty12  tty20  tty29  tty37  tty45  tty53  tty61  ttyS10     ttyS19  ttyS27  ttyS7    vcs2    vcsa4        vsock
    bsg              disk             fuse       loop0     mapper            port                sda     stderr    tty13  tty21  tty3   tty38  tty46  tty54  tty62  ttyS11     ttyS2   ttyS28  ttyS8    vcs3    vcsa5        zero
    btrfs-control    dm-0             hpet       loop1     mcelog            ppp                 sda1    stdin     tty14  tty22  tty30  tty39  tty47  tty55  tty63  ttyS12     ttyS20  ttyS29  ttyS9    vcs4    vcsa6
    cdrom            dm-1             hugepages  loop2     mem               psaux               sda5    stdout    tty15  tty23  tty31  tty4   tty48  tty56  tty7   ttyS13     ttyS21  ttyS3   uhid     vcs5    vfio
    cdrw             dri              hwrng      loop3     memory_bandwidth  ptmx                sg0     tty       tty16  tty24  tty32  tty40  tty49  tty57  tty8   ttyS14     ttyS22  ttyS30  uinput   vcs6    vga_arbiter
    char             dvd              initctl    loop4     mqueue            pts                 sg1     tty0      tty17  tty25  tty33  tty41  tty5   tty58  tty9   ttyS15     ttyS23  ttyS31  urandom  vcsa    vhci
    jam@AH-NOC-SCR01:~$ sudo growpart /dev/sda 1 
    failed [pt_update:1] pt_update /dev/sda 1
    partx: /dev/sda: error updating partition 1
    FAILED: pt_resize failed
    jam@AH-NOC-SCR01:~$ sudo reboot now
Touch pad not working on Lenovo ThinkBook 14-IML https://askubuntu.com/questions/1215236/touch-pad-not-working-on-lenovo-thinkbook-14-iml

Apparently Ubuntu has some problems with the kernel integration and more modern hardware. We installed these operating systems: Ubuntu 18.04 LTS, Ubuntu 19.10, Ubuntu 20.04, and also CentOS 8.1.1911, but the touch pad does not work on this Lenovo ThinkBook 14-IML.

We tried kernel version updating, and Gnome Tweaks ukku installed in Tweaks also checked all the settings.

Twice cross checked Synaptics installed or no improvement.

  • xserver-xorg-input-synaptics

  • installation done after that also no improvement.

  • ukuu --install-latest also done (Ubuntu Kernel Update Utility)

  • Upgrading the kernel to versions 5.5 and 5.5.7 using UKUU, which did not solve the problem.

  • We checked all firmware updates available that also couldn't succeed.

We tried all possibilities and couldn't succeed.

How may we troubleshoot this further to solve the touchpad failure?

Create custom application launcher in GNOME panel https://askubuntu.com/questions/1114789/create-custom-application-launcher-in-gnome-panel

I've just installed 18.10 on a new machine and want to use the default GNOME desktop environment.

Previously I used GNOME Classic which has a taskbar at the top of the screen with launchers. Right-clicking on the task bar holding Alt brings up "Add to panel", then I have the option to create a Custom Application Launcher. One of the options is to choose what command the new launcher should call.

I want to do this in my new GNOME (not Unity anymore?) desktop environment, but I don't know how.

Booting with UEFI Secure Boot fails https://askubuntu.com/questions/1079253/booting-with-uefi-secure-boot-fails

I have just installed Ubuntu on an old (3-4 years old) HP laptop.

At the time of the installation the BIOS was setup for "Legacy Boot Mode" and the "Secure Boot" option was disabled. (Understandably so, since all BIOSes deactivate Secure Boot when supporting legacy mode i.e. DOS AFAIK). Unfortunately, I never realized this at the time of installation.

I followed this great community guide for manual full system encryption which even ensures that the boot partition is encrypted. As part of the scripts made by the author of that guide, grub is installed with the following command:

grub-install --target=x86_64-efi --uefi-secure-boot --efi-directory=/boot/efi --bootloader=ubuntu --boot-directory=/boot/efi/EFI/ubuntu --recheck /dev/[DRIVE]

I'm not sure what the --uefi-secure-boot flag does, but the installation worked perfectly and my system was running.

I then realized that Secure Boot was disabled in the BIOS. I wanted to change this, and disabled legacy mode support and enabled Secure Boot. For some reason my machine doesn't boot now. It shows the error as displayed as in the screenshot below.

error: no such device: 29bb6762-84d7-4d99-9184-3f6fe85f51f8.
error: no server is specified.
error: you need to load the kernel first.

Press any key to continue..._

If I disable Secure Boot (Note: only Secure Boot, but still leaves legacy mode support disabled as well), then the boot works perfectly again.

  • Note: In the image the device with UUID beginning with "29bb6762" is my boot partition.*

  • Note2: Following is the how my HDD is partitioned. (exactly the same as in the linked Manual Full System Encryption wiki*

    /dev/sda1 - UEFI partition. FAT 32 /dev/sda2 - LUKS /dev/mapper/system-root /dev/mapper/system-boot /dev/mapper/system-swap

  • The root, boot, and swap are sitting on a volume group. (The LUKS partition is formatted as LVM)

  • and /dev/mapper/system-boot has the same device id as the grub error in the screenshot.

The 'grub-efi-amd64-signed' package failed to install target/, Kubuntu 18.04 https://askubuntu.com/questions/1074757/the-grub-efi-amd64-signed-package-failed-to-install-target-kubuntu-18-04

I have gone through a large amount of the threads with the same issue, but I was unable to find a solution.

I have tried the following:

  • Manually partitioning the drive, creating an EFI volume at /boot/efi with 900 MB size, and then creating the ext4 partition:

    enter image description here

  • Disabling the 'connect to internet' option for the installer

  • Disabling the 'allow third party drivers...'

Here is the last screen before the installation begins.

Kubuntu session running on a live USB:

enter image description here

Nothing has worked so far. I am running the installation on a Microsoft Surface Book, and prior to this it had Windows installed. I am not trying to dual boot.

system bootOrder not found on Lenovo T540 https://askubuntu.com/questions/1071745/system-bootorder-not-found-on-lenovo-t540

Upgraded my Ubuntu (with dual boot Windows) to 18.04 . After restart I got "System BootOrder not found. Initializing defaults." . Changing the BIOS bootorder to Windows as 1st works, of course, but i want my dual boot option back. I tried the same solution as an Acer user had ("I switched "secure boot"on"). But I don't get the option of "Select an UEFI file as trusted for executing" . Where can I activate those UEFI files, in the BIOS???

Destination host unreachable: pinging one Ubuntu VM from another Ubuntu VM https://askubuntu.com/questions/1010524/destination-host-unreachable-pinging-one-ubuntu-vm-from-another-ubuntu-vm

I am working on my home wireless network, trying to ping one Ubuntu (16.04) VM from another Ubuntu (16.04) VM on a Windows machine.

VM1 - Ubuntu1604-Node2 - IP address is 192.168.56.5

interface file looks as below:

auto lo
iface lo inet loopback

auto enp0s3
iface enp0s3 inet static
address 192.168.56.5
netmask 255.255.0.0
network 192.168.0.0
broadcast 192.168.255.255
gateway 192.168.56.1

VM2 - Ubuntu-Node3 - IP address is 192.168.56.102

interface file looks as below:

auto lo
iface lo inet loopback

auto enp0s3
iface enp0s3 inet static
address 192.168.56.102
netmask 255.255.0.0
network 192.168.0.0
broadcast 192.168.255.255
gateway 192.168.56.1

On Pinging one from another VM, I keep getting "Destination host not reachable". Any help is appreciated.

enter image description here

enter image description here

Error MySQL: ERROR 2002 (HY000): Can't connect to local MySQL server through socket (Ubuntu 14.04.5) https://askubuntu.com/questions/997531/error-mysql-error-2002-hy000-cant-connect-to-local-mysql-server-through-soc
mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket 
'/var/lib/mysql/mysql.sock' (2)

service mysql status
mysql stop/waiting

service mysql restart
stop: Unknown instance: 
start: Job failed to start

find / -name mysql.sock
/var/lib/mysql/mysql.sock

However, I cannot find the file mysql.sock in my server. I don't know how to deal with this problem. Is there any information else I can provide to help me get assistance?
I need your help.

Display corrupt on boot 17.10 [duplicate] https://askubuntu.com/questions/969652/display-corrupt-on-boot-17-10

I have been using Lubuntu on my netbook for a while without any problems, but I have just upgraded to 17.10 and now it will not boot properly. I think that the display driver is problematic for some reason as I have used GRUB to load recovery mode and it works fine. I have tried dpkg and fsck but they have not made any difference. After the normal boot cycle, the right hand 20% of the screen is more or less OK and the rest of it is black with corrupted text.

Graph Tool installation problems https://askubuntu.com/questions/869140/graph-tool-installation-problems

I am trying to install python graph tool on ubuntu 16.04 .

I tried both paths suggested here https://graph-tool.skewed.de/download#packages:

  1. manual installation using .\configure make make install
  2. pre-compiled packages and apt-get install python-graph-tool

The manual installation has lots of problem in the make phase.

The second path (that is also the suggested one) gives me the following error:

sudo apt-get -y --force-yes install python-graph-tool
[sudo] password for riccardo: 
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
python-graph-tool : Depends: libboost-iostreams1.58.0 but it is not installable
                 Depends: libboost-python1.58.0 but it is not installable
                 Depends: libboost-regex1.58.0 but it is not installable
                 Depends: libboost-graph1.58.0 but it is not installable
                 Depends: libboost-system1.58.0 but it is not installable
                 Depends: libboost-thread1.58.0 but it is not installable
E: Unable to correct problems, you have held broken packages.

If I run sudo apt-get install libboost-all-dev I get :

sudo apt-get install libboost-all-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libboost-all-dev is already the newest version (1.61.0.2).
0 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.

And If i try to install each single package by hand, I obtain for example:

sudo apt-get install libboost-coroutine1.58.0
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libboost-coroutine1.58.0 is not available, but is referred to by  another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libboost-coroutine1.58.0' has no installation candidate

I am new to both python and Linux. Can you help me to figure out what is going wrong in here?

Many Thanks

How to move system partition on the same HDD? [duplicate] https://askubuntu.com/questions/839835/how-to-move-system-partition-on-the-same-hdd

I currently have an inconvenient partition configuration on my Windows 7 / Ubuntu system. I want to have the extended sdb3 moved ajar like in the screenshot to later add a swap and home partition (the latter is on another drive).

enter image description here

Despite the easy sounding explanation here. GParted only allows me to put a copy (sdb4) of sdb5 to the desired location. I already tried for hours to make that copy bootable (UUID in grub) with no progress so far, so I am open for any input.

ubuntu 13.10 ftp Connection attempt failed with "ECONNREFUSED - Connection refused by server https://askubuntu.com/questions/374811/ubuntu-13-10-ftp-connection-attempt-failed-with-econnrefused-connection-refus

i have done a little google searching on this one, but im not really finding a solution that is helping.

I have Ubuntu 13.10 LAMP (64bit) installed on VM-VirtualBox running on Windows 7x64. After trying to set up the LAMP using tasksel (a complete failure), i ended up installing all components through the GUI using synaptic without any problems. I have then installed a wordpress website on the LAMP and am able to access it both locally on the virtual machine and via my static ip address over the web from my iphone.

I am now having problems with permissions i believe as i am unable to add/remove plugins and media to the site.It brings up an ftp connection window asking for details and when i insert the appropriate information i get errors such as

from wordpress

ERROR: There was an error connecting to the server, Please verify the settings are correct.

If i then try to connect remotely using file zilla

Connection attempt failed with "ECONNREFUSED - Connection refused by server

I have another virtual machine running ubuntu 12.04 LAMP with wordpress installed. I dont have any problems ftp'ing to that system from within wordpress or using filezilla. I cant for the life of me figure out what i have done differently???

Is the ubuntu 13.10 apache2 server not listening???

what are the most common causes of an "ECONNREFUSED" response from the server?

Is there an web server dependency that should have been installed that synaptic missed???

After failed partition resize, Ubuntu won't boot. It just reboots in a boot loop https://askubuntu.com/questions/344599/after-failed-partition-resize-ubuntu-wont-boot-it-just-reboots-in-a-boot-loop

I was moving a partition with of GParted and I stupidly clicked something that crashed the program. Now when I turn on my computer and select Ubuntu 12.04 recovery (with Linux kernel 3.2.0-41-generic) it fills the screen with text then reboots. I tried with my old Linux kernel (3.0.0-12-generic) recovery mode and it filled the screen with text and stopped at a black screen with boot messages which are shown below and did nothing.

When I tried Windows XP (I have a Windows XP dual boot), it just brings up a blank black screen with a blinking _ character. I don't know what to do. I can do a full reinstall if I need to, but would prefer not to.

[    2.281614] VFS: Cannot open root device "UUID=85d372dc-d32c-4829-b538-7213744d7bda" or unknown-block(0,0)
[    2.281743] Please append a correct "root=" boot option; here are the available partitions:
[    2.281879]   0800         29302560 sda  driver: sd
[    2.281997]   0801        8243168 sda1 00000000-0000-0000-0000-00000000sda1
[    2.282118]   0802              1 sda2 00000000-0000-0000-0000-00000000sda2
[    2.282240]   0805       11878176 sda5 00000000-0000-0000-0000-00000000sda5
[    2.282361]   0806        8664064 sda6 00000000-0000-0000-0000-00000000sda6
[    2.282482]   0807         514048 sda7 00000000-0000-0000-0000-00000000sda7
[    2.282603] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    2.282717] Pid: 1, comm: swapper Not tainted 3.0.0-12-generic #20-Ubuntu
[    2.282799] Call Trace:
[    2.282880]  [<c1518c98>] ? printk+0x2d/0x2f
[    2.282956]  [<c1518b76>] panic+0x5c/0x151
[    2.283034]  [<c17bcb2b>] mount_block_root+0xb9/0x14c
[    2.283117]  [<c1135f7c>] ? sys_mknod+0x2c/0x30
[    2.283194]  [<c17bcd36>] mount_root+0x59/0x5f
[    2.283278]  [<c17bce8a>] prepare_namespace+0x14e/0x192
[    2.283354]  [<c1127235>] ? sys_access+0x25/0x30
[    2.283438]  [<c17bc89f>] kernel_init+0x136/0x13b
[    2.283507]  [<c17bc769>] ? start_kernel+0x358/0x358
[    2.283586]  [<c1533b7e>] kernel_thread_helper+0x6/0x10
How do I edit applications panel menu in Lubuntu? https://askubuntu.com/questions/196614/how-do-i-edit-applications-panel-menu-in-lubuntu

Main menu (alacarte) cannot record changes as it should. Some time it does, but randomly and rarely.

Is this a bug?

This question is not a clone of this one. In that case the Main menu would not open, in this case it does but changes are rarely recorded.

MacBookPro 5,4, brightness problem https://askubuntu.com/questions/190837/macbookpro-5-4-brightness-problem

I installed Ubuntu 12.04 on my macbookPro 5,4 and it seems like everything is working well expect the brightness control.

The functions keys are working and when pressing it I see the brightness bar changing, but the brightness doesn't change.

Changing the brightness from the settings tools doesn't work as well.

Any idea?