Seagate expansion drive went RAW on Windows https://askubuntu.com/questions/1564339/seagate-expansion-drive-went-raw-on-windows

The other day my Seagate 2TB expansion drive would not work when attached to the PC. I stripped it out of its case and attached it via a USB - Sata cable and got the message that it needed to be formatted.

I ran Ubuntu as a virtual machine and ran sudo ntfsfix -d /dev/sda1 which worked like a charm. When I returned to Windows I got the same result as before. CHKDSK said it will not work wirh RAW drives

The trouble is I really need it to work with Windows because I have software that will not work with Linux.

Reading further I hoped the sudo fsck -y /dev/sdc1 command might correct any errors. The device was unmounted and I ran it but it instantly came back with the line "fsck from util-linux 2.39.3" And nothing else other then the prompt.

I keep trying to find what this means but I am out of my depth now and would appreciate any suggestions about whether I can even use Ubuntu to prepare a drive for Windows.

Thank you

Held broken package and steam lib i386 [duplicate] https://askubuntu.com/questions/1564338/held-broken-package-and-steam-lib-i386

Today I tried to install steam by using sudo apt install steam installer but all it says is

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: steam-installer : Depends: steam-libs-i386 (= 1:1.0.0.79~ds-2) E: Unable to correct problems, you have held broken packages.

Update problems https://askubuntu.com/questions/1564337/update-problems

Sometimes when I click on the "Updates available" box at startup, nothing happens, and clicking on discover has the same result. Any idea why this happens ?

This morning, I received an "Updates available" box and clicked on it. There were many updates, but when I clicked on "Update all"and enteing my password, I received this:

<html>Cannot obtain lock:<br/><br/>E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3861 (unattended-upgr)

W: Be aware that removing the lock file is not a solution and may break your system.

E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?

</html>
Free space on logical volume differs from the physical storage it originated from https://askubuntu.com/questions/1564334/free-space-on-logical-volume-differs-from-the-physical-storage-it-originated-fro

We have created a volume and mapped it to Ubuntu server from IBM storage. The volume can be accessed and operated as normal (creating/deleting files), however we face a problem where the IBM storage reported that the physical capacity is nearly full (92% out of 80TB) and that there is no reclaimable space, but the volume on Ubuntu only consumes around 40%/~35TB when running df -h.

The storage team suggests that configuration has to be made on the OS side since the original volume is said to be thin-provisioned, but the configuration on the OS level has not been configured to act as such. The support team said that configuration is not part of their support service, and did not provide a guidance on how to configure volume so that the free space can be reclaimed.

Is there any documentation on how to configure the volume to be able to reclaim this free space?

lsblk --discard command result below:

root@linuxveeam:/etc/lvm# lsblk --discard
NAME                                          DISC-ALN DISC-GRAN DISC-MAX DISC-ZERO
sda                                                  0       512B       0B         0
├─sda1                                               0       512B       0B         0
├─sda2                                               0       512B       0B         0
└─sda3                                               0       512B       0B         0
  └─ubuntu--vg-ubuntu--lv                            0         0B       0B         0
sdb                                                  0       512B       0B         0
└─Veeam_Repo_01                                      0         0B       0B         0
  └─vg_veeamrepo-lv_veeamrepo                        0         0B       0B         0
sdc                                                  0       512B       0B         0
└─Veeam_Repo_02                                      0         0B       0B         0
  └─vg_veeamrepo02-lv_veeamrepo02                    0         0B       0B         0
sdd                                                  0       512B       0B         0
└─Veeam_Repo_01                                      0         0B       0B         0
  └─vg_veeamrepo-lv_veeamrepo                        0         0B       0B         0
sde                                                  0       512B       0B         0
└─Veeam_Repo_02                                      0         0B       0B         0
  └─vg_veeamrepo02-lv_veeamrepo02                    0         0B       0B         0
sr0                                                  0       512B       0B         0
Ubuntu 24.04 Boot Issue (HP Wolf Security Screen Stuck) https://askubuntu.com/questions/1564332/ubuntu-24-04-boot-issue-hp-wolf-security-screen-stuck

We installed Ubuntu OS version 24.04 LTS on an HP laptop (HP ZBook Power 16 G11). After the installation, we are encountering an issue where the screen gets stuck at HP Wolf Security and does not proceed to the login screen
Troubleshooting steps performed:

  • Executed the sudo apt update command in Terminal to install the latest updates

  • Performed dpkg repair and grub update in recovery mode to fix broken installations and update boot entries.

  • Verified in BIOS settings Secure Boot was disabled

  • Verified in BIOS settings SATA Mode was set AHCI

