Printer hangs, especially from Chrome https://askubuntu.com/questions/1563405/printer-hangs-especially-from-chrome

I am running Ubuntu 25.10 on Wayland as the only OS on my laptop and have recently been having problems wih my HP-Envy-4500 printer. Both the printer and laptop are on the same WLAN and use CUPS but recently (maybe since upgrading from 25.04 to 25.10, I'm not sure) when I try and print something from Chrome, pdf, weppage, anything the printer hangs with the message "no connection to printer" or something similar apearing every 10 seconds. If I need the hard copy I have to restart Ubuntu and it prints out. This happens mostly with Chrome but it has also occurred with other applications. Does anyone have any idea of what might be happening?

Startup script only runs half the commands https://askubuntu.com/questions/1563404/startup-script-only-runs-half-the-commands

I wrote a short script that runs whenever my server restarts, however, the client tmux session is active after the server boots, but the api tmux session is not.

I'm using the following script

#!/bin/bash
#
#
# Start api
tmux new -s api -d 'cd ~/maconet-portal && source venv/bin/activate && cd RoffelBackendPOC && uvicorn app.main:app --host 0.0.0.0 --port 8000' &

# Start client
tmux new -s client -d 'cd ~/maconet-portal/roffel-portal && sudo serve -s build -l 80' &

As far as I understand it this should first start a new tmux session which eventually runs uvicorn to boot up the api, and also create a new tmux session for the client and serve it.

Running the script manually correctly boots both tmux sessions

Is there something I'm missing?

My desk top displays ubuntu mate screen, I cannot close the program. Shut down in right corner,when I restart the desk top the ubuntu screen comesupt [closed] https://askubuntu.com/questions/1563399/my-desk-top-displays-ubuntu-mate-screen-i-cannot-close-the-program-shut-down-i

How do I close down Ubuntu. Why has ubuntu ptogramme been displayed. The desk top has been working normally until now. The ubuntu Mate screen is displayed when I open my desk top. The screen display has drop down box for guest, user name and other and asks for password. I do not know my user name or password. If I select the power button top right hand corner of screen shut down closes dedk top. When desk top turned on the ubuntu screen is displayed again. How do I close ubuntu? Why has the ubuntu screen been dusplayed?

Switching to Ubuntu soon, will my RAID array work? https://askubuntu.com/questions/1563395/switching-to-ubuntu-soon-will-my-raid-array-work

Very fresh Linux Noob and I have a question before switching to Ubuntu. I have a system that currently runs Windows 11 with an M.2 as the boot drive and 3 HDD's set up in RAID 5. I would like the M.2 to run Ubuntu only and NOT dual boot. The RAID was set up in Windows through their software. I would like to install Unbuntu on my M.2 and continue to use the HDD"s in RAID 5. To access these HDD's, will this require additional steps/ software? Are there steps I should take before installing Ubuntu?

Any guidance would be much appreciated

Problem with hibernation (broken usb port) https://askubuntu.com/questions/1563394/problem-with-hibernation-broken-usb-port

When going into suspend/hibernation I had the problem that my usb driver blocked these actions, so I used the following script

#!/bin/sh
# Disable Intel Comet Lake xHCI before suspend/hibernate
# and re-enable it after resume

XHCI_DEV="0000:00:14.0"
XHCI_DRIVER="/sys/bus/pci/drivers/xhci_hcd"

case "$1" in
   pre)
       # Unbind xHCI -> cuts power to USB 1/2/3
       if [ -e "/sys/bus/pci/devices/$XHCI_DEV/driver/unbind" ]; then
           echo "$XHCI_DEV" > /sys/bus/pci/devices/$XHCI_DEV/driver/unbind 2>/dev/null || true
       fi
       ;;
   post)
       # Rebind xHCI after resume
       if [ -e "$XHCI_DRIVER/bind" ]; then
           echo "$XHCI_DEV" > "$XHCI_DRIVER/bind" 2>/dev/null || true
       fi
       ;;
esac

exit 0

This worked for suspend and got it to go to s2idle. However deep sleep still gave me issues and I want to go into hibernation anyway. When going into hibernation and starting up again, nothing was saved and the logs showed:

[    2.849324] PM: Loading and decompressing image data (1217799 pages)...
[    2.860871] PM: Image loading progress:   0%
[    4.327499] PM: Image loading progress:  10%
[    4.788957] PM: Image loading progress:  20%
[    5.270668] PM: Image loading progress:  30%
[    5.726096] PM: Image loading progress:  40%
[    6.201641] PM: Image loading progress:  50%
[    6.538924] PM: Image loading progress:  60%
[    6.999680] PM: Image loading progress:  70%
[    7.456997] PM: Image loading progress:  80%
[    7.908540] PM: Image loading progress:  90%
[    8.275373] PM: Image loading progress: 100%
[    8.275510] PM: Image loading done
[    8.275515] PM: hibernation: Read 4871196 kbytes in 5.42 seconds (898.74 MB/s)
[    8.276756] PM: Image successfully loaded
[    8.281512] usb usb1: PM: dpm_run_callback(): usb_dev_freeze returns -16
[    8.281524] usb usb1: PM: failed to quiesce async: error -16
[    8.356118] PM: hibernation: Failed to load image, recovering.
[    8.626971] PM: hibernation: Basic memory bitmaps freed
[    8.627489] PM: hibernation: resume failed (-16)

