ThinkPad E490 won’t boot after deleting EFI entry with efibootmgr (Ubuntu 24.04) https://askubuntu.com/questions/1563659/thinkpad-e490-won-t-boot-after-deleting-efi-entry-with-efibootmgr-ubuntu-24-04

I need help with a boot issue on my Lenovo ThinkPad E490 running Ubuntu 24.04. I mistakenly ran the following command:

sudo efibootmgr -b 0017 -B

After restarting, the laptop powers on (keyboard backlight comes on), but the screen stays black and the system does not boot. I suspect I deleted a critical EFI boot entry.

How can I restore the EFI bootloader or recreate the missing boot entry so that Ubuntu can start again?

Thank you in advance for your guidance.

How to restore dual boot Windows 7 / KDE neon https://askubuntu.com/questions/1563655/how-to-restore-dual-boot-windows-7-kde-neon

I'm a complete Ubuntu newbie. My desktop has two physical boot drives. One has had Windows 7 installed for about a decade. After installing KDE neon on the second drive - this one.

PRETTY_NAME="KDE neon 6.3"
NAME="KDE neon"
VERSION_ID="24.04"
VERSION="6.3"
VERSION_CODENAME=noble
ID=neon
ID_LIKE="ubuntu debian"
HOME_URL="https://neon.kde.org/"
UBUNTU_CODENAME=noble
LOGO=start-here-kde-neon

For several months, both operating systems worked without problems, and I selected to boot from BIOS. Thereafter I have somehow managed to create a boot menu outside of BIOS.

Some time ago, I had a problem booting Windows. I tinkered with something, and a boot menu appeared, but over time, it stopped working. Attached are pictures of the problem. How can I restore the boot menu for Windows and Linux?

It used to be like this and you could go down to Windows and load it.

Then some kind of glitch occurred and now when I turn on the desktop, this blue window appears first.

When I go down to the Windows 7 menu item and press Enter, the following image appears.

...and after pressing any key, KDE neon boots up.

Does anyone else have problems with the kernel update 6.8.0-94-generic on Ubuntu 22.04? https://askubuntu.com/questions/1563653/does-anyone-else-have-problems-with-the-kernel-update-6-8-0-94-generic-on-ubuntu

I have a new PC with a Nvidia 5060Ti, Ryzen 7 9700X and a Gigabyte B850 Gaming X WIFI6E motherboard, and I already had problems with the graphics and Ethernet driver from the beginning. After making some changes it seemed to work, but now with the kernel update from 6.8.0-90-generic to 6.8.0-94-generic the WiFi, Bluetooth, Ethernet and the second monitor aren't working.

After running these commands...

sudo apt update
sudo apt install linux-modules-extra-6.8.0-94-generic 
sudo apt install linux-headers-6.8.0-94-generic 
sudo apt install linux-modules-extra-6.8.0-94-generic 
sudo apt install linux-generic linux-image-generic linux-headers-generic
sudo update-initramfs -u -k all

...the Ethernet and the second monitor are working again, but there's still no WiFi and Bluetooth.

Does anyone have the same problems or know how to fix them?

eno1 not activated on boot https://askubuntu.com/questions/1563651/eno1-not-activated-on-boot

I have a recent fresh install of Ubuntu 24.04.3. 100% consistently on boot eno1 is not activated. What is activated is a non-existent USB Ethernet device.

Below is the relevant yaml. Today I discovered the connection priority setting. It has not made a difference.

network:
  version: 2
  ethernets:
    eno1:
      renderer: NetworkManager
      match: {}
      addresses:
      - "192.168.2.16/24"
      nameservers:
        addresses:
        - 127.0.0.1
        - 192.168.2.13
        - 192.168.2.24
      ipv6-address-generation: "stable-privacy"
      networkmanager:
        uuid: "10838d80-caeb-349e-ba73-08ed16d4d666"
        name: "netplan-eno1"
        passthrough:
          connection.autoconnect-priority: "500"
          connection.timestamp: "1770359862"
          ipv4.address1: "192.168.2.16/24,192.168.2.1"
          ipv4.dns-search: ".;"
          ipv4.may-fail: "false"
          ipv4.method: "manual"
          ipv6.method: "disabled"
          ipv6.ip6-privacy: "-1"
          proxy._: ""
Getting kernel errors when updating, 'make' KERNELVER=6.17.0-14-generic.........................(bad exit status: 2), lubuntu https://askubuntu.com/questions/1563650/getting-kernel-errors-when-updating-make-kernelver-6-17-0-14-generic

A bit concerned with an update on lubuntu, unsure what to do here. I just ran sudo apt update && sudo apt upgrade -y and I had issues when updating the kernel. Unrelated to the i386 thing. I ran it again and i got this:

tildah@leenux:~$ sudo apt update && sudo apt upgrade -y
[sudo] password for tildah: 
Hit:1 https://playit-cloud.github.io/ppa/data ./ InRelease
Hit:2 https://dl.winehq.org/wine-builds/ubuntu noble InRelease                                                                                                             
Hit:3 https://download.docker.com/linux/ubuntu noble InRelease                                                                                                             
Hit:4 https://repo.radeon.com/amdgpu/6.4.4/ubuntu noble InRelease                                                                                                          
Hit:5 http://us.archive.ubuntu.com/ubuntu noble InRelease                                 
Hit:6 http://security.ubuntu.com/ubuntu noble-security InRelease                                           
Hit:7 https://packages.element.io/debian default InRelease                                                 
Hit:8 http://us.archive.ubuntu.com/ubuntu noble-updates InRelease                                         
Hit:9 http://us.archive.ubuntu.com/ubuntu noble-backports InRelease                 
Hit:10 https://repo.radeon.com/rocm/apt/6.4.4 noble InRelease 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
3 packages can be upgraded. Run 'apt list --upgradable' to see them.
N: Skipping acquire of configured file 'stable/binary-i386/Packages' as repository 'https://download.docker.com/linux/ubuntu noble InRelease' doesn't support architecture 'i386'
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  linux-headers-6.14.0-36-generic linux-headers-6.8.0-94 linux-headers-6.8.0-94-generic linux-hwe-6.14-headers-6.14.0-36 linux-hwe-6.14-tools-6.14.0-36
  linux-image-6.14.0-36-generic linux-modules-6.14.0-36-generic linux-modules-extra-6.14.0-36-generic linux-tools-6.14.0-36-generic
Use 'sudo apt autoremove' to remove them.
Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
  vlc-plugin-qt libvlc5 libpostproc-dev libmagickcore-6.q16-7t64
  libzvbi-common vlc-data libvlccore9 vlc imagemagick vlc-bin
  libmagickcore-6.q16-7-extra vlc-l10n libcjson1 libavdevice60 ffmpeg
  libpostproc57 vlc-plugin-samba python3-fonttools libswscale-dev
  libavdevice-dev libavcodec60 libavcodec60 libzvbi0t64 libzvbi0t64
  vlc-plugin-notify libavutil58 libavutil58 imagemagick-6.q16 libswscale7
  vlc-plugin-access-extra libavutil-dev vlc-plugin-skins2 vlc-plugin-svg
  vlc-plugin-video-splitter libswresample4 libswresample4 imagemagick-6-common
  vlc-plugin-video-output libavfilter-dev 7zip libavformat60 mupdf-tools
  libglut3.12 libavformat-dev libavcodec-dev libvlc-bin libswresample-dev
  vlc-plugin-base vlc-plugin-visualization libavfilter9
  libmagickwand-6.q16-7t64