Despite the above steps, the laptop screen continues to get stuck at the HP logo screen.

enter image description here

Laptop would freeze after a few seconds https://askubuntu.com/questions/1564330/laptop-would-freeze-after-a-few-seconds

My laptop would freeze after a few seconds. I am using Ubuntu 24.04 LTS.
Yesterday when I am using it, nothing weird happen until today my laptop monitor (I use 2 monitor) does not turn on, only the second one. I try update the nvidia in the software&updates. There is a lot of drivers in here so I choose the top one (Nvidia-590) and after restart it will freeze after 10 second and the fan will spin fast.

How do I fix this?

I also dual boot with windows on different ssd (ssd1 windows, ssd2 linux). is it bad to have dual boot like this?

Laptop: Dell g15 5530 with Nvidia 3050 6gb.

6.17.0-14-generic | Intel laptop CPU throttling and initrd hang when booting into ubuntu with a black screen https://askubuntu.com/questions/1564323/6-17-0-14-generic-intel-laptop-cpu-throttling-and-initrd-hang-when-booting-int

I've nearly the last whole 4-5 days attempting to fix some issues which have started happened on my laptop. I'll explain what the original issue was and what the continuing issues are.

ASUS Zenbook 14
Intel Core Ultra 9 (Intel Arc integrated graphics)

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`( . /etc/os-release && echo ${NAME} )`
GRUB_CMDLINE_LINUX_DEFAULT="intel_idle.max_cstate=1"
GRUB_CMDLINE_LINUX=""

Running stress for about 5 minutes, %usr slowly rose over that time to the second block.

warrantyhub@twinfantasy:~$ mpstat -P all
Linux 6.17.0-14-generic (twinfantasy)   02/25/2026  _x86_64_    (16 CPU)

06:27:56 AM  CPU    %usr   %nice    %sys %iowait    %irq   %soft  %steal  %guest  %gnice   %idle
06:27:56 AM  all   13.52    0.47    6.22    0.39    0.00    0.07    0.00    0.00    0.00   79.32
warrantyhub@twinfantasy:~$ mpstat -P all
Linux 6.17.0-14-generic (twinfantasy)   02/25/2026  _x86_64_    (16 CPU)

06:32:47 AM  CPU    %usr   %nice    %sys %iowait    %irq   %soft  %steal  %guest  %gnice   %idle
06:32:47 AM  all   53.52    0.21    4.99    0.25    0.00    0.06    0.00    0.00    0.00   40.97

My laptop has been experiencing minor issues with ubuntu since I installed it. Mostly minor freezes for ~15 seconds during usage or sometimes it would lock up completely. During the times when it would freeze completely I would restart using ALT + PrtSc + REISUB.

I encountered a new issue though last Friday, when going to boot my laptop. I was met with a black screen with the keyboard lights pulsing. I gave it a few minutes but then decided to force shutdown, and every time after that, no luck, it was stuck.

The boot would always hang on "Loading initial ramdisk ..." I'll spare the rest of the details, but after trying numerous BIOS settings and grub linux options eventually I found that the only option that would get my laptop to boot was setting "intel_idle.max_cstate=1"

I figured that it might be related to my CPU being newer, but since making this change to get ubuntu to boot I've run into numerous other problems. Most notably, performance degraded significantly. My CPU frequency, under any workload, would never exceed 400 MHz. Any input was slow, (about 1/3 of a second delay). Scrolling in any application or browser felt painful.

I tried another option "intel_pstate=disable" which seemed to stop the throttling, but performance was only negligibly better. I have experimented with numerous cpupower settings and manual governing but it seems that the CPU always will fall into a idle state which seems to take over a second to wake from. Disabling idle states with cpupower just locked the frequency at 400 MHz again. Disabling thermald also seemed to stop the throttling cap, but the same issues as above remained. Anything which "repaints" a lot of the screen seems to be very slow and stuttery, and my IDE (webstorm/pycharm) is borderline unusable. My mouse takes about a second to start moving when input is given. CPU heavy tasks are also noticeably slower. All of these things worked great outside of freezing issues before this.

My BIOS is up to date and I have latest graphic drivers, I think. All of my power/governor settings are set to performance as far as I am aware. My thermals are also pretty normal, almost never goes above 70 C.

Is this caused by setting max_cstate to 1 or are there other issues that I should diagnose? Any help is greatly appreciated.

P.S. I'm pretty new to Linux, so please correct me if I'm confidently wrong about something. I also don't know which logs would be most helpful, I'll try to respond as quickly as possible to requests.