Does anyone know how to fix this?

P.S. I have a lenovo ideapad s540 13IML, and I can´t cut power to the broken usb port from bios. But the broken usb also doesnt list in ubuntu.

Why does my Canon 5D connect on Debian but not Ubuntu https://askubuntu.com/questions/1563366/why-does-my-canon-5d-connect-on-debian-but-not-ubuntu

I’m not sure what the differences are but my Canon 5D (original) is recognized no problem on a Debian Bookworm machine when I plug in via USB. But on multiple Ubuntu 24.04 machines it shows no sign of being detected. The USB connection is not being detected at all as lsusb show nothing when it is plugged in.

Has anyone experienced and fixed this? My searching has only found web cam problems and fixes on 24.04 but they don’t seems to apply to the Canon.

I tether in darktable so a card reader is not a solution.

Edit

  1. @ThomasWard is correct. My current Debian computer is fine. None of the 3 computers running Ubuntu 24.04 can detect it. One is laptop that was on 18.04 used the camera fine. After I updated it to 24.04 it quit working. This is when I was suspicious it was the OS and tested it on the other 2 computers. Something must be missing in 24.04

  2. ChanganAuto dmesg after:

    plugging in on Debian:

[15160.299141] usb 3-1: new high-speed USB device number 12 using xhci_hcd
[15160.444056] usb 3-1: New USB device found, idVendor=04a9, idProduct=3101, bcdDevice= 0.01
[15160.444059] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[15160.444061] usb 3-1: Product: Canon Digital Camera
[15160.444062] usb 3-1: Manufacturer: Canon Inc.

after plugging in Ubuntu:

[   60.622104] usb 1-2: new low-speed USB device number 2 using xhci_hcd
[   60.743215] usb 1-2: device descriptor read/64, error -71
[   60.968236] usb 1-2: device descriptor read/64, error -71
[   61.183146] usb 1-2: new low-speed USB device number 3 using xhci_hcd
[   61.305213] usb 1-2: device descriptor read/64, error -71
[   61.528249] usb 1-2: device descriptor read/64, error -71
[   61.631320] usb usb1-port2: attempt power cycle
Ubuntu 24.04 with Nvidia driver is not working https://askubuntu.com/questions/1526419/ubuntu-24-04-with-nvidia-driver-is-not-working

After upgrading to Ubuntu 24.04, my external monitor stopped working. I have an NVIDIA graphics card, the NVIDIA GeForce RTX 3060, and I installed NVIDIA driver version 560.35.03. My output from the nvidia-smi command is shown.

enter image description here

I have tried multiple versions of drivers (535, 550, 555, and 470), but nothing works.

I tried completely removing the NVIDIA driver multiple times with sudo apt-get remove --purge *nvidia* and reinstalling it with a clean installation.

My kernel version is updated to 6.8.0-44-generic.

Secure boot is DISABLED too.

prime-select is set to the nvidia option.

When I run the command for Ubuntu drivers, I get the output: udevadm hwdb is deprecated. Use systemd-hwdb instead., however all drivers show up afterwards. This message appears x times, where x equals the number of available NVIDIA drivers.


output for xrand --listproviders is below

$ xrandr --listproviders

Providers: number : 1

Provider 0: id: 0x45 cap: 0x9, Source Output, Sink Offload crtcs: 4 outputs: 3 associated providers: 0 name:modesetting

public key is not available: NO_PUBKEY https://askubuntu.com/questions/1515885/public-key-is-not-available-no-pubkey

I am running UBUNTU 23.04 and trying to update it in order to upgrade tot 24.04lts. During the process I get several times the below mentioned error message. The upgrade is then aborted. Why do I get this error message and what can I do about it ? The error message :

The following signatures couldn't be verified because the public key
is not available: NO_PUBKEY 24A1004B1F11DCC9

The process aborts and then the next error message is displayed:

A problem occurred during the update. This is usually some sort of 
network problem, please check your network connection and retry.

The number at the end of the message is always the same. I tried this:

sudo apt-key adv --keyserver keyserver.quickbuild.pearsoncomputing.net --recv-keys 24A1004B1F11DCC9

With as result: gpg: keyserver receive failed: No data

What can I try more?

Play midi from Linux with old synths https://askubuntu.com/questions/1498306/play-midi-from-linux-with-old-synths

I have an Ubuntu Linux Laptop with USB ports.

I have an old Yamaha Sy22 from the 90's

I just want to edit music via a sequencer and play the music via the synth. No sound card or whatever alike. I just want my synth play notes.

The synth output will be sent to a Zoom R20.

What software/driver I need on the laptop? (Ubuntu 20.04).

What sequencer to install?

What hardware converter can I buy to connect midi cable to USB port.

Thank you

How to get media information in Dolphin? https://askubuntu.com/questions/1465241/how-to-get-media-information-in-dolphin

I can select media information entries to display in details view, but the listed columns are empty.