Learn more about Ubuntu Pro at https://ubuntu.com/pro
The following upgrades have been deferred due to phasing:                                                                                                                   
  alsa-ucm-conf language-pack-en                                                                                                                                            
The following packages have been kept back:
  language-pack-en-base
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up linux-image-6.17.0-14-generic (6.17.0-14.14~24.04.1) ...
Setting up linux-headers-6.17.0-14-generic (6.17.0-14.14~24.04.1) ...
/etc/kernel/header_postinst.d/dkms:
 * dkms: running auto installation service for kernel 6.17.0-14-generic
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der

Building module:
Cleaning build area...
'make' KERNELVER=6.17.0-14-generic...................(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/amdgpu-dkms.0.crash'
Error! Bad return status for module build on kernel: 6.17.0-14-generic (x86_64)
Consult /var/lib/dkms/amdgpu/6.12.12-2202139.24.04/build/make.log for more information.
dkms autoinstall on 6.17.0-14-generic/x86_64 failed for amdgpu(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
 * dkms: autoinstall for kernel 6.17.0-14-generic
   ...fail!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
dpkg: error processing package linux-headers-6.17.0-14-generic (--configure):
 installed linux-headers-6.17.0-14-generic package post-installation script subprocess returned error exit status 11
dpkg: dependency problems prevent configuration of linux-headers-generic-hwe-24.04:
 linux-headers-generic-hwe-24.04 depends on linux-headers-6.17.0-14-generic; however:
  Package linux-headers-6.17.0-14-generic is not configured yet.

dpkg: error processing package linux-headers-generic-hwe-24.04 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic-hwe-24.04:
 linux-generic-hwe-24.04 depends on linux-headers-generic-hwe-24.04 (= 6.17.0-14.14~24.04.1); however:
  Package linux-headers-generic-hwe-24.04 is not configured yet.

dpkg: error processing package linux-generic-hwe-24.04 (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          No apport report written because the error message indicates its a followup error from a previous failure.
                                        Processing triggers for linux-image-6.17.0-14-generic (6.17.0-14.14~24.04.1) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 6.17.0-14-generic
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der

Building module:
Cleaning build area...
'make' KERNELVER=6.17.0-14-generic...................(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/amdgpu-dkms.0.crash'
Error! Bad return status for module build on kernel: 6.17.0-14-generic (x86_64)
Consult /var/lib/dkms/amdgpu/6.12.12-2202139.24.04/build/make.log for more information.
dkms autoinstall on 6.17.0-14-generic/x86_64 failed for amdgpu(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
 * dkms: autoinstall for kernel 6.17.0-14-generic
   ...fail!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: error processing package linux-image-6.17.0-14-generic (--configure):
 installed linux-image-6.17.0-14-generic package post-installation script subprocess returned error exit status 11
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 linux-headers-6.17.0-14-generic
 linux-headers-generic-hwe-24.04
 linux-generic-hwe-24.04
 linux-image-6.17.0-14-generic
N: Some packages may have been kept back due to phasing.
E: Sub-process /usr/bin/dpkg returned an error code (1)
tildah@leenux:~$ 

idk what i can do, and my error seems different than other research i've just done, what can I do to remedy this? Is it safe for me to turn off my computer?

Unable to get Arvox AX900 USB Wifi adapter to work on Ubuntu Server 25.10 (Kernel 6.17) https://askubuntu.com/questions/1563647/unable-to-get-arvox-ax900-usb-wifi-adapter-to-work-on-ubuntu-server-25-10-kerne

I'm looking for help to get my Arvox AX900 USB wifi + BT 5.4 adapter to work on a fresh install of Ubuntu Server 25.10 (Kernel 6.17). I could not find vendor specific drivers, but I did find out that this specific hardware i.e. AIC 8800D80 has generic drivers that should work. In my case, I have tried downloading the drivers from Tenda's website as well as a git. Initially, they did not install because the OS was missing some basic packages primarily because I did not have a wired internet connection to my workstation. So, I downloaded the required packages on a different laptop and then copied them over and installed them. Post this, the driver did get installed successfully but even after a reboot, Ubuntu does not show an available Wifi adapter. I followed a blog to download the source files (which I did from the git), compile them on my Ubuntu and then installed them. However, the end result was the same. The Network Manager does not show any new Wifi adapter. Here are additional steps I have taken to check configurations:

  • lsusb - shows the adapter as soon as I connect it
  • dmesg - shows that the firmware was loaded on boot
  • sudo iw list - does not give any output

I have also referred to various posts on serverfault, askubuntu, stackoverflow etc. to identify what I may be doing incorrectly and as per their comments, the adapter should work after following those steps. However, it hasn't helped in my case. Hence, I'm posting here for help. I'm new to the Linux world and am trying to learn to find my way around it. It will be very helpful if someone can guide me here as I want to avoid purchasing another wifi dongle (available ones are quite expensive).

Application to browse photos and videos https://askubuntu.com/questions/1563644/application-to-browse-photos-and-videos

When I browse a folder in Files, I would like to open a photo or video, and then use the arrow keys to display/play the next photo or video file. Loupe (the default image viewer in 25.10) works perfectly for photos, but does not playback videos.

I've looked at Photo & video viewer similar to Android's Gallery app and similar Q&As, but they all basically say "open all your photos with an app like VLC or gThumb".

I do not want to "import" my media in a special folder/gallery. I have tens of thousands of photos across many folders and I like the way they are organized.

I tried:

  • gThumb: almost does the job, but it creates a new window for each video, not allowing me to quickly breeze through photos/videos. That's not the user experience I'm after.

  • Shotwell: does not playback videos, it just skips them, like Loupe.

  • When I tried installing Gwenview, I was told by apt that I need to install 230 new packages, so I said "no thanks".

I'm surprised this doesn't just work in Ubuntu 25.10 desktop. It feels like a rather basic requirement.

How do people browse their video and photo folders?

Ubuntu update on old iMac 14.2 https://askubuntu.com/questions/1563643/ubuntu-update-on-old-imac-14-2

I updated Linux kernel in Ubuntu on my old iMac 14.2 to 6.17.0-14 I think, but now it will only boot into 6.14.0-37 via Advanced Options. The screen produced by the usual boot shows this error message: Kernel Panic: VFS: Unable to mount root fs on unknown-block (0.0) What can I do?

Login screen keeps returning to itself after password is entered https://askubuntu.com/questions/1563639/login-screen-keeps-returning-to-itself-after-password-is-entered
$ uname -a
Linux ray-desktop 6.14.0-37-generic #37~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 20 10:25:38 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Ubuntu 24.4.

  • I can login okay to my own (admin) account.
  • Other users enter correct password (error message for wrong password) and it immediately goes back to the login screen to choose a user.

Following suggestions elsewhere I did:

$ sudo apt update ; sudo apt install --reinstall ubuntu-desktop gdm3

but there was no obvious difference.

I've also done:

sudo chown -R angie:angie /home/angie
sudo chmod -R o-w /home/angie
sudo chmod -R g-w /home/angie

These are the only user files that have changed since the last backup:

./.bash_history
./.config/dconf/user
./.config/evince/print-settings
./.config/ibus/bus/816f888a34bf4fb1bde1af3c3d97ad49-unix-2
./.config/ibus/bus/816f888a34bf4fb1bde1af3c3d97ad49-unix-wayland-0
./.config/libreoffice/4/user/config/javasettings_Linux_X86_64.xml
./.config/libreoffice/4/user/pack/config/javasettings_Linux_X86_64.pack
./.config/libreoffice/4/user/pack/registrymodifications.pack
./.config/libreoffice/4/user/registrymodifications.xcu
./.config/tiling-assistant/tiledSessionRestore.json
./.local/share/evolution/addressbook/system/contacts.db
./.local/share/gnome-shell/application_state
./.local/share/icc/edid-ad2ce0cfe20ce3cd48444ac28e86e056.icc
./.local/share/keyrings/login.keyring

The hardware is all Intel. (an NUC)

I'd try rebooting, but I'm concerned I'll end up locked out too.


Thanks for the interactive help in the comments. I'll give it a rest until tomorrow, and try again then.

Proton VPN desktop install issues [duplicate] https://askubuntu.com/questions/1563632/proton-vpn-desktop-install-issues

Someone posted this question on the forum a week ago but they never followed up with clarifying information to the commenters. I am having the same issue as I am a new Linux/Ubuntu user also. My question includes the outputs asked for from the original question. The issue is the output at the end of step 3.

I am using Ubuntu 24.04.3 LTS noble.

I followed the steps listed "How to install the Proton VPN GUI app on Ubuntu" Here's the outputs that I'm getting:

Step 1

rom@NUC:~$ wget https://repo.protonvpn.com/debian/dists/stable/main/binary-all/protonvpn-stable-release_1.0.8_all.deb

--2026-02-05 12:32:28-- 
https://repo.protonvpn.com/debian/dists/stable/main/binary-all/protonvpn-stable-release_1.0.8_all.deb
Resolving repo.protonvpn.com (repo.protonvpn.com)... 
172.67.70.114, 104.26.4.35, 104.26.5.35, ... 
Connecting to repo.protonvpn.com (repo.protonvpn.com)|172.67.70.114|:443... connected. 
HTTP request sent, awaiting response... 
200 OK Length: 4852 (4.7K)
[application/octet-stream] Saving to:
‘protonvpn-stable-release_1.0.8_all.deb.8’
 
protonvpn-stable-re 100%[===================>] 4.74K --.-KB/s in 0s
 
2026-02-05 12:32:28 (15.0 MB/s) -
‘protonvpn-stable-release_1.0.8_all.deb.8’ saved [4852/4852]

Step 2

rom@NUC:~$ sudo dpkg -i ./protonvpn-stable-release_1.0.8_all.deb &&
sudo apt update 
[sudo] password for rom: 
(Reading database ... 213964 files and directories currently installed.) 
Preparing to unpack .../protonvpn-stable-release_1.0.8_all.deb ... Unpacking protonvpn-stable-release (1.0.8) over (1.0.8) ... 
Setting up protonvpn-stable-release (1.0.8) ... 
Hit:1 https://repo.nordvpn.com/deb/nordvpn/debian stable InRelease Hit:2 http://us.archive.ubuntu.com/ubuntu noble InRelease 
Hit:3 http://security.ubuntu.com/ubuntu noble-security InRelease 
Hit:4 http://us.archive.ubuntu.com/ubuntu noble-updates InRelease Hit:5 http://us.archive.ubuntu.com/ubuntu noble-backports InRelease Hit:6 https://esm.ubuntu.com/apps/ubuntu noble-apps-security InRelease Hit:7 https://esm.ubuntu.com/apps/ubuntu noble-apps-updates InRelease Hit:8 https://esm.ubuntu.com/infra/ubuntu noble-infra-security InRelease
Hit:9 https://esm.ubuntu.com/infra/ubuntu noble-infra-updates InRelease 
Reading package lists... Done 
Building dependency tree... Done 
Reading state information... Done 
1 package can be upgraded. Run 'apt list --upgradable' to see it. 
W: https://repo.nordvpn.com/deb/nordvpn/debian/dists/stable/InRelease:
Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg),
see the DEPRECATION section in apt-key(8) for details.

Step 2.5

rom@NUC:~$ echo  "0b14e71586b22e498eb20926c48c7b434b751149b1f2af9902ef1cfe6b03e180  protonvpn-stable-release_1.0.8_all.deb" | sha256sum --check -

protonvpn-stable-release_1.0.8_all.deb: OK

Step 3

rom@NUC:~$ sudo apt install proton-vpn-gnome-desktop 
Reading package lists... Done 
Building dependency tree... Done 
Reading state information... Done 
**E: Unable to locate package proton-vpn-gnome-desktop**

Here's the result of the cat cmd

rom@NUC:~$ cat /etc/apt/sources.list.d/protonvpn-stable.sources 
cat: /etc/apt/sources.list.d/protonvpn-stable.sources: No such file or directory

Any help would be appreciated. I intentionally broke the links in step 2,by making them http due to not having enough reputation to post more than 8 links.

@steeldriver After uninstalling then re-installing, this is the output that I get.

rom@NUC:~$ sudo apt install proton-vpn-gnome-desktop 
Reading package lists... Done 
Building dependency tree... Done 
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:  
linux-headers-generic : Depends: linux-headers-6.8.0-100-generic 
but it is not installable
E: Unable to correct problems, you have held broken packages.
Kernel panic on Ubuntu MATE 24.04.3 with full disk encryption (LUKS) after updating to kernels 6.8.0-94 or 6.17.0-14 https://askubuntu.com/questions/1563631/kernel-panic-on-ubuntu-mate-24-04-3-with-full-disk-encryption-luks-after-updat

After updating to kernel 6.8.0-94 and having the dependency on Nvidia drivers, I get a kernel panic at boot. Kernel module builds fail due to missing drm/drm_legacy.h and switching to the hwe kernel (6.17.0-14) yields the same result, but likely due to the fact that the initrd is not mounting encrypted disks before it tries to mount the root partition.

Has anyone solved this yet?

No working camera on Dell Pro 14 Plus PB14250 https://askubuntu.com/questions/1563100/no-working-camera-on-dell-pro-14-plus-pb14250

When using the Dell recovery ISO I get a working camera:

When using the normal Ubuntu 24.04.3 ISO the camera does not work.

App used to test in MS Edge.

I tried so far:

Additional Drivers, fails with error: link to pastebin of error

LNL/ARL steps in: https://wiki.ubuntu.com/IntelMIPICamera#Ubuntu_LTS_24.04

No joy so far. Does anyone have recommendations?

Wayland and screen sharing in Ubuntu 25.10 https://askubuntu.com/questions/1560653/wayland-and-screen-sharing-in-ubuntu-25-10

I'm using KDE as my main desktop environment. Since upgrading to Ubuntu 25.10, I can no longer share my screen whatever the app I'm using, Firefox (the .deb one), snap or flatpak for Slack or Teams. The feature just does not work at all and I can't do it.

I know that now Wayland is the only way, but I would expect that this screen sharing issue was solved in a reliable fashion to enforce the switch. How can I have any app doing screen sharing from Ubuntu 25.10?

No sound in ASUS Zenbook S 14 UX5406SA in Ubuntu 24.10 https://askubuntu.com/questions/1545239/no-sound-in-asus-zenbook-s-14-ux5406sa-in-ubuntu-24-10

I recently bought this ASUS Zenbook S 14 UX5406SA and immediately installed Ubuntu 24.10. Everything works fine except sound. The sound preferences indicate 'dummy output'. Only when I insert a USB headphone + mic set, I have sound and can speak, but I have no sound through the internal speakers of jack. I read that

  • This may be solved through a kernel upgrade which I tried (6.11 -> 6.14) but it did not work.
  • I also tried Manjaro with a USB live stick and the sound worked, but I wish to stick to Ubuntu for other reasons.

What should I do?

My Ugreen bluetooth CM748 This device is working in Windows but not in Ubuntu https://askubuntu.com/questions/1528454/my-ugreen-bluetooth-cm748-this-device-is-working-in-windows-but-not-in-ubuntu

I recently added Ugreen CM748 5.4 Bluetooth device Inside this bluetooth use BR8654A02 chipset. It runs properly on Windows, but in Ubuntu it shows but does not turn on.

enter image description here

More information about Bluetooth device: https://g.co/gemini/share/21e34e5c7d21

Bus 001 Device 006: ID 33fa:0010 USB2.0-BT is my Bluetooth device. It shows, but it does not turn on.

$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 1a2c:2124 China Resource Semico Co., Ltd Keyboard
Bus 001 Device 004: ID 30fa:0300  USB Optical Mouse 
Bus 001 Device 005: ID 0bda:b812 Realtek Semiconductor Corp. RTL88x2bu [AC1200 Techkey]
Bus 001 Device 006: ID 33fa:0010  USB2.0-BT
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 003 Device 003: ID 04f2:b071 Chi
cony Electronics Co., Ltd 2.0M UVC Webcam / CNF7129
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

Please help me to troubleshoot this problem.

I useign this ubuntu version: OS: Ubuntu 24.04.1 LTS x86

bluetooth 5.3 not working ubuntu

Ubuntu 24.04 (Wayland): swap (remap) Escape and Backtick (tilde) https://askubuntu.com/questions/1522399/ubuntu-24-04-wayland-swap-remap-escape-and-backtick-tilde

I've been using the X11 setup, but recently switched to 24.04 with the Wayland server.

How do I swap the keys (in the upper left) for Escape and Backtick (`) (which is Tilde if shifted? Here's what I used to do in my .xmodmap

keycode 49 = Escape
keycode 9 = grave asciitilde

Thanks, there seems to be many complicated approaches, so I'm looking for the simplest, well supported solution.

how to resolve D-Bus system message bus https://askubuntu.com/questions/1467536/how-to-resolve-d-bus-system-message-bus

after an update i restarted my system after the restart i got stuck at the loading screen after pressing the F2 it says

Failed to start System Logging service.
Failed to start D-Bus system Message Bus.
Failed to start RPC Portman Service.
Failed to start User Login Management.

Does anyone know got to resolve this?

Using Ubuntu 22.04.

How I can install multiple versions of php in ubuntu 22.10 version? https://askubuntu.com/questions/1460926/how-i-can-install-multiple-versions-of-php-in-ubuntu-22-10-version

I'm a PHP web developer I have some errors with new version of ubuntu, I was Installed new version of Ubuntu (22.10) but when I installed php 8.2 version I can't know how to install different version of PHP.

For example I tried to install php 8.0, 7.4, 7.0, 7.2 , ... but nothing happened I was tried many ways, please if someone know how to install multiple versions in ubuntu 22.10 ask me.

Thank You.

Install cmake 3.17 failed,CMake has most likely not been installed correctly https://askubuntu.com/questions/1231174/install-cmake-3-17-failed-cmake-has-most-likely-not-been-installed-correctly

Ubuntu 18.04 past cmake version 3.10.2

After I have install cmake with sudo make ,sudo make install,and cmake --version

(base) lzw@resplendent-star:~/3d_lib/cmake-3.17.1$ cmake --version
CMake Error: Could not find CMAKE_ROOT !!!
CMake has most likely not been installed correctly.
Modules directory not found in
/usr/local/share/cmake-3.10
cmake version 3.10.2
How to exit from TTY mode https://askubuntu.com/questions/1156765/how-to-exit-from-tty-mode

I accidentally changed the video driver on my Kubuntu from NVIDIA to Xserver-xorg-video-nouveau, rebooted my PC and now my GUI does not load after GRIB. Instead of GUI, I can see TTY mode.

I logged to this mode, tried press CTRL + ALT + F7 and CTRL + ALT + FN + F7, tried enter "init 5"/"init 6" and all don't help!

How can I load my GUI?

Screen of TTY Screen of TTY

Screen on Ubuntu Devices Screen on ubuntu devices

Apache and Nginx Crashing, Port 80 Being Used, Can't Get Either to Start/Stop/Uninstall https://askubuntu.com/questions/1045193/apache-and-nginx-crashing-port-80-being-used-cant-get-either-to-start-stop-un

I've been trying to set up a dev environment on a new Ubuntu 18.04 installation, and I'm running into an issue with Nginx and Apache.

First, I installed Apache2. Everything seemed in order.

Then I installed Composer, Laravel, and Valet. Running valet install gave me the following message:

[nginx] is not installed, installing it now via Apt... 🍻

Reading package lists...

Building dependency tree...

Reading state information...

The following NEW packages will be installed:

  nginx

0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.

1 not fully installed or removed.

Need to get 0 B/25.2 kB of archives.

After this operation, 36.9 kB of additional disk space will be used.

Selecting previously unselected package nginx.

(Reading database ... 172679 files and directories currently installed.)

Preparing to unpack .../nginx_1.14.0-0+bionic0_all.deb ...

Unpacking nginx (1.14.0-0+bionic0) ...

Setting up nginx-full (1.14.0-0+bionic0) ...

Job for nginx.service failed because the control process exited with error 
code.

See "systemctl status nginx.service" and "journalctl -xe" for details.

invoke-rc.d: initscript nginx, action "start" failed.

● nginx.service - A high performance web server and a reverse proxy server

  Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)

 Active: failed (Result: exit-code) since Sat 2018-06-09 19:03:35 MST; 9ms ago

   Docs: man:nginx(8)

  Process: 4142 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=1/FAILURE)

 Process: 4138 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)


Jun 09 19:03:33 The-Lappy nginx[4142]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)

Jun 09 19:03:33 The-Lappy nginx[4142]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)

Jun 09 19:03:34 The-Lappy nginx[4142]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)

Jun 09 19:03:34 The-Lappy nginx[4142]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)

Jun 09 19:03:34 The-Lappy nginx[4142]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)

Jun 09 19:03:34 The-Lappy nginx[4142]: nginx: [emerg] bind() to [::]:80 failed 
(98: Address already in use)

Jun 09 19:03:35 The-Lappy nginx[4142]: nginx: [emerg] still could not bind()

Jun 09 19:03:35 The-Lappy systemd[1]: nginx.service: Control process exited, 
code=exited status=1

Jun 09 19:03:35 The-Lappy systemd[1]: nginx.service: Failed with result 'exit-
code'.

Jun 09 19:03:35 The-Lappy systemd[1]: Failed to start A high performance web 
server and a reverse proxy server.

dpkg: error processing package nginx-full (--configure):

 installed nginx-full package post-installation script subprocess returned 
error exit status 1

dpkg: dependency problems prevent configuration of nginx:

 nginx depends on nginx-full (<< 1.14.0-0+bionic0.1~) | nginx-light (<< 1.14.0-0+bionic0.1~) | nginx-extras (<< 1.14.0-0+bionic0.1~); however:

  Package nginx-full is not configured yet.

  Package nginx-light is not installed.

  Package nginx-extras is not installed.

nginx depends on nginx-full (>= 1.14.0-0+bionic0) | nginx-light (>= 1.14.0-0+bionic0) | nginx-extras (>= 1.14.0-0+bionic0); however:

  Package nginx-full is not configured yet.

  Package nginx-light is not installed.

  Package nginx-extras is not installed.


dpkg: error processing package nginx (--configure):

 dependency problems - leaving unconfigured

No apport report written because the error message indicates its a followup 
error from a previous failure.

Errors were encountered while processing:

 nginx-full

 nginx

E: Sub-process /usr/bin/dpkg returned an error code (1)


In Apt.php line 74:

  Apt was unable to install [nginx].  

install [--ignore-selinux]

Running sudo apt-get remove nginx gives me:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libnginx-mod-http-auth-pam libnginx-mod-http-dav-ext libnginx-mod-http-echo libnginx-mod-http-geoip libnginx-mod-http-image-filter libnginx-mod-http-subs-filter libnginx-mod-http-upstream-fair
  libnginx-mod-http-xslt-filter libnginx-mod-mail libnginx-mod-stream nginx-common nginx-full
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  nginx
0 upgraded, 0 newly installed, 1 to remove and 5 not upgraded.
2 not fully installed or removed.
After this operation, 36.9 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 172681 files and directories currently installed.)
Removing nginx (1.14.0-0+bionic0) ...
Setting up nginx-full (1.14.0-0+bionic0) ...
Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.
invoke-rc.d: initscript nginx, action "start" failed.
● nginx.service - A high performance web server and a reverse proxy server
   Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sat 2018-06-09 19:08:44 MST; 9ms ago
     Docs: man:nginx(8)
  Process: 4279 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=1/FAILURE)
  Process: 4278 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)

Jun 09 19:08:43 The-Lappy nginx[4279]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
Jun 09 19:08:43 The-Lappy nginx[4279]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Jun 09 19:08:43 The-Lappy nginx[4279]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
Jun 09 19:08:43 The-Lappy nginx[4279]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Jun 09 19:08:44 The-Lappy nginx[4279]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
Jun 09 19:08:44 The-Lappy nginx[4279]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Jun 09 19:08:44 The-Lappy nginx[4279]: nginx: [emerg] still could not bind()
Jun 09 19:08:44 The-Lappy systemd[1]: nginx.service: Control process exited, code=exited status=1
Jun 09 19:08:44 The-Lappy systemd[1]: nginx.service: Failed with result 'exit-code'.
Jun 09 19:08:44 The-Lappy systemd[1]: Failed to start A high performance web server and a reverse proxy server.
dpkg: error processing package nginx-full (--configure):
 installed nginx-full package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 nginx-full
E: Sub-process /usr/bin/dpkg returned an error code (1)

SO it looks like it was partially installed and then unable to remove nginx.

Running sudo nginx gives me:

nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] still could not bind()

Running sudo apachectl start tells me the process failed with an error code and to check the logs. /var/log/apache2/error.log contains:

[Sat Jun 09 17:24:52.483178 2018] [mpm_event:notice] [pid 19739:tid 140694647565248] AH00489: Apache/2.4.29 (Ubuntu) configured -- resuming normal operations
[Sat Jun 09 17:24:52.483281 2018] [core:notice] [pid 19739:tid 140694647565248] AH00094: Command line: '/usr/sbin/apache2'
[Sat Jun 09 18:39:50.318815 2018] [core:warn] [pid 32508:tid 140277927611328] AH00098: pid file /var/run/apache2/apache2.pid overwritten -- Unclean shutdown of previous Apache run?
[Sat Jun 09 18:39:50.319348 2018] [mpm_event:notice] [pid 32508:tid 140277927611328] AH00489: Apache/2.4.29 (Ubuntu) configured -- resuming normal operations
[Sat Jun 09 18:39:50.319367 2018] [core:notice] [pid 32508:tid 140277927611328] AH00094: Command line: '/usr/sbin/apache2'
[Sat Jun 09 18:40:33.313855 2018] [core:warn] [pid 32625:tid 140576383269824] AH00098: pid file /var/run/apache2/apache2.pid overwritten -- Unclean shutdown of previous Apache run?
[Sat Jun 09 18:40:33.314401 2018] [mpm_event:notice] [pid 32625:tid 140576383269824] AH00489: Apache/2.4.29 (Ubuntu) configured -- resuming normal operations
[Sat Jun 09 18:40:33.314419 2018] [core:notice] [pid 32625:tid 140576383269824] AH00094: Command line: '/usr/sbin/apache2'
[Sat Jun 09 18:41:57.804899 2018] [mpm_event:notice] [pid 32625:tid 140576383269824] AH00491: caught SIGTERM, shutting down

So it's weird that I can't start Apache. However, visiting localhost in my browser brings me to the default ubuntu apache2 page.

Also, killing whatever's running on port 80 via fuser is no help.

So I'm kind of stumped here. Can anyone please help sort this out?

EDIT: I ran sudo apt-get remove nginx nginx-full and then ran a sudo netstat -ltnp | grep -w ':80' and got this:

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      10008/mysqld        
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      2151/nginx: master  
tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      713/systemd-resolve 
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      5957/cupsd          
tcp6       0      0 :::80                   :::*                    LISTEN      2151/nginx: master  
tcp6       0      0 ::1:631                 :::*                    LISTEN      5957/cupsd  
ALT+TAB only appearing on primary display https://askubuntu.com/questions/1034444/alttab-only-appearing-on-primary-display

The ALT+TAB window switching menu only appears on my primary (laptop) screen, not the screen that is active. The top-bar, where notifications live, is also not-present on my second monitor. Both these behavior are new since in-place upgrade from 17.10.

Any way I can get back the previous behavior?

Change partition sizes of dualboot system https://askubuntu.com/questions/1016821/change-partition-sizes-of-dualboot-system

I know that there are some similar topics to this, however I was not sure which of them could be applied to my case. Because I am afraid of destroying my system, I hope you can give me some advice on how to proceed:

On my laptop, I have installed Ubuntu 16.04 and Windows 10 as a dualboot system managed by GRUB. You can see my partitioning in this:

GParted screenshot

Now I want to increase the size of my Windows partition (/dev/sda3) and decrease the size of my Ubuntu partition (/dev/sda2). If I just move the border in GParted (after booting from an Ubuntu USB stick), will both of my systems work as before? What about GRUB?

How would you proceed in my case to do this partition resizing?

How to recover from uninstall of gnome-shell-extension-ubuntu-dock in Ubuntu 17.10 https://askubuntu.com/questions/980731/how-to-recover-from-uninstall-of-gnome-shell-extension-ubuntu-dock-in-ubuntu-17

I wanted to disable the always-visible dock that comes with the Ubuntu 17.10 version of gnome shell. I found tips to either install the dash-to-dock extensions or to just uninstall the Ubuntu dock extension. The first resulted in two overlapping docks, the latter in removing several other packages. The Ubuntu shell theme is broken now and the dock is still always visible and stuck in a broken theme.

Obviously, messing with the default extensions without fully installing vanilla gnome was a bad idea. Do you know how to undo the changes? I already re-installed the ubuntu-desktop package but that didn't fix anything so it wasn't the only one removed along with gnome-shell-extension-ubuntu-dock.

Thanks a lot.

Alt+tab displayed on current monitor in Ubuntu 17.10 https://askubuntu.com/questions/968950/alttab-displayed-on-current-monitor-in-ubuntu-17-10

I'm working with two monitors connected to my laptop, one over mDP, and the second one over HDMI.

I have windows arranged on both monitors and when I Alt+Tab between the windows, the switcher is shown only on the primary monitor which is not ideal.

How do I make the Alt+Tab switcher show on the monitor where the cursor is located, and optionally list only windows located on that monitor?

I'm using default Gnome coming with 17.10 install.

Thanks!

Kernel Panic: VFS cannot open root device or unknown block error -6 https://askubuntu.com/questions/895492/kernel-panic-vfs-cannot-open-root-device-or-unknown-block-error-6

I have a problem where if I turn on the computer I tried to boot to Kubuntu, it just takes me to a black screen. It sticks there with no output and no hint of what's going on except that the Caps Lock indicator light on my keyboard flashes on and off (weird, right?)

If I then turn off the computer (by holding down the power button for a few seconds), and turn it back on, I get a boot menu where I can choose 'Advanced options for Ubuntu', and that lists different versions, recovery modes, some of which work just fine.

That's what I've bee doing for the two weeks or so I've had this problem, and it worked until just now. The alternative options only booted me into the command line. I was able to fix this with this solution, so now I'm typing this from my desktop.

I'm reluctant to turn off the computer in case it happens again, and I'd like to just tear out the root of the problem.

Kubuntu boots to a black screen with the following error messages.

[    0.528611] EDD information not available.
[    0.530345] PM: Hibernation image not present or could not be loaded.
[    0.532079] md: Waiting for all devices to be available before autodetect
[    0.533721] md: If you don't use raid, use raid=noautodetect
[    0.535830] md: Autodetecting RAID arrays.
[    0.537468] md: Scanned 0 and added 0 devices.
[    0.539110] md: autorun ...
[    0.540769] md: ... autorun DONE.
[    0.542435] VFS: Cannot open root device "mapper/kubuntu--vg-root" or unknown-block(0,0): error -6
[    0.544121] Please append a correct "root=" boot option; here are the available partitions:
[    0.545812] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    0.547512] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.4.0-65-generic #86-Ubuntu
[    0.549222] Hardware name: LENOVO 80G0/Lancer 5A6, BIOS A7CN40WW 07/18/2014
[    0.550945]  0000000000000086 000000009b7de47d ffff88017a403de8 ffffffff813f8743
[    0.552706]  ffffffff81ca4618 ffff88017a403e80 ffff88017a403e70 ffffffff8118d367
[    0.554481]  ffff880100000010 ffff88017a403e80 ffff88017a403e18 000000009b7de47d
[    0.556229] Call Trace:
[    0.557931]  [<ffffffff813f8743>] dump_stack+0x63/0x90
[    0.559674]  [<ffffffff8118d367>] panic+0xd3/0x215
[    0.561400]  [<ffffffff81f5e576>] mount_block_root+0x201/0x294
[    0.563126]  [<ffffffff81f5e66e>] mount_root+0x65/0x68
[    0.564842]  [<ffffffff81f5e7ab>] prepare_namespace+0x13a/0x172
[    0.566557]  [<ffffffff81f5e21b>] kernel_init_freeable+0x1e9/0x212
[    0.568263]  [<ffffffff8182ff40>] ? rest_init+0x80/0x80
[    0.569959]  [<ffffffff8182ff4e>] kernel_init+0xe/0xe0
[    0.571625]  [<ffffffff8183ca0f>] ret_from_fork+0x3f/0x70
[    0.573263]  [<ffffffff8182ff40>] ? rest_init+0x80/0x80
[    0.574951] Kernel Offset: disabled
[    0.576541] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
Error-2: End Kernel Panic when booting https://askubuntu.com/questions/772404/error-2-end-kernel-panic-when-booting

After running sudo apt-get -f install command at terminal and downloaded about 351 MB of fixes, I restarted Ubuntu 16.04 OS, but after selecting "Ubuntu" From Windows Boot Menu (Default OS: Windows 10) and then selecting Ubuntu from the GRUB boot menu, screen hanged at purple-orange wallpaper - one which is shown in GRUB menu, something like this image of the GRUB boot menu and the Caps lock key was blinking continuously.

Grub Boot loader Menu

I restarted by holding power key for 5 seconds and then again selected Ubuntu from Windows Boot Loader and selected Advanced Options from the GRUB menu and then Recovery mode (I don't know what's written after that) and after in DOS-like screen after all the commands were loaded automatically, this error was shown:

End Kernel Panic - not synced Requested init/sbin/upstart failed (error-2)

Specs:

Manufacturer:            HP
Model:                   G72-b66US Notebook
Processor:               Intel Core i3 CPU M 370 @ 2.40GHz 2.40 GHz
Installed memory (RAM):  4.00 GB (3.80 GB usable)
System type:             64-bit Operating System, x64-based processor
Pen and Touch:           No Pen or Touch Input is available for this Display
How to configure RAID + 2 LVM volumes via preseed? https://askubuntu.com/questions/573108/how-to-configure-raid-2-lvm-volumes-via-preseed

Internally, we use Ubuntu (14.04 Trusty) on our workstations, and until now we've done all of our builds by hand, including the creation of RAID/LVM/LUKS-encrypted volumes. This doesn't scale, and I'm now working to automate some of our processes to reduce the amount of "hands on" involvement required to build a fresh workstation.

Our hard disk configuration is as follows:

  • /dev/sda & /dev/sdb are both 1Tb Hard Disks partitioned identically and RAIDed
    • 1Gb Partition with RAID 1 containing ext4 filesystem mounted as /boot
    • Remainder of drive RAID 1 containing a LVM PV/VG (vg_raid)
      • 8Gb LV for swap space
      • Remainder of space - LV containing ext4 filesystem mounted as /
  • /dev/sdc 128Gb SSD
    • Single partition containing a LVM PV/VG (vg_ssd)
    • Single LV using all available space containing an ext4 filesystem which is mounted at /ssd

Partitioned in this way we have a large, redundant, root filesystem for general data storage, and a smaller partition on which files which are I/O speed sensitive can be placed (e.g. MySQL databases).

I'm trying to replicate this in a partman expert_recipe with related configuration so that it can be created by the Ubuntu installer. My main issue is that there doesn't seem to be a (working?) mechanism in the partman recipe "language" to specify that a specific LV needs to be created in a specific colume group, and which LVM physical volumes are assigned to each volume group. I had an earlier version of this configuration working without trying to partition/format/mount any volumes on /dev/sdc, but as soon as the extra "non-RAID" drive is involved, I can't seem to express what I want in the partman recipe.

The relevant portion of my preseed.cfg file is as follows:

d-i partman-auto/disk string /dev/sda /dev/sdb /dev/sdc
d-i partman-auto/method string raid
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-md/device_remove_md boolean true
d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true
d-i partman-auto-lvm/new_vg_name string vg_raid vg_ssd
d-i partman-auto-lvm/guided_size string max
d-i partman-auto/expert_recipe string                              \
      boot-root ::                                                 \
              512 10 1024 raid                                     \
                      $primary{ } $lvmignore{ } $bootable{ }       \
                      method{ raid }                               \
                      device{ /dev/sda /dev/sdb }                  \
                      vg_name{ vg_raid }                           \
              .                                                    \
              4096 20 -1 raid                                      \
                      $primary{ } $lvmignore{ }                    \
                      method{ raid }                               \
                      device{ /dev/sda /dev/sdb }                  \
              .                                                    \
              2048 20 -1 lvm                                       \
                      $primary{ }                                  \
                      $defaultignore{ }                            \
                      method{ lvm }                                \
                      device{ /dev/sdc }                           \
                      vg_name{ vg_ssd }                            \
              .                                                    \
              8192 100 -1 ext4                                     \
                      $defaultignore $lvmok{ }                     \
                      in_vg{ vg_raid }                             \
                      lv_name{ lv_root }                           \
                      method{ format } format{ }                   \
                      use_filesystem{ } filesystem{ ext4 }         \
                      mountpoint{ / }                              \
                      device{ /dev/sda /dev/sdb }                  \
              .                                                    \
              4096 100 100% linux-swap                             \
                      $defaultignore $lvmok{ }                     \
                      in_vg{ vg_raid }                             \
                      lv_name{ lv_swap }                           \
                      method{ swap } format{ }                     \
                      device{ /dev/sda /dev/sdb }                  \
              .                                                    \
              2048 100 -1 ext4                                     \
                      $defaultignore $lvmok{ }                     \
                      method{ format } format{ }                   \
                      use_filesystem{ } filesystem{ ext4 }         \
                      device{ /dev/sdc }                           \
                      in_vg{ vg_ssd }                              \
                      lv_name{ lv_ssd }                            \
                      mountpoint{ /ssd }                           \
              .                                                    \
d-i partman-auto-raid/recipe string                              \
    1 2 0 ext4 /boot  /dev/sda1#/dev/sdb1                    .   \
    1 2 0 lvm  -      /dev/sda2#/dev/sdb2                    .
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman-lvm/confirm boolean true
d-i partman-md/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
d-i partman-md/confirm_nooverwrite boolean true
d-i partman-lvm/confirm_nooverwrite boolean true
d-i partman/mount_style select label

You'll note that I've tried to be quite specific about which partitions/volumes are to be placed on which disks, but partman doesn't seem to honor at least some of that configuration. I've also kept the minimum volume sizes fairly small while I test this configuration on a VM. When I run an install with this configuration onto a VirtualBox VM with smaller drives, the install fails with the error message:

Error while setting up RAID
An unexpected error occurred while setting up a preseeded RAID configuration.

Check /var/log/syslog or see virtual console 4 for the details.

The relevant section from syslog is as follows:

Jan 13 02:41:54 md-devices: mdadm: No arrays found in config file or automatically
Jan 13 02:41:54 partman:   No matching physical volumes found
Jan 13 02:41:54 partman:   Reading all physical volumes.  This may take a while...
Jan 13 02:41:54 partman:   
Jan 13 02:41:54 partman: No volume groups found
Jan 13 02:41:54 partman: 
Jan 13 02:41:54 partman-lvm:   
Jan 13 02:41:54 partman-lvm: No volume groups found
Jan 13 02:41:54 partman-lvm: 
Jan 13 02:41:56 partman-auto: Available disk space (4294) too small for expert recipe (4608); skipping
Jan 13 02:41:57 kernel: [   91.295036] Adding 2095100k swap on /dev/sdc5.  Priority:-1 extents:1 across:2095100k FS
Jan 13 02:41:57 partman: mke2fs 1.42.9 (4-Feb-2014)
Jan 13 02:41:57 apt-install: Queueing package mdadm for later installation
Jan 13 02:41:57 partman-auto-raid: Error: No recipe specified in partman-auto-raid/recipe

I suspect the line 4th from the bottom is most relevant, as you can see that partman has gone ahead and created swap space on /dev/sdc, which wasn't what I wanted.

I've tried a number of variations of how partitions are specified. I've Googled a lot for versions terms relating to partman recipes and preseed in general, and I can't find a canonical reference for the different configuration options in a recipe and why they're applicable. I've found a number of RAID examples, and many LVM examples, but nothing that mixes the two in the way I'm trying to use them. This thread from the debian-user mailing list suggests that what I want to do isn't possible, and that seem to track with my impression that the partman recipe language doesn't have the tools required to describe what I'm trying to acheive.

If anyone can point out what I'm doing wrong with my configuration, or even just some good reference materials on partman expert_recipe and the configuration language involved, that'd be most appreciated. At this point it looks like I can automate my entire install, except for the partitioning portion, which is really the main thing I wanted to automate!

Kernel panic error (Ubuntu) and Blue Screen of Death (Windows) https://askubuntu.com/questions/530277/kernel-panic-error-ubuntu-and-blue-screen-of-death-windows

Here are the specs for my desktop:

  • Ubuntu 14.04 and Windows 7
  • HP Pavilion p6000, AMD64

Here are the problem details:

  • Kernel panic error (Ubuntu) and Blue Screen of Death (Windows)
  • Computer doesn't start up at all sometimes (it powers on but does not boot).
  • Standby sometimes doesn't awake.
  • Keyboard and mouse freeze.
  • I get a black screen at boot time with the following boot messages.
[   25.646903] task: ffff8800b6f96000 ti: ffff8800bdcca000 task.ti: ffff8800bdcca000
[   25.646910] RIP: 0010:[<ffffffff81185272>]  [<ffffffff81185272>] unlink_anon_vmas+0x52/0x1b0
[   25.646911] RSP: 0018:ffff8800bdccbd38  EFLAGS: 00010287
[   25.646911] RAX: 0000000000000000 RBX: ffff8800bbafbc00 RCX: 0000000000000000
[   25.646912] RDX: 00003461000236a2 RSI: ffff880012548230 RDI: ffff880012548200
[   25.646913] RBP: ffff8800bdccbd60 R08: 00007f5e32ec0000 R09: ffff8800b6b538a1
[   25.646913] R10: ffff880012548220 R11: ffffea00033ef7c0 R12: 00003461000236a2
[   25.646914] R13: ffff880012548230 R14: ffff8800125480e8 R15: 00174e0000000000
[   25.646915] FS:  00007f5e35635840(0000) GS:ffff88012f400000(0000) knlGS:0000000000000000
[   25.646916] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   25.646916] CR2: 00007f5e34464c20 CR3: 00000000b67e5000 CR4: 00000000000007e0
[   25.646918] Stack:
[   25.646923]  ffff8800b651cb00 ffff8800b651c338 ffff8800b651cc00 00007f5e32ec0000
[   25.646924]  0000000000000000 ffff8800bdccbe90 ffff8800b651cc00 000000000bdebc00
[   25.646925]  00007f5e31f25d50 0000000000000000 ffff8800bdccbd78 ffffffff81175418
[   25.646926] Call Trace:
[   25.646931]  [<ffffffff81175418>] free_pgtables+0xa8/0x120
[   25.646933]  [<ffffffff8118067b>] exit_mmap+0xcb/0x170
[   25.646935]  [<ffffffff8106482c>] mmput+0x5c/0x120
[   25.646936]  [<ffffffff81069c7c>] do_exit+0x2bc/0xa50
[   25.646938]  [<ffffffff8106a48f>] do_group_exit+0x3f/0xa0
[   25.646939]  [<ffffffff8106a504>] SyS_exit_group+0x14/0x20
[   25.646941]  [<ffffffff8172efad>] system_call_fastpath+0x1a/0x1f
[   25.646942] Code: 48 8d 4b 10 48 39 c1 48 8d 50 f0 4c 8d 66 f0 0f 84 21 01 00 00 45 31 ed eb 0c 66 0f 1f 44 00 00 4c 89 e2 49 89 d4 4c 8b 7b 08 <4d> 8b 37 4d 39 f5 74 15 4d 8
[   25.646957] RIP  [<ffffffff81185272>] unlink_anon_vmas+0x52/0x1b0
[   25.646958]  RSP <ffff8800bdccbd38>
[   25.646960] ---[ end trace 5fb86019f1cacbf7 ]---
[   25.646961] Fixing recursive fault but reboot is needed!
[   25.650357] BUG: Bad rss-counter state mm:ffff8800b67e5300 idx:1 val:2
[   25.958505] ------------[ cut here ]------------
[   25.958353] WARNING: CPU: 1 PID: 1480 at /build/buildd/linux-3.13.0/mm/mmap.c:2736 exit_mmap+0x16b/0x170()
[   25.958983] Modules linked in: hmep rfcomm bluetooth binfmt_misc snd_hda_codec_hdmi snd_seq_midi snd_seq_midi_event snd_rawmidi snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_page_alloc snd_timer ttm drm_kms_helper smi drm soundcore i2c_algo_bit mac_hid parport_pc ppdev lp parport hid_generic usbhid hid usb_storage psmouse ahci r8169 libahci mii
[   25.963875] CPU: 1 PID: 1480 Comm: apport Tainted: G      D      3.13.0-35-generic #63-Ubuntu
[   25.965265] Hardware name: Hewlett-Packard p6655nl/2A99, BIOS 6.10 05/07/2010
[   25.966660]  0000000000000000 ffff8800bdccbc60 ffffffff8171e569 0000000000000000
[   25.968064]  ffff8800bdccbc98 ffffffff8106733a ffff8800b651cc00 0000000000000000
[   25.969464]  ffff8800b651cc00 00007f5e32ec0000 ffff8800bdccbca8 ffffffff8106744c
[   25.970864] Call Trace:
[   25.972256]  [<ffffffff8171e569>] dump_stack+0x45/0x56
[   25.973667]  [<ffffffff8106733a>] warn_slowpath_common+0x7a/0xa0
[   25.975141]  [<ffffffff8106744c>] warn_slowpath_null+0x1c/0x20
[   25.976540]  [<ffffffff8118071b>] exit_mmap+0x16b/0x170
[   25.977941]  [<ffffffff8106482c>] mmput+0x5c/0x120
[   25.979343]  [<ffffffff811c3a6b>] flush_old_exec+0x41b/0x6b0
[   25.980752]  [<ffffffff81214618>] load_elf_binary+0x318/0x10b0
[   25.982161]  [<ffffffff811c3213>] km_get_action+0x23/0x30
[   25.983563]  [<ffffffff81341e12>] process_measurement+0x1a2/0x2c0
[   25.984966]  [<ffffffff811c35ff>] search_binary_handler+0xdf/0x2b0
[   25.986327]  [<ffffffff811c47a3>] do_execve_common.isra.22+0x5a7/0x7c0
[   25.987647]  [<ffffffff811c4c16>] SyS_execve+0x36/0x50
[   25.988919]  [<ffffffff8172f599>] stub_execve+0x69/0xa0
[   25.990164] ---[ end trace 5fb86019f1cacbf8 ]---
Installing Ubuntu on an Asus Vivotab Smart Windows 8 32-bit processor tablet https://askubuntu.com/questions/296543/installing-ubuntu-on-an-asus-vivotab-smart-windows-8-32-bit-processor-tablet

Good day,

I just got an Asus Vivotab Smart with Windows 8 but the processor is actually a 32-bit type. I am kinda confused with the Ubuntu version to install (32-bit or 64-bit). I have read all the tips and guidelines on installing Ubuntu on a Windows 8 machine.

I have disabled fast boot, quiet boot, secure boot, and still cannot boot from the usb. I tried this with Ubuntu 12.04.2, 12.10, and 13.04 (the 64-bit versions only). I am yet to try a 32-bit version but I'm reluctant since Canonical says only the 64-bit version was developed to handle the Windows 8 UEFI issues.

Also, I have a boot-override field in my UEFI options which I think force-boots from the boot option one selects. I selected to force-boot from my pendrive containing Ubuntu, but the screen just blinks momentarily and nothing happens.

Please help me to figure out how to load ubuntu on my machine. I don't really want the Windows 8......just Ubuntu on my tablet.

Thank you.