Ollama on Ubuntu on AMD Ryzen 7 8745H w/ Radeon 780M Graphics https://askubuntu.com/questions/1564316/ollama-on-ubuntu-on-amd-ryzen-7-8745h-w-radeon-780m-graphics

I'm doing a prompt on these two and here's ollama ps for it. I've got 80GBs of memory and the 780M integrated GPU. How do I get Ollama to use that?

enter image description here

Live audio graphic equalizer https://askubuntu.com/questions/1564307/live-audio-graphic-equalizer

I'm trying to find an audio graphic equalizer for live audio editing. My laptop has two USB audio adapters one for input (as a microphone) the other for analogue output (as headphones) as well as the standard mic / headphones port.

I've tried using Easy Effects with PipeWire and can do either:

  1. audio in for recording and manipulate using the input graphic equalizer.

  2. audio out from an app like VLC and manipulate the output graphic equalizer

But so far I can't find a way to connect the input to the output. If you know a way to do this with Easy Effects then I'd love to try it. Alternatively is there another app that will run on Ubuntu?

Why can't I boot by default to GRUB on my MSI motherboard https://askubuntu.com/questions/1564296/why-cant-i-boot-by-default-to-grub-on-my-msi-motherboard

I recently installed Ubuntu 24.04.4 LTS on my windows pc. I added the efi entries on my main drive containing windows and wanted to dual boot, such that grub loads on default and I can select whether I want to boot into Ubuntu or Windows. But it boots to windows by default.

I tried changing the boot order with efibootmgr and changed the first priority to Ubuntu Grub, but on restart, it boots to windows, the order reverses back.

Boot Order Picture

I tried the same in Windows with bcdedit with the same result.
I suspect it is something to do with my motherboard, which forces me too boot to Windows. Renaming the windows EFI file leads to failure to boot. The only way to boot to Ubuntu is with the f11 boot menu. I can also boot to Windows from the Grub Menu. But the Grub menu won't show up by default.

The bios also has a weird drive selection, with no proper names. Boot priority lists stuff like UEFI USB Hard Drive, USB Hard Drive, CD ROM, Network Drive, etc, instead of the actual drive names. The drive with windows shows Windows Boot Manager, but no such luck with Ubuntu.

Boot Menu Setting BIOS
Boot Options: Windows visible, but Ubuntu is not

I am very new to OS flashing and BIOS stuff, and am very scared to brick my PC. But I still want to have the grub menu by default. I have listed my specs below, Any help would be appreciated.

OS:

  1. Ubuntu 24.04.4 LTS on 100GB partition of a 250GB HDD

  2. Microsoft Windows 11 22H2 on a partition of a 500GB SSD

Motherboard: MSI B70 M-E DDR5 (Secure Boot Disabled)

Drive Setup: lsblk -e 7 -f

MediaTek MT7902 (14c3:7902) fails to load or causes kernel panic on Ubuntu 25.10 https://askubuntu.com/questions/1564289/mediatek-mt7902-14c37902-fails-to-load-or-causes-kernel-panic-on-ubuntu-25-10

Question

I am running Ubuntu 25.10 (Plucky Puffin) on a laptop using the MediaTek MT7902 Wi-Fi card. Out of the box, the wireless interface is not detected.

Hardware Details: lspci -nnk | grep -A 3 Network output:

02:00.0 Network controller [0280]: MEDIATEK Corp. Device [14c3:7902]
    Subsystem: AzureWave Device [1a3b:5520]
    Kernel modules: mt7902

Despite the module being listed, the device is shown as UNCLAIMED.

Symptoms and Attempted Fixes:

  1. Secure Boot Conflict: When I try to manually load the driver via sudo modprobe mt7902, I receive: modprobe: ERROR: could not insert 'mt7902': Key was rejected by service

  2. Kernel Instability: On some boots, the system hangs or triggers a kernel panic during the hardware probe phase.

  3. Firmware Logs: dmesg shows Loading of unsigned module is rejected and sometimes fails to locate specific .bin firmware files for the gen4 architecture.

How can I safely install a working driver for the MT7902 on Ubuntu 25.10 without causing boot loops or kernel panics?

Can't open KDE after adding it to Ubuntu https://askubuntu.com/questions/1564280/cant-open-kde-after-adding-it-to-ubuntu

I just added KDE to Ubuntu. Now it is asking for my ID to open. I used the ID and password I used for Ubuntu, but it will not open. I did some research, and it seems to be a regular problem. I can't get into the program to do anything. How do I fix it?

enter image description here
Click image to enlarge it.

Can you bypass dlopen at program launch? https://askubuntu.com/questions/1564048/can-you-bypass-dlopen-at-program-launch