Width, height, duration, or any other information for pictures, sound-files or videos can't be displayed.

How can I get the correct media informations in dolphin?

System information:

Dolphin 21.12.3

Operating System: Ubuntu Studio 22.04
KDE Plasma Version: 5.24.7
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.15.0-70-lowlatency (64-bit)
Graphics Platform: X11
Processors: 16 × 13th Gen Intel® Core™ i7-13700K
Memory: 62.6 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3060/PCIe/SSE2

Additional Informations:

  • File Search has been disabled in system settings, no index exists. (I've tried with it enabled and full index too ...)
  • "kid3" is installed.
  • It does not make any difference, wether its on a NTFS, ext4, FAT32, smb or any other file system.

Dolphin shows:
Dolphin view

A view to the information panel on the right side shows the correct data. So the information is available for dolphin.


Just to clarify the question, wether indexing has to be enabled, or not:

With indexing enabled (including content): Indexing enabled with content

On my system, Dolphin does NOT show Width and Duration in its columns, but still in the preview. The display according to the first picture above has not been changed.

The pictures show also, that the path for the displayed movies and images are within the indexed path.

There must be some other settings or configurations, to get it working, but out-of-the-box it does not work on Ubundu Studio 22.04 LTS.

Ubuntu 22.04 - No Sound via HDMI / DisplayPort https://askubuntu.com/questions/1409791/ubuntu-22-04-no-sound-via-hdmi-displayport

As per the title, I get no sound following a fresh install of 22.04. In another partition I have Zorin OS 16 and it works just fine. I followed the instructions in this post HDMI Audio Issue Ubuntu 22.04 but it didn't work. Any help would be much appreciated. Also I am most definitely a noob. I have enough knowledge to move away from Windows & install the os, follow instructions etc. but am at loss when it comes to troubleshooting.

Can I extend the root partition with adjacent unallocated space? https://askubuntu.com/questions/1384723/can-i-extend-the-root-partition-with-adjacent-unallocated-space

I'm new to Ubuntu and have chosen this distro to be my daily driver. I have installed Ubuntu 20.04 on a 256 GB SSD. It was pretty much a default installation with just the boot and root partitions.

I made a backup of this installation to a disk image on an external USB SSD drive using Clonezilla.

I have now replaced the computer's internal 256GB SSD drive with a 512GB SSD one and have successfully restored the Clonezilla backup image to the new disk. However, the additional disk space now available is not included in the root partition (it seems Clonezilla has restored the partitions with their original size and left the extra 256GB space as "unallocated" on the disk). Everything in Ubuntu still works fine though, just as it did before.

This is what my disk looks like now:

gparted screenshot

I want to extend the root partition using the available (and adjacent) unallocated space in the new disk. I have tried booting from a live USB drive and using GParted to extend the root partition on the 512GB SSD, but it does not allow me to increase it. How can I put the unallocated space to use? I want it all in the root partition.

I researched this issue here before posting this question, but I could not find a scenario similar to mine. I'm coming from decades of using Windows and I'm not too savvy when it comes to Linux.

Is what I'm trying to do even possible? Am I misunderstanding some basic concept?

Opening google-chrome from commandline with a specific window size https://askubuntu.com/questions/1380001/opening-google-chrome-from-commandline-with-a-specific-window-size

When I run the following command: nohup google-chrome-stable --incognito --window-size="770,570" index.html /dev/null &

it works when there is no chrome window opened already. Otherwise it opens with the same window size as the old one.

How can I fix this?

I wrote a function in my bashrc so that I can create an html directory and edit the files inside effciently. The code is part of that function.

I am using Ubuntu 20.04 and the version of bash thereof.

Issue with customizing grub in Ubuntu 20.04.3 https://askubuntu.com/questions/1377353/issue-with-customizing-grub-in-ubuntu-20-04-3

Im facing some issues while trying to add rootdelay=60 option in grub cmdline options by editing file /etc/default/grub where

GRUB_CMDLINE_LINUX_DEFAULT="rootdelay=300"

update-grub
update-initramfs -u

however i do not observe any delay when the server is rebooted and the root filesystem mounts right away

i can see that the rootdelay=300 is present in cat /proc/cmdline too, any clue whats missing here ?

Cannot boot Ubuntu in UEFI mode https://askubuntu.com/questions/1364249/cannot-boot-ubuntu-in-uefi-mode

I am trying to install Ubuntu in UEFI mode in my laptop. I have downloaded the ISO file of Ubuntu and used Rufus to create a bootable drive with MBR or GPT option. When I tried to boot into the USB, all I am left is with the Grub Rescue terminal.

                            GNU GRUB  version 2.04

 Minimal BASH-like line editing is supported. For the first word, TAB
 lists possible command completions. Anywhere else TAB lists possible
 device or file completions.


grub> insmod
error: one argument expected.
grub> ls
(memdisk) (hd0) (hd0,gpt5) (hd0,gpt4) (hd0,gpt3) (hd0,gpt2) (hd0,gpt1) (hd1)
(hd1,msdos1)
grub> set root=(hd1,msdos1)
grub> set prefix=(hd1,msdos1)/boot/grub
grub> insmod linux
grub> insmod normal
grub> normal
error: can't find command '????????????????????'.
grub> _

I have even tried to load it manually, but it didn't help.

Ubuntu 20.04 no sound on desktop dual boot alongside Windows 10 https://askubuntu.com/questions/1317731/ubuntu-20-04-no-sound-on-desktop-dual-boot-alongside-windows-10

I am new at Ubuntu. I installed Ubuntu 20.04 alongside Windows 10 by following this video. After opening Ubuntu I realized I did not have any sound. I tried many ways but I couldn't fix it.

This is the Pulse Audio Volume Control Playback:

enter image description here

Output devices:

enter image description here

Configuration:

configuration

This is my lspci output.

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 05)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) (rev 05)
00:14.0 USB controller: Intel Corporation 200 Series/Z370 Chipset Family USB 3.0 xHCI Controller
00:16.0 Communication controller: Intel Corporation 200 Series PCH CSME HECI #1
00:17.0 SATA controller: Intel Corporation 200 Series PCH SATA controller [AHCI mode]
00:1c.0 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #5 (rev f0)
00:1c.6 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #7 (rev f0)
00:1c.7 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #8 (rev f0)
00:1d.0 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #9 (rev f0)
00:1f.0 ISA bridge: Intel Corporation 200 Series PCH LPC Controller (B250)
00:1f.2 Memory controller: Intel Corporation 200 Series/Z370 Chipset Family Power Management Controller
00:1f.3 Audio device: Intel Corporation 200 Series PCH HD Audio
00:1f.4 SMBus: Intel Corporation 200 Series/Z370 Chipset Family SMBus Controller
01:00.0 VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GP107GL High Definition Audio Controller (rev a1)
03:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge (rev 04)
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)