This is an involved question that cannot be answered with a 3 second Google search. No, setting environment variables in a shell script are not the answer.

In secured environments, the use of RPATH is bordering on strictly forbidden. Qt, which begat CopperSpice which begat Ls-Cs, had a .conf file that never worked. The hack in the Qt world is to use a DeployQt script which basically dumps all of the libraries and plugins into the same directory as the executable. This is most definitely a hack.

In the 0.2.1 branch I've been experimenting with how to fix this. It's primarily an issue when you wish to perform a local library build to build and link example or other programs against. This local directory tree is not in the system library path, nor should it be. I've seen some developers force local builds into .local/include and .local/lib which isn't that great either.

After a build of library, the .conf file looks as below.

[Paths]
Prefix = /home/developer/github_projects/LsCs_local_release
Headers = include/LsCs
Libraries = lib/LsCs
Binaries = bin
Plugins = lib/LsCs/plugins
Data = share/LsCs
Translations = share/LsCs/translations

One of the biggest issues is the plugins directory is a tree unto itself. When one builds a Debian or RPM package and installs that into system directories all is bright and beautiful, as long as you don't need to test a local library or plugin via the .conf file.

GNU knew dlopen wasn't good. It gave us libtool long ago. Built with LTDL_DLOPEN_DEPLIBS you can use lt_dlinsertsearchdir (const char *before, const char *search_dir) to insert paths from your .conf, using lt_dlopen() or lt_dlopenadvise() to find library files.

What isn't documented anywhere I can find is how to stop Ubuntu (any version) from attempting to use dlopen() for initial library loads of executables built against a local (development) library build.

Is there a way around this? RPATH really is a bad thing per most secured environments. They are okay with a .conf where they can check things, but RPATH is hidden in the binary which means (to them) if it is somehow tweaked or one of the directories it is pointing to gets linked to something nefarious, they can't tell until it is too late.

Has anyone found a way to do this?

'unmet dependencies' and 'held broken packages' - Steam https://askubuntu.com/questions/1469713/unmet-dependencies-and-held-broken-packages-steam

I've tried to uninstall Steam on this PC over and over again to no avail. So that doesn't seem to be the problem. And for some reason now my PC cuts off the tops of the letters when I type here even. Things are getting strange in Ubuntu.

I get a message that says I have held broken packages.

The following packages have unmet dependencies:
  libegl1:i386 : Depends: libegl-mesa):i386 but it in not installable
  libgbm1`: Breaks: libgbm1:i386 (!=22.2.5-0ubuntu0.1-22.04.2) but 22.2.5-0ubuntu0.1-22.04.2 is to be installed
  libgbm1:i386 : Breaks libgbm1 (!= 22.2.5-0ubuntu0.1) but22.2.5-0ubuntu0.1-22.04.2 is to be installed
  libgl1-mesa-dri : Breaks: libgl1-mesa-dri:i386 (!= 22.2.5-0ubuntu0.1-22.04.1) but 22.2.5-0ubuntu0.1-22.04.1 is to be installed
  libgl1-mesa-dri:i386 :Depends libglapi-mesa-dri:i386 (= 22.2.5-0ubuntu0.1) but it isw not installable
       Recommends: libgl1-amber-dri:i386 but it is not installable
       Breaks: libgl1-mesa-dri (!= 22.2.5-0ubuntu.1-22.04.1) but 22.2.5-0ubuntu0.1-22.04.2 is to be installed
  libglx0:i386 :Depends: libglx-mesa:i386 but it is not installable
E: Unable to correct problems, you have held broken packages.
How to permanently remove private browsing in Mozilla Firefox 109. Running Ubuntu 22.04 LTS https://askubuntu.com/questions/1451200/how-to-permanently-remove-private-browsing-in-mozilla-firefox-109-running-ubunt

I've tried to add a policies.json file in usr/lib/firefox/distribution/ I believe that the problems comes since I don't have any firefox folder, so no distribution folder. Then I create firefox and distribution folder, I add the policies.json file, reboot the system, and nothing happened.

The policies.json contain the following text:

    {
      "policies": {
        "DisablePrivateBrowsing": true
      }
    }
Is there a way to check whether my device is currently using the 2.4 GHz or 5 GHz WiFi band? https://askubuntu.com/questions/1401941/is-there-a-way-to-check-whether-my-device-is-currently-using-the-2-4-ghz-or-5-gh

If my Ubuntu device is connected to a dual-band WiFi SSID that uses both 2.4 GHz and 5 GHz WiFi, then my understanding is that it will automatically switch between the two bands depending on which one has a stronger signal/better data rate. Is there any way to check which band my device is currently using?

Ubuntu 20.04.

CP210x Driver on Ubuntu 20.04 https://askubuntu.com/questions/1247420/cp210x-driver-on-ubuntu-20-04

I am trying to communicate with a ESP8266 NodeMCU board plugged into my USB port.

I beleive it should show up as /dev/ttyUSB0 per other posts but ttyUSB0 does not show up in /dev

from lsusb i can see the board:

$ lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 413c:2110 Dell Computer Corp. 
Bus 001 Device 003: ID 413c:1010 Dell Computer Corp. USB 2.0 Hub [MTT]
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 004: ID 10c4:ea60 Silicon Labs CP210x UART Bridge

The CP210x driver is installed:

$ dpkg -L linux-modules-extra-5.4.0-33-generic | grep cp210x
/lib/modules/5.4.0-33-generic/kernel/drivers/usb/serial/cp210x.ko

but when run the following I get the following errors:

$ sudo modprobe cp210x
modprobe: ERROR: could not insert 'cp210x': Exec format error

or

$ sudo modprobe cp210x.ko
modprobe: FATAL: Module cp210x.ko not found in directory /lib/modules/5.4.0-33-generic

When I run lsmod, cp210x does not show up at all.

Also when viewing the /dev directory there are a large numbers of tty:

crw-rw----   1 root     4,  64 Jun  5 22:40 ttyS0
crw-rw----   1 root     4,  65 Jun  5 21:47 ttyS1
crw-rw----   1 root     4,  74 Jun  5 21:47 ttyS10
crw-rw----   1 root     4,  75 Jun  5 21:47 ttyS11
crw-rw----   1 root     4,  76 Jun  5 21:47 ttyS12
crw-rw----   1 root     4,  77 Jun  5 21:47 ttyS13
crw-rw----   1 root     4,  78 Jun  5 21:47 ttyS14
crw-rw----   1 root     4,  79 Jun  5 21:47 ttyS15
crw-rw----   1 root     4,  80 Jun  5 21:47 ttyS16
crw-rw----   1 root     4,  81 Jun  5 21:47 ttyS17
crw-rw----   1 root     4,  82 Jun  5 21:47 ttyS18
crw-rw----   1 root     4,  83 Jun  5 21:47 ttyS19
crw-rw----   1 root     4,  66 Jun  5 21:47 ttyS2

But how do I know which is linked to:

Bus 004 Device 004: ID 10c4:ea60 Silicon Labs CP210x UART Bridge
Skype loses focus when changing keyboard layout with ALT+SHIFT https://askubuntu.com/questions/1178533/skype-loses-focus-when-changing-keyboard-layout-with-altshift

This happens only in Skype on Ubuntu 18.04. I have used Skype on other platforms (Ubuntu and others) and this does not happen. I use ALT+SHIFT to switch keyboard layout to another language. When I use Skype on Ubuntu 18.04 and press ALT+SHIFT the language is changed but also the focus is moved to the application menu (as if I had pressed ALT only).

Any help is welcome!

Where is ControlPanel or jcontrol for openjdk 1.8_222? https://askubuntu.com/questions/1165758/where-is-controlpanel-or-jcontrol-for-openjdk-1-8-222

I installed openjdk 1.8_222 on ubuntu 18.04 but cannot find the ControlPanel or jcontrol on my computer.

Disable IPv6 from boot inside LXD/LXC container https://askubuntu.com/questions/941804/disable-ipv6-from-boot-inside-lxd-lxc-container

I'm using an ubuntu:xenial spawned container in LXD/LXC and can't work out why it keeps booting with an IPv6 link local address (fe80::). If it's at all relevant, I'm also using Xenial as the container host.

There are no IPv6 entries in /etc/hosts. There are no IPv6 addresses defined in any of /etc/network/interfaces*.

I've added net.ipv6.conf.*.disable_ipv6=1 to /etc/sysctl.conf and although this works to clear the assigned link local addresses when you run sysctl -p after boot, it doesn't seem to run during boot so the container starts with the IPv6 link local addresses assigned.

I've added ipv6.disable=1 ipv6.disable_ipv6=1 to GRUB_CMDLINE_LINUX_DEFAULT inside the container in /etc/default/grub.d/50-cloudimg-settings.cfg but that seems to do nothing. This makes sense as there's no update-grub2 inside these containers so presumably Grub plays no part in the container startup process. I haven't managed to work out how the container decides what to try and enable or disable inside it's view of the kernel, otherwise I would try putting a setting there.

It seems I'm missing some fundamental understanding of what's causing these link local addresses to get assigned during container boot.

Any ideas or suggestions?

Please don't waste time preaching how I should learn to love IPv6. My employer is not going to use IPv6 for a long time as there is so much legacy network connected equipment that is extremely expensive and will never work on IPv6 that you would be wasting your typing.

windows 10 image not found in grub https://askubuntu.com/questions/920303/windows-10-image-not-found-in-grub

I have a problem booting Windows 10 from grub. When I tried to do it I got this message:

/EndEntire
file path: /ACPI....../File(bootmgfw.efi)/EndEntire
error: cannot load image.

I then Googled and found this solved problem, which tells you to edit the grub.cfg file.

Edit /boot/grub/grub.cfg

Find

### BEGIN /etc/grub.d/30_os-prober ###

menuentry 'Windows 10 (loader) (on /dev/sdXX)'

After

chainloader +1

Write

ntldr /bootmgr

When I tried to apply that I got this error, in addition to the original one

error: can't find command `ntldr'.