How can I solve this problem?

Updated Ubuntu after reboot doesn't work properly. Using Ubuntu 20.04 https://askubuntu.com/questions/1301353/updated-ubuntu-after-reboot-doesnt-work-properly-using-ubuntu-20-04

A few notes before I explain the issue:

  • Using Ubuntu 20.04 for a couple of months now. I had no issues with updating.
  • I'm a novice at using Linux based OS, so pardon my bad terminology.
  • I'm using dual boot with Win10, dual boot has worked fine and still is.
  • Win10 works perfectly and I haven't noticed any issues regarding it.

I updated from 0-53 to 0-58 then after I restarted the system it doesn't function properly. When I boot into it I noticed several things:

  • there is no internet, I tried using the LAN cable but nothing happens
  • sudo command doesn't work in terminal, just frezees and doesn't prompt for password
  • to get into settings it takes a while, also some programs won't even open, like Brave browser

Whilst it was updating, I was working in VIM it just crashed mid-update and told me it terminated Docker, after the update finished I continued working in VIM like everything was normal.

Before I rebooted the system I had installed Dash to Dock which I uninstalled some time ago when it made my dock stuck to the bottom part of the screen. Now I tried to fix that but it just made me have two docks and the expansion crashed, after that I rebooted and found out my system was in a complete disaster.

Also, while in Grub menu in Advanced options for Ubuntu there is an older version (5.4.0-53-generic) which works just fine as far as I can tell.

I tried fixing broken packages in Recovery mode for the updated version, but it doesn't help.

Here's a screenshot of the contents of my boot/ directory, I thought it might help since I saw somewhere that this issue could be resolved, perhaps, by removing the new version and going back to the old one.

Contets of boot/ directory

Boot partition missing? Can't boot into Ubuntu anymore. Does it have to do with GRUB or Boot partition or similar? https://askubuntu.com/questions/1296817/boot-partition-missing-cant-boot-into-ubuntu-anymore-does-it-have-to-do-with

So I had a Dual-Boot system. Then I deleted Windows and also decided to use a software called DBAN which erases everything that it can on your hard drive. So I did that (picked the option "Quick erase" which makes the values to a 0).

Then I installed Ubuntu 20.10 and it worked. But 2 days later I couldn't boot into Ubuntu anymore. I tried to reinstall it with a flash drive, didn't worked. Tried to change the priority for booting in the BIOS, didn't worked. Tried to install Ubuntu and then use Boot-Repair, but that didn't helped either. I can remember that it did had an effect, but Ubuntu was still unusable.

I looked at my partitions and found that the swap and boot partitions aren't there anymore. I'm a noob when it comes to Ubuntu and partitions but I remember that if you would manually install Ubuntu you would make a /swap and /boot partition (and a /home partition or something). But I don't know how that exactly works, I mean when I installed Ubuntu the first time after using DBAN it worked...but then it didn't. Here is a screenshot of GParted, only Ubuntu 20.10 installed. Maybe you guys know what's missing and how to fix it

Here is a Screenshot of Gparted, only Ubuntu 20.10 installed. Maybe you guys know what's missing and how to fix it

Could anyone please help me? Is there something missing? I now think that it has to be the boot partition because when I try to boot my laptop, it only turns on and off the screen like when you don't have an OS installed, however when I try to install Ubuntu again it says that I already have Ubuntu so it must be that my laptop doesn't find the /boot, right? But I've also read that Ubuntu doesn't make an extra boot partition anymore since Ubuntu 11 I believe, so I'm clue less now.