This might be due to my grub.cfg file not looking like the one in the link but I don't know how to adapt the solution.

As the grub.cfg file is quite lengthy, this is the section mentioned in the other solution.

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (on /dev/sda2)' --class windows --class     os $menuentry_id_option 'osprober-efi-4CBE-1366' {
    insmod part_gpt
    insmod fat
    set root='hd0,gpt2'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-    efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  4CBE-1366
    else
      search --no-floppy --fs-uuid --set=root 4CBE-1366
    fi
        chainloader /EFI/Microsoft/Boot/bootmgfw.efi
    }
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
### END /etc/grub.d/30_os-prober ###

The full file can be found here if needed.

I've tried to update grub, no difference.

Edit:

Output from terminal

kajsa@Yoga ~ $ sudo update-grub
[sudo] password for kajsa: 
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.4.0-53-generic
Found initrd image: /boot/initrd.img-4.4.0-53-generic
Found Windows Boot Manager on /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for EFI firmware configuration
done

Any suggestions?

How to remove GNOME shell leftover from unity desktop? https://askubuntu.com/questions/838087/how-to-remove-gnome-shell-leftover-from-unity-desktop

I wanted to test out gnome 3.18 desktop environment on my Ubuntu 16.04 (a very bad decision, on retrospect). Things got weird, gnome elements started affecting the unity desktop, lots of freezes. So I decided to remove gnome shell. I used the following commands:

sudo apt-get purge gnome-shell ubuntu-gnome-desktop
sudo apt-get autoremove
unity --replace
sudo apt-get install --reinstall ubuntu-desktop

I don't know if something was wrong with the order of the commands.

Anyway, after a restart, I am still left with a gnome leftover. This:

enter image description here

I have never seen this before, totally clueless how it got there. Any idea how to remove this?

By the way, during system shutdown and restart, the gnome logo is showing up instead of the usual ubuntu logo, which probably means I did a messy job of sweeping out GNOME altogether. Please help me out!

How can I fix dependency problems in Ubuntu 16.04? https://askubuntu.com/questions/771780/how-can-i-fix-dependency-problems-in-ubuntu-16-04

I'm trying to install Ring and have run into dependency problems. I have no idea how to fix this. Would you have any ideas about how to approach this problem? I have attempted sudo apt-get update, sudo apt-get autoremove and sudo apt-get -f install but nothing seemed to help.

>sudo apt-get install ring-gnome
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 ring-gnome : Depends: libebook-1.2-16 (>= 3.17) but 3.16.5-1ubuntu3 is to be installed
              Depends: libebook-contacts-1.2-2 (>= 3.16.2) but it is not installable
              Depends: libedataserver-1.2-21 (>= 3.17) but it is not installable
              Depends: libqt5core5a (>= 5.5.1) but 5.4.2+dfsg-2ubuntu9 is to be installed
              Depends: ring-daemon but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Ethernet connection is not showing in my ubuntu 14.04 https://askubuntu.com/questions/553605/ethernet-connection-is-not-showing-in-my-ubuntu-14-04

These are outputs of some useful commands:- May it helps...

1.-> ifconfig output-->

      lo        Link encap:Local Loopback  
      inet addr:127.0.0.1  Mask:255.0.0.0
      inet6 addr: ::1/128 Scope:Host
      UP LOOPBACK RUNNING  MTU:65536  Metric:1
      RX packets:9262 errors:0 dropped:0 overruns:0 frame:0
      TX packets:9262 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:0 
      RX bytes:845156 (845.1 KB)  TX bytes:845156 (845.1 KB)

      wlan0     Link encap:Ethernet  HWaddr e0:ca:94:3e:ec:ef  
      inet addr:192.168.43.229  Bcast:192.168.43.255  Mask:255.255.255.0
      inet6 addr: fe80::e2ca:94ff:fe3e:ecef/64 Scope:Link
      UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
      RX packets:223666 errors:0 dropped:0 overruns:0 frame:217706
      TX packets:180946 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000 
      RX bytes:243037937 (243.0 MB)  TX bytes:16583971 (16.5 MB)
      Interrupt:16 
      (2).  cat /etc/nework/interfaces :->
      output--> # interfaces(5) file used by ifup(8) and ifdown(8)
      auto lo
      iface lo inet loopback

      (3). ifup eth0 :->
      output-->  Ignoring unknown interface eth0=eth0.

      (4) lspci -nn :->
      output--> 
       00:00.0 Host bridge [0600]: Intel Corporation 2nd Generation CoreProcessor    
       Family DRAM Controller [8086:0104] (rev 09) 
       00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd   Generation      

     C ore Processor Family Integrated Graphics Controller [8086:0116] (rev 09)

     00:16.0 Communication controller [0780]: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 [8086:1c3a] (rev 04)
     00:1a.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 [8086:1c2d] (rev 04)
     00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20] (rev 04)
     00:1c.0 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 [8086:1c10] (rev b4)
     00:1d.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 [8086:1c26] (rev 04)
     00:1f.0 ISA bridge [0601]: Intel Corporation HM65 Express Chipset Family LPC Controller [8086:1c49] (rev 04)
     00:1f.2 SATA controller [0106]: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller [8086:1c03] (rev 04)
     00:1f.3 SMBus [0c05]: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller [8086:1c22] (rev 04)
    01:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter [14e4:4727] (rev 01)

that it..

localhost links have stopped working in XAMPP https://askubuntu.com/questions/463129/localhost-links-have-stopped-working-in-xampp

I have an XAMPP installation on Ubuntu 14.04 and it's been working great ever since I installed it under 13.10 up until today. I was going to check something in my MySQL database via phpMyAdmin through the XAMPP page, which I normally access via localhost, however I went to do this today, and I just got an Index of / page that looks like this:

localhost

If I access phpMyAdmin via localhost/phpmyadmin it pulls up just fine, however none of my projects (all with index.html files in subfolders) appear, or even the default index.html page. I added an index.html file to /var/www/html (I had read this question regarding the new apache version in 14.04) and it displayed that page.

I also noticed that if I run the command sudo /opt/lampp/xampp start it says this:

Starting XAMPP for Linux 1.8.3-3...
XAMPP: Starting Apache...fail.                 <----------!!!
XAMPP:  Another web server is already running. <----------!!!
XAMPP: Starting MySQL...already running.
XAMPP: Starting ProFTPD...already running.

...which makes me think that the updated version of apache (installed with 14.04) is interfering with XAMPP somehow.

The funny thing is, if I FTP in (ProFTPD installed with XAMPP) I can see all of my files like normal.

I know that XAMPP stores its files in /opt/lampp/htdocs, and all of my files are still there, but I can't access them.

I have googled all over the place for a fix, no one else seems to have run into this issue yet. Is there a fix for this, or is XAMPP rendered useless with 14.04?

I installed XAMPP via the installer.run file from the Apache Friends website and I'm running XAMPP 1.8.3-3, as you could see.

The version of Apache is the default installed one for Ubuntu 14.04 2.4.7-1ubuntu4. Configuration is default AFAIK with nothing changed around.

I would agree with the comments in saying that it looks like I have another instance of Apache installed, but I removed the LAMP bundle software I had previously installed before I installed XAMPP via the .run installer.

Who's thereapt-cache policy apache2 output, as suggested by Braiam:

apache2:
  Installed: 2.4.7-1ubuntu4
  Candidate: 2.4.7-1ubuntu4
  Version table:
 *** 2.4.7-1ubuntu4 0
        500 http://mirror.anl.gov/pub/ubuntu/ trusty/main i386 Packages
        100 /var/lib/dpkg/status
Problem: "npm ERR! cb() never called! npm ERR! not ok code 0" when installing etherpad https://askubuntu.com/questions/350203/problem-npm-err-cb-never-called-npm-err-not-ok-code-0-when-installing-et

on an Ubuntu 12.04.3:

adduser --system --home=/var/www/etherpad --group etherpad

apt-get install gzip git-core curl python libssl-dev build-essential abiword python-software-properties

add-apt-repository ppa:chris-lea/node.js
apt-get update; apt-get install -y nodejs