Recovering a corrupt LVM partition https://askubuntu.com/questions/1097743/recovering-a-corrupt-lvm-partition

I seem to have corrupted my primary LVM partition [1] which contains root and swap partitions.

$ sudo fdisk -l /dev/sdb
Disk /dev/sdb: 223.6 GiB, 240057409536 bytes, 468862128 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00025e8d

Device     Boot    Start       End   Sectors  Size Id Type
/dev/sdb1  *        2048   2099199   2097152    1G 83 Linux
/dev/sdb2       39051264 468862127 429810864  205G  5 Extended
/dev/sdb5       39053312 468860927 429807616  205G 8e Linux LVM

gparted says this about /dev/sdb5:

Unable to detect file system! Possible reasons are:
- The file system is damaged
- The file system is unknown to GParted
- There is no file system available (unformatted)
- The device entry /dev/sdb5 is missing

The system doesn't seem able to find the LVM partitions at all:

$ sudo vgchange -ay ubuntu-vg
  Volume group "ubuntu-vg" not found
  Cannot process volume group ubuntu-vg
$ sudo lvscan -av
    Using logical volume(s) on command line.
    No volume groups found.

How can I go about fixing /dev/sdb5?

I'm currently running gpart on /dev/sdb to see if that helps. fsck doesn't work:

$ sudo fsck /dev/sdb5
fsck from util-linux 2.27.1
e2fsck 1.42.13 (17-May-2015)
ext2fs_open2: Bad magic number in super-block
fsck.ext2: Superblock invalid, trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/sdb5

The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem.  If the device is valid and it really contains an ext2/ext3/ext4
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>
 or
    e2fsck -b 32768 <device>

I believe the original filesystem on /dev/sdb5 was "lvm2 pv", and I have the option to format /dev/sdb5 as that via gparted, but before I make things worse, I thought I would ask here.

[1]: I was adding extra space to my boot partition when I corrputed this. I was following directions here, here, and here. This is roughly the order I did things in (to the best of my memory)

  • I reduced ubuntu-vg/root by a couple GBs to free up some space
  • I tried to pvmove ubuntu-vg/swap, but it complained about not having enough space
  • I reduced ubuntu-vg/root some more
  • I p4moved ubuntu-vg/swap to push the unallocated space to the end of /dev/sdb2
  • I used KDE Partition Manager to move /dev/sdb5 to the end of /dev/sdb2, so that the unallocated space is at the beginning of /dev/sdb2
    • I tried to have KDE partition manager then shrink /dev/sdb2 to free up the unallocated space for /dev/sdb1, but it errored out on that operation. I opened gparted, and it told me to reboot, so I did
  • I opened gparted, and shrunk /dev/sdb2 and grew /dev/sdb1. This is when I noticed that had an error on /dev/sdb5
Unable to boot 18.04 on HDD after fresh install https://askubuntu.com/questions/1084298/unable-to-boot-18-04-on-hdd-after-fresh-install

Laptop was previously a Win10 system, Intel Core i5, 8GB RAM, 1TB HDD.

Created a bootable USB key to install Ubuntu 18.04 (no dual boot) and after going through the whole process my expectation was that a simple reboot of the hardware would boot into Ubuntu. I have done this before with different hardware using Ubuntu 16.04.

Result of reboot was a message from the system telling that no boot device could be found.

What am I missing?

Lubuntu Linksys WUSB6400M Wifi USB adapter driver help https://askubuntu.com/questions/1041126/lubuntu-linksys-wusb6400m-wifi-usb-adapter-driver-help

My [Linksys WUSB6400M] Wifi USB adapter for my desktop won't connect to wifi because I suspect it needs driver installation. When I type lusb into the terminal, it shows Bus 008 Device 003: ID 13b1:0043 Linksys. I plan to connect an Ethernet cable and try methods I found on the internet such as installing B43 firmware and installing the driver for a Linksys WUSB6300 since the two models sound similar. Does anyone have any suggestions or know how to install the correct driver for my 6400M so I can connect to wifi. Also I'm running Lubuntu 18.04

1st Edit: Well, I've tried both of those methods and they didn't work

2nd Edit: I'm convinced the drivers don't exist and have given up.

Boot failure after GRUB failure with no prompt (version 2.02~beta3-4ubuntu7.2) and Ubuntu reinstall https://askubuntu.com/questions/1013102/boot-failure-after-grub-failure-with-no-prompt-version-2-02beta3-4ubuntu7-2-a

I have a computer with a Ubuntu+Windows dual boot which has been working fine for years, but turning it on today GRUB is frozen and nothing I can try will change it. I have no prompt, and my keyboard doesn't seem to do anything. See the attached picture I have taken of my screen.

enter image description here

I have tried going through my UEFI setup and booting directly to Ubuntu, but what that gives me is the black screen you can see on my picture in full screen, with still no way of interacting with my computer. Doing that, I can boot to Windows just fine (selecting Windows Boot Manager from the list in my UEFI).