su - etherpad -s /bin/bash
git clone git://github.com/ether/etherpad-lite.git
cd etherpad-lite
sed -i 's/bin\/installDeps.sh/sh bin\/installDeps.sh/g' bin/run.sh
sh bin/run.sh

but when using sh bin/run.sh:

Ensure that all dependencies are up to date...  If this is the first time you have run Etherpad please be patient.
npm ERR! cb() never called!
npm ERR! not ok code 0

Q: How can I resolve this problem? "npm cache clear didn't" helped. The FS is mounted with noexec. System is up-to-date.

Problem with setting up xrdp on Lubuntu 13.04 https://askubuntu.com/questions/312466/problem-with-setting-up-xrdp-on-lubuntu-13-04

After fresh install of Lubuntu 13.04 I did

sudo apt-get install tightvncserver
sudo apt-get install xrdp

Now when I log in with remote desktop client from Windows or Ubuntu, I get black and white mesh screen. I followed various help forums like this one, but nothing worked!

What's the history about the Shift + Arrow keys in terminal? https://askubuntu.com/questions/284668/whats-the-history-about-the-shift-arrow-keys-in-terminal

I'm wondering why Shift + Arrow Key result in one of the A, B, C or D letters.

Why not other letters? Why any letter at all?

Correct Display configuration. Errors while trying to arrange displays https://askubuntu.com/questions/180532/correct-display-configuration-errors-while-trying-to-arrange-displays

I am trying to set up my tv with my laptop trough a VGA cable. The display application in Ubuntu throws a lot of errors to me and I have given up in trying to do it myself.

I try to apply the 1920 1080 display.

The selected configuration for displays could not be applied

Requested size (3200, 1080) exceeds 3D hardware limit (2048, 2048). You must either rearrange the displays so that they fit within a (2048, 2048) square or select the Ubuntu 2D session at login.

And Also this:

Failed to apply configuration: %s

GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._gnome_2drr_2derror_2dquark.Code3: Requested size (3200, 1080) exceeds 3D hardware limit (2048, 2048). You must either rearrange the displays so that they fit within a (2048, 2048) square or select the Ubuntu 2D session at login.

Please Help.

@Leozitop

  1. No I don't see anything when connected to 1920 1080 because the setup fails before actually applying.

  2. Yes there are other resolutions which do work. I believe the problem has something to do with the rotation it is set up. My Ubuntu Display application has only clockwise and counterclockwise options for the TV display. I really don't know why this is happening.

  3. Basic procedure: Plug in cable, did not get the resolution I wanted. Changed settings, applied them. Re-peat until desired display is shown. I'm not a computer illiterate, really it baffles me that this is happening.

  4. Output of xrandr:

    david@LapUbuntu:~$ xrandr Screen 0: minimum 320 x 200, current 1880 x 800, maximum 4096 x 4096 LVDS1 connected 1280x800+0+0 (normal left inverted right x axis y axis) 331mm x 207mm 1280x800 60.0*+ 1024x768 60.0
    800x600 60.3 56.2
    640x480 59.9
    VGA1 connected 600x800+1280+0 left (normal left inverted right x axis y axis) 1600mm x 900mm 1920x1080 60.0 + 1280x1024 60.0
    1360x768 60.0
    1280x720 60.0
    1024x768 60.0
    800x600 60.3* 640x480 60.0
    TV1 unknown connection (normal left inverted right x axis y axis) 848x480 59.9 + 640x480 59.9 + 1024x768 59.9
    800x600 59.9

Note that VGA says left and indeed it is, but no other option was available in the display. Also, note the TV1 unknown connection which I have no idea what it is.

Note, also, that this has nothing to do with the display since W7 on the computer works fine and since while boot up, and also, before starting session in ubuntu the rotation is normal.

I'll also mention that I HAVE re-installed Ubuntu since I had posted this question from a Live CD of 12.04 LTS. And that before the posting of the question also using 12.04 before another backup that I had to do, the VGA setup was fine without any problems.

Create unity shortcuts to WINE applications 12.04 https://askubuntu.com/questions/136346/create-unity-shortcuts-to-wine-applications-12-04

I have just gone through the process of getting ubuntu onto my main PC, no issues, was absolutely brilliant how its done it and loved that I could read the web while installing too,

I have WINE installed and world of warcraft works fine having copied the installation over from the existing windows partition that I have in place, the only trouble I am having now is creating a meaningful shortcut for the application to launch it direct, rather than browsing the directory and double clicking launcher to start it off.

I have followed every angle possible on here and google search so far and it seems to have not worked, I want to know is this possible and should I just go with a new download and installation to my home directory rather than just copying the files over to the new /home directory and running them through there or am I missing something easy here ?