The only thing I can think of I did recently that might have done something to GRUB was updating the software on my computer (sudo apt-get update and sudo apt-get upgrade), and cleaning up the old OS versions with sudo apt autoremove (my computer told me a while ago that my boot partition had little space left, that's when I found out that I needed to use apt autoremove from time to time to clean that up).

Either way, after that, my laptop battery died while I was writing this post and it wouldn't reboot (I'll ask another question for that soon), so I figure I would try to simply reinstall Ubuntu from a bootable USB to hopefully fix the issue (the option that reinstalls the OS without erasing any of the personal data). I did that, and in the end of the reinstall it just told me something about some apps being broken and that I would need to reinstall them by hand. So I finished the install, but my computer wouldn't turn off and stopped on a black screen.

Shutdown failure after reinstall:

[    0.000000] [Firmware Bug]: TSC_DEADLINE disabled due to Errata; please updat
e microcode to version: 0x3a (or later)
[    0.072000] mce: [Hardware Error]: CPU 0: Machine Check: 0 Bank 17: ee2000000
004017a
[    0.072000] mce: [Hardware Error]: TSC 0 ADDR 5f000000 MISC 4f00031e0000086
[    0.072000] mce: [Hardware Error]: PROCESSOR 0:306f2 TIME 1520465609 SOCKET 0
 APIC 0 microcode 29
[    0.072000] mce: [Hardware Error]: CPU 0: Machine Check: 0 Bank 18: ee2000000
004017a
[    0.072000] mce: [Hardware Error]: TSC 0 ADDR 5f100000 MISC 44f00031e0000086
[    0.072000] mce: [Hardware Error]: PROCESSOR 0:306f2 TIME 1520465609 SOCKET 0
 APIC 0 microcode 29
[    0.072000] mce: [Hardware Error]: CPU 0: Machine Check: 0 Bank 19: ee2000000
004017a
[    0.072000] mce: [Hardware Error]: TSC 0 ADDR 5f100080 MISC 84f00031e0000086
[    0.072000] mce: [Hardware Error]: PROCESSOR 0:306f2 TIME 1520465609 SOCKET 0
 APIC 0 microcode 29
[    6.812447] print_req_error: I/O error, dev sr0, sector 8093184
[    6.860462] print_req_error: I/O error, dev sr0, sector 8093184
[    6.860466] Buffer I/O error on dev sr0, logical block 1011648, async page read
[    7.375649] sd 6:0:0:0: [sdc] No Caching mode page found
[    7.375653] sd 6:0:0:0: [sdc] Assuming drive cache: write through
[    8.164565] print_req_error: I/O error, dev sr0, sector 8093184
[    8.212563] print_req_error: I/O error, dev sr0, sector 8093184
[    8.212568] Buffer I/O error on dev sr0, logical block 1011648, async page read
[  700.334237] print_req_error: I/O error, dev sr0, sector 8093184
[  700.386411] print_req_error: I/O error, dev sr0, sector 8093184
[  700.386431] Buffer I/O error on dev sr0, logical block 1011648, async page read
[  702.542138] print_req_error: I/O error, dev sr0, sector 8093184
[  702.594063] print_req_error: I/O error, dev sr0, sector 8093184
[  702.594088] Buffer I/O error on dev sr0, logical block 1011648, async page read
[  703.797989] print_req_error: I/O error, dev sr0, sector 8093184
[  703.845956] print_req_error: I/O error, dev sr0, sector 8093184
[  703.845972] Buffer I/O error on dev sr0, logical block 1011648, async page read

I know that forcing it to stop wasn't a good idea but I had little choice, and when I tried starting it again this morning it would just stop on the Ubuntu loading page, without even giving me a GRUB menu offering different boot options.

My question is how much did I break my computer, and is there anything I can do to fix it without wiping out all my personal data?

Ubuntu server crashes on boot "end trace 3b4c21cd8473b17e" [duplicate] https://askubuntu.com/questions/985050/ubuntu-server-crashes-on-boot-end-trace-3b4c21cd8473b17e

System info:

  • Ubuntu 14.04
  • Software RAID, no separate drive for OS

This is where the system crashes:

[    1.462875]    0830          976762584 sdd  driver: sd
[    1.464088]    0831             975872 sdd1 000af7a5-01
[    1.465280]    0832             975872 sdd2 000af7a5-02
[    1.466463]    0800          976762584 sda  driver: sd
[    1.467638]    0801             975872 sda1 0002410b-01
[    1.468816]    0802          975784960 sda2 0002410b-02
[    1.469970]    0820          976762584 sdc  driver: sd
[    1.471119]    0821             975872 sdc1 0009f7eb-01
[    1.472261]    0822          975784960 sdc2 0009f7eb-02
[    1.473379] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    1.474517] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 3.13.0-135-generic #184-Ubuntu
[    1.475657] Hardware name: System manufacturer P5E-VM DO/P5E-VM DO, BIOS 0702    03/31/2008
[    1.476259]  0000000000000000 ffff880129abddf0 ffffffff8172d959 ffffffff81a3f650
[    1.476259]  0000000000000001 ffff880129abd668 ffffffff81726776 3232383000000010
[    1.476259]  ffff880129abde78 ffff880129abde18 ffffffff0032636473 ffff880129abde88
[    1.476259] Call Trace:
[    1.476259]  [<ffffffff8172d959>] dump_stack+0x64/0x82
[    1.476259]  [<ffffffff81726776>] panic+0xc8/0x1e1
[    1.476259]  [<ffffffff81d35452>] mount_block_root+0x225/0x2b0
[    1.476259]  [<ffffffff81d3567a>] mount_root+0x53/0x56
[    1.476259]  [<ffffffff81d357e9>] prepare_namespace+0x16c/0x1a4
[    1.476259]  [<ffffffff81d35156>] kernel_init_freeable+0x1e1/0x1ee
[    1.476259]  [<ffffffff81d348e5>] ? do_early_param+0x88/0x88
[    1.476259]  [<ffffffff8171ba90>] ? rest_init+0x80/0x80
[    1.476259]  [<ffffffff8171ba9e>] kernel_init+0xc/0x130
[    1.476259]  [<ffffffff8173e428>] ret_from_fork+0x58/0x90
[    1.476259]  [<ffffffff8171ba90>] ? rest_init+0x80/0x80
[    1.476259] Kernel Offset: 0x0 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffff9fffffff)
[    1.494544] ------------[ cut here ]------------
[    1.495633] WARNING: CPU: 1 PID: 1 at /build/linux-Br3v3Q/linux-3.13.0/arch/x86/kernel/smp.c:124 native_smp_send_reschedule+0x5d/0x60()
[    1.496763] Modules linked in:
[    1.497886] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 3.13.0-135-generic #184-Ubuntu
[    1.498543] Hardware name: System manufacturer P5E-VM DO/P5E-VM DO, BIOS 0702    03/31/2008
[    1.498543]  0000000000000000 ffff88012fc83d90 ffffffff8172d959 0000000000000000
[    1.498543]  0000000000000009 ffff88012fc83dc8 ffffffff8106a76d 0000000000000000
[    1.498543]  ffff88012fc93180 00000000fffedc7d 0000000000000001 ffff88012fc13180
[    1.498543] Call Trace:
[    1.498543]  <IRQ>  [<ffffffff8172d959>] dump_stack+0x64/0x82
[    1.498543]  [<ffffffff8106a76d>] warn_slowpath_common+0x7d/0xa0
[    1.498543]  [<ffffffff8106a84a>] warn_slowpath_null+0x1a/0x20
[    1.498543]  [<ffffffff810419ad>] native_smp_send_reschedule+0x5d/0x60
[    1.498543]  [<ffffffff810abbe1>] trigger_load_balance+0x16a/0x1e0
[    1.498543]  [<ffffffff8109cdb4>] scheduler_tick+0xa4/0xf0
[    1.498543]  [<ffffffff81079880>] update_process_times+0x60/0x70
[    1.498543]  [<ffffffff810da095>] tick_sched_handle.isra.17+0x25/0x60
[    1.498543]  [<ffffffff810da111>] tick_sched_timer+0x41/0x60
[    1.498543]  [<ffffffff81091f07>] __run_hrtimer+0x77/0x220
[    1.498543]  [<ffffffff810da0d0>] ? tick_sched_handle.isra.17+0x60/0x60
[    1.498543]  [<ffffffff8109273f>] hrtimer_interrupt+0xef/0x230
[    1.498543]  [<ffffffff81044927>] local_apic_timer_interrupt+0x37/0x60
[    1.498543]  [<ffffffff8174088f>] smp_apic_timer_interrupt+0x3f/0x60
[    1.498543]  [<ffffffff8173f21d>] apic_timer_interrupt+0x6d/0x80
[    1.498543]  <EOI>  [<ffffffff8172684b>] ? panic+0x19d/0x1e1
[    1.498543]  [<ffffffff81d35452>] mount_block_root+0x225/0x2b0
[    1.498543]  [<ffffffff81d3567a>] mount_root+0x53/0x56
[    1.498543]  [<ffffffff81d357e9>] prepare_namespace+0x16c/0x1a4
[    1.498543]  [<ffffffff81d35156>] kernel_init_freeable+0x1e1/0x1ee
[    1.498543]  [<ffffffff81d348e5>] ? do_early_param+0x88/0x88
[    1.498543]  [<ffffffff8171ba90>] ? rest_init+0x80/0x80
[    1.498543]  [<ffffffff8171ba9e>] kernel_init+0xc/0x130
[    1.498543]  [<ffffffff8173e428>] ret_from_fork+0x58/0x90
[    1.498543]  [<ffffffff8171ba90>] ? rest_init+0x80/0x80
[    1.498543] ---[ end trace 3b4c21cd8473b17e ]---

I am hoping for help recovering at least enough to copy the files off the system.

Update:

I feel like there are two answers to my problem; one is fixing the OS so that it will boot again and the second is copying the files off my system. As long as I can save my files I will be happy.

  • I tried using the Advanced Options for Ubuntu to pick an older kernel and as far as I can tell this does not seem like it will work. I tried 20 or so older ones till I found one that would give me a different boot crash point but it still crashes. I can upload a screenshot if needed.

  • Second I looked at Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) This is giving me more questions then answers.

    They suggest to run commands but I am not sure where to run them. I tried it in what I think I can call the GRUB command line (hitting c while booting) and from Ubuntu installer disk using rescue broken system. I did not mount a drive. Both times I got an error.

  • Thinking just recovering the files must be a easier option I looked into using Recovering user files with a Live CD

I am thinking the reason I am getting stuck on these options is because it is a RAID. I am a little worried also that if I do this step wrong I might mess up my RAID making the problem worse.

So I am assuming you will will need more information to help further but I am not sure what would help. Please let me know and I will gather the info.

Do not see a way to put in my own answer to the question so adding it here. Solution: I booted up with KNOPPIX Linux Live CD in terminal type

  1. SU
  2. mdadm --stop /dev/md0
  3. mdadm --stop /dev/md1
  4. mdadm --assemble --scan --force
League of legends Ubuntu Play on linux "wget failed: Server issued an error response" https://askubuntu.com/questions/834384/league-of-legends-ubuntu-play-on-linux-wget-failed-server-issued-an-error-resp

I am getting the following error when running the installer for League of Legends in PlayOnLinux:

Error in POL_System_wget
POL_System_wget failed: Server issued an error response
--2016-10-07 16:54:24-- http://l3cdn.riotgames.com/Installer/SingleFileInstall/LeagueOfLegendsBaseNA.exeResolving l3cdn.riotgames.com (l3cdn.riotgames.com)... 209.197.3.7Connecting to l3cdn.riotgames.com (l3cdn.riotgames.com)|209.197.3.7|:80... connected.HTTP request sent, awaiting response... 403 Forbidden2016-10-07 16:54:24 ERROR 403: Forbidden.

I first thought this might be a DNS error but I tried changing that but I still got the same error.

The last thing I tried was League of Legends - PlayOnLinux Stuck.

Ubuntu 16.04 does not start after installation next to Windows 7 https://askubuntu.com/questions/781792/ubuntu-16-04-does-not-start-after-installation-next-to-windows-7

Installation ends succesfully, computer restarts and... Windows boots up.
My computer: old laptop HP Compaq 6710b (no UEFI, no secure boot).
Two hard drives:
- 1st is 240 GB SSD and 2nd is some old 200 GB HDD.
- 2nd drive is installed in special adapter which fits in optical drive bay.

SSD is partitioned like this: enter image description here

HDD has one partition: enter image description here

Installing the Tomcat7 examples webapp on Ubuntu 12.04 https://askubuntu.com/questions/396263/installing-the-tomcat7-examples-webapp-on-ubuntu-12-04

I used the sudo apt-get install tomcat7-examples.

They were installed in /usr/share/tomcat7-examples/examples directory.

Tomcat could not locate them from the URL :

127.0.0.1:8080/examples/    
HTTP Status 404 - /examples/

I attempted to copy them to the webapps directory but that failed.

$ sudo cp /usr/share/tomcat7-examples/examples/*  /var/lib/tomcat7/webapps/examples/.

cp: omitting directory 'jsp'    
cp: omitting directory 'servlets'  
cp: omitting directory 'WEB-INF' 

What am I missing?

Havingsame problem with docs, common, and admin.

Cheese doesn't record video from my webcam https://askubuntu.com/questions/395218/cheese-doesnt-record-video-from-my-webcam

Cheese doesn't record video from my webcam... the picture freezes when I press the 'Record a Video' button. If I stop the records, then try and click the record button again it crashes the application.

I'm trying to record video clips using my MS LifeCam with Cheese but it isn't working. I'd really appreciate any help diagnosing and resolving the problem. It can capture photos fine. When I use lsusb I can see the camera is detected on the USB bus here:

Bus 001 Device 002: ID 045e:0772 Microsoft Corp. LifeCam Studio

I'm running Ubuntu 13.10 if that's of any use to diagnose this issue...

How to change the path of folders in home directory to an external HDD? https://askubuntu.com/questions/277502/how-to-change-the-path-of-folders-in-home-directory-to-an-external-hdd

I am using Ubuntu 12.04. I'm trying to change the path from the special folders (I mean the ones in my home directory) to folders on my external HDD. I already auto-mounted the HDD by adding a UUID-command to the start-up applications

/usr/bin/udisks --mount /dev/disk/by-uuid/7a92f7dd-bd54-4a1c-88eb-be7eea04e79a

That's the one.

Now I tried to edit ~/.config/user-dirs.dirs, but every time I reboot it goes back to the home folder

Am I missing something somewhere?

Main differences between fsck and chkdsk? https://askubuntu.com/questions/174937/main-differences-between-fsck-and-chkdsk

What are the important differences between fsck and chkdsk, and which command will reduce and correct the most hard disk errors?

Icons on menus have disappeared https://askubuntu.com/questions/2236/icons-on-menus-have-disappeared

When i right click to bring up a menu, for example on the desktop, i have 'open terminal here' which i know should have a terminal icon next to this however it doesn't. Any ideas? I had a poke around in gconf-editor but didn't have much luck (though i didn't try very hard ;)

Thanks