How do I install Ubuntu 25.40 in WSL on Windows 11? https://askubuntu.com/questions/1564311/how-do-i-install-ubuntu-25-40-in-wsl-on-windows-11

I am a new Ubuntu user. I would like to install Ubuntu 25.40 in WSL on Windows 11. Please advise how can T do that.

Can't assign static IP on VM with static-ip/host https://askubuntu.com/questions/1564309/cant-assign-static-ip-on-vm-with-static-ip-host

Until recent Ubuntu updates everything was ok ...

Now however, not so much ..

VirtualBox. I have an Ubuntu server with static IP via netplan. I have an Ubuntu VM (DHCP/DNS) with a static IP created on a Windows machine that runs with the assigned static IP. However when it's transferred to the server, the VM's IP/interface is consistently down and I cannot get it to come up. Both the server and the VM are both running the same version of Ubuntu.

What am I missing?

emule/amule problem: IPV4 change as i go from windows 11 to ubuntu 24.04 https://askubuntu.com/questions/1564308/emule-amule-problem-ipv4-change-as-i-go-from-windows-11-to-ubuntu-24-04

I 've a dual boot system with Windows 11 (Emule) and Ubuntu 24.04 (Amule). As I change O.S. the ip configuration for IPV4 change and I can't use the Emule ports because i've set them with the ipv4 that workd in Ubuntu. How to have a unique IPV4 that works as for Windows as for Ubuntu?

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?

GNOME Sound Recorder not recording anything when codec is set to MP3 https://askubuntu.com/questions/1564306/gnome-sound-recorder-not-recording-anything-when-codec-is-set-to-mp3

I am trying to use the sound recorder from GNOME to record mp3 audio files for my lectures, but for whatever reason, it won't start recording and is simply stuck at 0:00. When I try to stop it or trash it, it just will acknowledge I clicked it, but won't actually take the action to do it and becomes essentially soft locked until I kill the task.

The sound recorder works fine when I record in FLAC, but for the purposes of what I am doing, FLAC isn't an option and I'd rather not convert it to MP3 every time. Is there a solution to this?

G810-led stopped working for my G213 after I updated the profile https://askubuntu.com/questions/1564305/g810-led-stopped-working-for-my-g213-after-i-updated-the-profile

I know this topic if often coming up with other people. But I haven't found the solution in their posts.

In my Ubuntu 24.04, I decided to change the G810 profile because all it was doing was turning white all keys. I wanted to change this using key groups. But it totally stopped working. Nothing happens. Keyboard backlit is black or not working at all.

I checked a few internet suggestions but still nothing.

I checked the vendor ID and product ID in the command line and it matches 046d c336 wthat I had put in my g810-profile.

I am not detecting any UDEV rules for any G8*.

I am not detecting any services for any G8*

I changed back my profile to just "a ffffff" but still does nothing.

I am not detecting any error messages in journalctl following this.

I am pressing the backlight button twice but nothing.

There is a /etc/g810-led/profile (just above command line) and /etc/g810-led/reboot (no command line).

I tried reinstalling it.

Following some internet suggestions, I tried creating a UDEV rule and the service but it was causing errors in the journalctl. So I removed them.

My mouse g203 light is cycling but I have not done anything for it to work. It started working on day one that I plugged it.

Last time, it was doing the same thing than a few days later, it was working. No idea why and how.

  1. Is there supposed to be a UDEV rule for it?
  2. Is there supposed to be a g810-led.service running?
Only able to access audio through Bluetooth after installing pipewire 1.0.7 and wireplumber https://askubuntu.com/questions/1564304/only-able-to-access-audio-through-bluetooth-after-installing-pipewire-1-0-7-and

I purchased a new Framework 13 laptop a few weeks ago and set it up with Kubuntu. All has been working well except for when I tried to take calls with my airpods. I could hear fine through them, but the mic didn't work. After a lot of troubleshooting, I determined that the issue had to do with the fact that I was running PulseAudio and not PipeWire, so I followed this tutorial and was able to fix the problem. Unfortunately, in the process I somehow lost access to my speakers and my headphone port, as now when I disconnect my airpods, the only audio option is Dummy Output.

I have no idea what caused this and was up until 2 am last night trying various fixes with no luck. I'm wondering if maybe the issue is that I'm running an older version of pipewire (1.0.7) as I've seen a newer stable build in some forum posts (1.4.7). I'm open to anything though, this is my first time with Linux as a former Mac user, so I'm still getting used to it.

Audio tab under System Settings, no Bluetooth:

Audio Tab under System Settings, no Bluetooth

Audio tab when Bluetooth is connected:

Audio Tab when Bluetooth is connected

Running inxi -A

Audio:
  Device-1: Intel Meteor Lake-P HD Audio driver: snd_hda_intel
  API: ALSA v: k6.17.0-14-generic status: kernel-api
  Server-1: PipeWire v: 1.0.7 status: active

When I run pactl info

Server Name: PulseAudio (on PipeWire 1.0.7)
Server Version: 15.0.0

Let me know what other information would be helpful.

Edit:

I think I might have identified the problem though still unclear on what the fix is. When I type aplay -l into the Konsole, I am met with this:

**** List of PLAYBACK Hardware Devices ****
ALSA lib conf.c:2012:(_snd_config_load_with_include) _toplevel_:2:0:Unexpected end of file
ALSA lib conf.c:4120:(config_file_open) /etc/alsa/conf.d/pipewire-jack-x86_64-linux-gnu.conf may be old or corrupted: consider to remove or fix it
ALSA lib conf.c:4042:(snd_config_hooks_call) function snd_config_hook_load returned error: Invalid argument
ALSA lib conf.c:4649:(snd_config_update_r) hooks failed, removing configuration
aplay: device_list:286: control open (0): Invalid argument

So there seems to be something wrong with my ALSA config. How would I go about fixing or removing it?

Not able to log back back into my account after prolonged suspend https://askubuntu.com/questions/1564303/not-able-to-log-back-back-into-my-account-after-prolonged-suspend

If I suspend and log back in after a short amount of time there's no problems, but if the laptop stays in suspend more than an hour or so I can not log back in. I enter the password and the wheel spins and spins but I can not get back to my desktop.I have to reboot to be able to get back into my account. What could be causing this? This started to happen pretty recently.

Permission Issues in 24.04LTS https://askubuntu.com/questions/1564302/permission-issues-in-24-04lts

In the cli I have had this happen twice today on two different PCs. In the cli I can run simple commands like cd or ls -a with no issues. Then I run the update and then upgrade and reboot. I open the terminal and run the same commands I get permission denied. I am at a loss on this.

Why can I not see all my disks in Files https://askubuntu.com/questions/1564300/why-can-i-not-see-all-my-disks-in-files

My machine is a HP Probook 4540s. My version is 24.04.4 LTS. The internal disk is 500 GB with a GUID partioning table. I have connected a number of disks from my old machine, an old MacBook Pro running 10.15.7, Catalina.

When I run Files I see three disks, an empty one called BIG DISK, 1TB, with MBR partitioning, PO-40595, 320GB with GUID partitioning table, and a disk called TM, also 1 TB, which once was used as a Time Machine (backup unit for Mac) and has GUID partitioning. I haven't reformatted the Time Machine disk yet.

But I have a fourth disk, 2TB with GUID partitioning, formatted on the Linux machine and I can't see that disk in Files. How do I make it visible?

It's a while since I used linux (Ubuntu) and I'm a bit out of touch so forgive the very basic nature of my query.

James

Stuck in the Past https://askubuntu.com/questions/1564299/stuck-in-the-past

I successfully installed Ubuntu 24.04 LTS and I needed to roll back to kernel 6.8 on my 2013 MacPro 6.1 (Trash Can).

I managed to get everything working which was, the Dual D700 AMD GPUs, a 1TB NVMe drive for the Ubutnu OS and a Pegasus2 R4 Thunderbolt External HD.

I was wondering if there is a fast/easy method to search for apps to install that will work on my old machine?
For example, Blender no longer supports Open CL, I need to go way back in their versioning to find one that used it, etc.

Thanks

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.

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.

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 -f

Screen flickering on Ubuntu 24.04 inside VirtualBox https://askubuntu.com/questions/1564282/screen-flickering-on-ubuntu-24-04-inside-virtualbox

I’m running Ubuntu 24.04 inside VirtualBox, and I’m experiencing persistent screen flickering inside the guest OS. The flickering happens during normal desktop use (moving windows, opening menus, switching workspaces, etc.). It continues even after installing the correct VirtualBox Guest Additions packages.

This is not a hardware issue, since the host system is stable and only the VM shows the flicker.

What has already been tried

1. Installed the correct VirtualBox guest drivers.

I installed the proper packages for Ubuntu 24.04:

sudo apt update
sudo apt install virtualbox-guest-utils virtualbox-guest-x11

Video Memory: 128 MB

3D Video acceleration: off

Switched to Ubuntu on Xorg - didn't help

2.5G Ethernet PCIe card limited to 100mb | Driver installation guide https://askubuntu.com/questions/1564279/2-5g-ethernet-pcie-card-limited-to-100mb-driver-installation-guide

Ubuntu 24.04

I have recently bought a 2.5 gig network card when i just plugged it in it was limited to 100mb, i suspect i need to install some drivers, from searching around the internet a bunch i think its the r8125 driver i need.

When following the packaging i find this page from RealTek with a script. (i'm getting mixed signals, the website says kernel versions up to 6.12 (I'm running 6.8.0-101) but in the readme it says 2.6.x and 2.4.x. What am i missing there)

When i try to run the script it simply gives this message:

Check old driver and unload it.
Build the module and install
make: *** No rule to make target 'all'.  Stop

This is the out put of sudo lshw -C network

*-network UNCLAIMED
   description: Ethernet controller
   product: RTL8125 2.5GbE Controller
   vendor: Realtek Semiconductor Co., Ltd.
   physical id: 0
   bus info: pci@0000:0c:00.0
   version: 05
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi pciexpress msix vpd cap_list
   configuration: latency=0
   resources: ioport:b000(size=256) memory:df600000-df60ffff memory:df610000-df613fff

I would like someone to guide me pretty diligently through how to install the drivers i need.

EDIT: After running apt install r8125-dmks i got this ethtool output.

Settings for enp12s0:
    Supported ports: [ TP ]
    Supported link modes:   10baseT/Half 10baseT/Full
                            100baseT/Half 100baseT/Full
                            1000baseT/Full
                            2500baseT/Full
    Supported pause frame use: Symmetric Receive-only
    Supports auto-negotiation: Yes
    Supported FEC modes: Not reported
    Advertised link modes:  10baseT/Half 10baseT/Full
                            100baseT/Half 100baseT/Full
                            1000baseT/Full
                            2500baseT/Full
    Advertised pause frame use: No
    Advertised auto-negotiation: Yes
    Advertised FEC modes: Not reported
    Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                         100baseT/Half 100baseT/Full
    Link partner advertised pause frame use: No
    Link partner advertised auto-negotiation: Yes
    Link partner advertised FEC modes: Not reported
    Speed: 100Mb/s
    Duplex: Full
    Auto-negotiation: on
    Port: Twisted Pair
    PHYAD: 0
    Transceiver: internal
    MDI-X: on
    Supports Wake-on: pumbg
    Wake-on: d
    Current message level: 0x00000033 (51)
                           drv probe ifdown ifup
    Link detected: yes
Easy way to open multiple MBOX files https://askubuntu.com/questions/1564254/easy-way-to-open-multiple-mbox-files

Can I open/view multiple MBOX files at once instead of loading them individually? Please suggest an easy solution.

Installer Crashed for Ubuntu 22.04.5 https://askubuntu.com/questions/1564190/installer-crashed-for-ubuntu-22-04-5

Any advice would be great. I am trying to install Ubuntu 22.04.5 on a Dell workstation. I previously was able to install 24.04 dual boot with windows easily with no issues, however a software package I need to use is only compatible with 22. So I wiped that drive and tried to install 22.04. Everything goes fine until the very end of installation, the installer crashes at the same point when it reaches, Installing Packages. After that I cannot restart installation and have to reboot to try again. I have disabled secure boot and tried booting via the safe graphics mode with no success. I have tried installing it on three different SSDs and even removed the windows installation but still haven’t been successful. Using 24 is not an option. One thing to note is that after every crash when it goes to report the bug it cannot because it says my package is unofficial. Idk what that means I am getting the ISO direct from Ubuntu and have tried redownlading/reflashing multiple times. Thank you.

Edit: I am installing using a usb drive and balenaEtcher and validated the checksums. Intel XeonR w3-2535 with 64 gab of DDR5 RAM. Precision 5860 tower. The crash dialog doesn’t load properly it says there is a problem in ubiquity, but I’ve attached logs from the installer folder. https://docs.google.com/document/d/1-G07jqBMVjH74QK4LKCE8TLrpyJAHlIVAEFF1t6osts/edit?usp=drivesdk

What is the matter here with compiling AMD's ROCm with hipcc on Eclipse? (ld.lld: error: unable to find library -llibrocm_smi64) https://askubuntu.com/questions/1564149/what-is-the-matter-here-with-compiling-amds-rocm-with-hipcc-on-eclipse-ld-lld
hipcc -O3 -Wall -c -fmessage-length=0 -MMD -MP -MF"MyClass_test.d" -MT"MyClass_test.o" -o "MyClass_test.o" "../MyClass_test.cpp"
Finished building: ../MyClass_test.cpp
Building target: Experiment
Invoking: GCC C++ Linker
hipcc -L/opt/rocm/include -L/etc/alternatives/rocm/lib -L/opt/rocm/lib -o "Experiment" ./MyClass.o ./MyClass_test.o -llibrocm_smi64
ld.lld: error: unable to find library -llibrocm_smi64
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
failed to execute:/opt/rocm-7.2.0/lib/llvm/bin/clang++ --driver-mode=g++ -O3 --hip-link  -L/opt/rocm/include -L/etc/alternatives/rocm/lib -L/opt/rocm/lib -o "Experiment" ./MyClass.o ./MyClass_test.o -llibrocm_smi64
make: \*\*\* \[makefile:67: Experiment\] Error 1
"make all" terminated with exit code 2. Build might be incomplete.

[ls of the lib directory][1] [1]: https://i.sstatic.net/51l3z1cH.png

Thunderbird stopped showing me new messages, but shows the correct count of unread messages https://askubuntu.com/questions/1556507/thunderbird-stopped-showing-me-new-messages-but-shows-the-correct-count-of-unre

I use Thunderbird for several of my email accounts.

Today I have new messages as usual, but they don't show up in the list of emails (middle panel) so I cannot open them.

Strangely, the count of unread messages shown next to the inbox is correct and updated : when I open emails in the webmail, the number of unread emails is the same as the count in Thunderbird, and it gets correctly updated in Thunderbird. So it seems that Thunderbird is able to download the emails, it just does not show them. Additionally this happens for two different email accounts (with different providers), so it's not caused by something specific to the settings of the account.

I'm on Ubuntu 24.04, using the default snap package, currently version 140.2.0esr-3.

What can I do to solve, or at least diagnose the issue?

I cannot type in the terminal https://askubuntu.com/questions/1461706/i-cannot-type-in-the-terminal

When I open the terminal, the window appears without the ability to write in it. I cannot type, and I also do not see the directory. You can see the screenshot:

terminal

I have already tried killing all running processes and restarting the computer. Additionally I attempted to reset the terminal. How do I fix this?

USB drive is not showing up on Ubuntu and Windows https://askubuntu.com/questions/1420157/usb-drive-is-not-showing-up-on-ubuntu-and-windows

My USB drive is not showing up on my Ubuntu folder and on my Windows folder.

Here is the result of list disk on Windows:

DISKPART> list disk

  Disk ###  Status         Size     Free     Dyn  Gpt
  --------  -------------  -------  -------  ---  ---
  Disk 0    Online          476 GB      0 B        *
* Disk 1    No Media           0 B      0 B

And this the Disks app appearance on Ubuntu:

enter image description here

...but it can't be formatted.

enter image description here

When I check using lsblk:

root@ubuntu:/home/ubuntu# lsblk -f
NAME   FSTYPE     FSVER        LABEL                  UUID                                   FSAVAIL FSUSE% MOUNTPOINTS
loop0  squashfs   4.0                                                                              0   100% /rofs
loop1  squashfs   4.0                                                                              0   100% /snap/bare/5
loop2  squashfs   4.0                                                                              0   100% /snap/core20/1405
loop3  squashfs   4.0                                                                              0   100% /snap/firefox/1232
loop4  squashfs   4.0                                                                              0   100% /snap/gnome-3-38-2004/99
loop5  squashfs   4.0                                                                              0   100% /snap/gtk-common-themes/1534
loop6  squashfs   4.0                                                                              0   100% /snap/snapd-desktop-integration/10
loop7  squashfs   4.0                                                                              0   100% /snap/snap-store/575
loop8  squashfs   4.0                                                                              0   100% /snap/snapd/15177
sda                                                                                                         
├─sda1 vfat       FAT32                               472C-E568                                             
└─sda2 LVM2_membe LVM2 001                            E4D1Ff-vICr-wd3r-Vhjl-m4c8-tHRQ-U6GXqV                
  ├─skx--vol-root
  │    ext4       1.0                                 dbc242db-35a2-4f7d-8706-8bf10e3fc28e                  
  ├─skx--vol-home
  │    ext4       1.0                                 2fdd9573-9b2e-41d4-8584-1acee9d88e99                  
  ├─skx--vol-var
  │    ext4       1.0                                 46328e77-dd87-408c-9308-4541451c7a33                  
  ├─skx--vol-tmp
  │    ext4       1.0                                 537d6f80-04a2-41cd-af15-2541132c1947                  
  └─skx--vol-swap
       swap       1                                   2bf9600e-39c4-4569-824f-e8986601d6f2                  
sdc                                                                                                         
sr0                                                                                                         

Then it's showing a result like this when I try to format sdc which is the device name of my USB drive.

root@ubuntu:/home/ubuntu# sudo mkfs.vfat -F 32 /dev/sdc
mkfs.fat 4.2 (2021-01-31)
mkfs.vfat: unable to open /dev/sdc: No medium found

Here is the log when I check the log at /var/log/syslog and plug in and plug out my drive:

root@ubuntu:/home/ubuntu# tail -f /var/log/syslog 
Jul 24 10:24:42 ubuntu mtp-probe: checking bus 1, device 8: "/sys/devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.2"
Jul 24 10:24:42 ubuntu mtp-probe: bus: 1, device: 8 was not an MTP device
Jul 24 10:24:43 ubuntu kernel: [  978.028993] scsi 4:0:0:0: Direct-Access     Generic  Mass-Storage     1.11 PQ: 0 ANSI: 2
Jul 24 10:24:43 ubuntu kernel: [  978.029836] sd 4:0:0:0: Attached scsi generic sg3 type 0
Jul 24 10:24:49 ubuntu kernel: [  984.086727] sd 4:0:0:0: [sdc] Media removed, stopped polling
Jul 24 10:24:54 ubuntu kernel: [  989.623780] sd 4:0:0:0: [sdc] Attached SCSI removable disk
Jul 24 10:25:16 ubuntu systemd-udevd[9418]: sdc: Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/sdc' failed with exit code 1.
Jul 24 10:25:28 ubuntu gnome-disks[6038]: g_dbus_interface_get_object: assertion 'G_IS_DBUS_INTERFACE (interface_)' failed
Jul 24 10:25:28 ubuntu gnome-disks[6038]: g_dbus_interface_get_object: assertion 'G_IS_DBUS_INTERFACE (interface_)' failed
Jul 24 10:26:18 ubuntu rtkit-daemon[2077]: Supervising 7 threads of 4 processes of 1 users.

Jul 24 10:27:29 ubuntu kernel: [ 1144.805834] usb 1-1.2: USB disconnect, device number 8
Jul 24 10:27:32 ubuntu kernel: [ 1147.409097] usb 1-1.2: new high-speed USB device number 9 using ehci-pci

Jul 24 10:27:32 ubuntu kernel: [ 1147.709074] usb 1-1.2: device descriptor read/64, error -71
Jul 24 10:27:33 ubuntu kernel: [ 1147.929632] usb 1-1.2: New USB device found, idVendor=1908, idProduct=0226, bcdDevice= 1.11
Jul 24 10:27:33 ubuntu kernel: [ 1147.929647] usb 1-1.2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Jul 24 10:27:33 ubuntu kernel: [ 1147.930301] usb-storage 1-1.2:1.0: USB Mass Storage device detected
Jul 24 10:27:33 ubuntu kernel: [ 1147.930547] scsi host4: usb-storage 1-1.2:1.0
Jul 24 10:26:18 ubuntu rtkit-daemon[2077]: Supervising 7 threads of 4 processes of 1 users.
Jul 24 10:27:33 ubuntu mtp-probe: checking bus 1, device 9: "/sys/devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.2"
Jul 24 10:27:33 ubuntu mtp-probe: bus: 1, device: 9 was not an MTP device
Jul 24 10:27:33 ubuntu mtp-probe: checking bus 1, device 9: "/sys/devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.2"
Jul 24 10:27:33 ubuntu mtp-probe: bus: 1, device: 9 was not an MTP device
Jul 24 10:27:34 ubuntu kernel: [ 1148.941646] scsi 4:0:0:0: Direct-Access     Generic  Mass-Storage     1.11 PQ: 0 ANSI: 2
Jul 24 10:27:34 ubuntu kernel: [ 1148.942345] sd 4:0:0:0: Attached scsi generic sg3 type 0
Jul 24 10:27:40 ubuntu kernel: [ 1154.999336] sd 4:0:0:0: [sdc] Media removed, stopped polling
Jul 24 10:27:45 ubuntu kernel: [ 1160.536499] sd 4:0:0:0: [sdc] Attached SCSI removable disk

Jul 24 10:28:07 ubuntu systemd-udevd[9508]: sdc: Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/sdc' failed with exit code 1.
Jul 24 10:28:11 ubuntu rtkit-daemon[2077]: Supervising 7 threads of 4 processes of 1 users.
Jul 24 10:28:11 ubuntu rtkit-daemon[2077]: Supervising 7 threads of 4 processes of 1 users.
Jul 24 10:28:18 ubuntu gnome-disks[6038]: g_dbus_interface_get_object: assertion 'G_IS_DBUS_INTERFACE (interface_)' failed
Jul 24 10:28:18 ubuntu gnome-disks[6038]: g_dbus_interface_get_object: assertion 'G_IS_DBUS_INTERFACE (interface_)' failed
Jul 24 10:28:41 ubuntu rtkit-daemon[2077]: Supervising 7 threads of 4 processes of 1 users.  

Jul 24 10:28:41 ubuntu rtkit-daemon[2077]: Supervising 7 threads of 4 processes of 1 users.
Jul 24 10:30:01 ubuntu CRON[9603]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi)

The issue become apparent after I didn't eject my USB drive before I removed/unplugged my USB drive.

What happened with my drive? Is it already broken? Is there any way to fix this?

Is it possible to use wpa passphrase hash in cloud-init's network-config file? https://askubuntu.com/questions/1339166/is-it-possible-to-use-wpa-passphrase-hash-in-cloud-inits-network-config-file

As the title states I'd like to obfuscate my wifi's credentials and know that wpa supplicant has wpa_passphrase to do this.

My question is can I place wpa_passphrase's hashed output in the entry for password of the network-config file that Ubuntu Server 20.04 LTS uses?

Or is there a similar command to hash the psk for cloud-init files that I should be using instead?

How do I fix "theme parsing error" when attempting to launch plank? https://askubuntu.com/questions/1295032/how-do-i-fix-theme-parsing-error-when-attempting-to-launch-plank

Guys I need help because whenever i launch plank or use "plank -d" it shows this message:

[DEBUG 16:40:00.291288] [GLib-GIO] _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’
[DEBUG 16:40:00.315420] [GLib-GIO] _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’

(plank:26806): Gtk-WARNING **: 16:40:00.358: Theme parsing error: gtk.css:7188:40: Junk at end of value for background-color
[DEBUG 16:40:00.458059] [GLib] unsetenv() is not thread-safe and should not be used after threads are created
[INFO 16:40:00.459287] [AbstractMain:229] Plank version: 0.11.89
[INFO 16:40:00.459376] [AbstractMain:230] Kernel version: 5.4.0-54-generic
[INFO 16:40:00.459461] [AbstractMain:231] GLib version: 2.64.3 (2.61.2)
[INFO 16:40:00.459543] [AbstractMain:234] GTK+ version: 3.24.20 (3.24.10)
[INFO 16:40:00.459624] [AbstractMain:237] Wnck version: 3.32.0
[INFO 16:40:00.459718] [AbstractMain:238] Cairo version: 1.16.0
[INFO 16:40:00.459802] [AbstractMain:239] Pango version: 1.44.7
[INFO 16:40:00.459881] [AbstractMain:240] + Cairo/Gtk+ HiDPI support enabled
[INFO 16:40:00.459961] [AbstractMain:242] + Dynamic Quicklists support enabled
[INFO 16:40:00.460043] [AbstractMain:245] + XInput Barriers support enabled
[INFO 16:40:00.473907] [WindowControl:68] Window-manager: GNOME Shell
[DEBUG 16:40:00.476990] [DockletManager:204] Loading module '/usr/lib/x86_64-linux-gnu/plank/docklets/libdocklet-applications.so'
[INFO 16:40:00.477245] [DockletManager:107] Docklet 'applications' registered
[DEBUG 16:40:00.478689] [DockletManager:204] Loading module '/usr/lib/x86_64-linux-gnu/plank/docklets/libdocklet-battery.so'
[INFO 16:40:00.478884] [DockletManager:107] Docklet 'battery' registered
[DEBUG 16:40:00.480348] [DockletManager:204] Loading module '/usr/lib/x86_64-linux-gnu/plank/docklets/libdocklet-clippy.so'
[INFO 16:40:00.480556] [DockletManager:107] Docklet 'clippy' registered
[DEBUG 16:40:00.482074] [DockletManager:204] Loading module '/usr/lib/x86_64-linux-gnu/plank/docklets/libdocklet-clock.so'
[INFO 16:40:00.482263] [DockletManager:107] Docklet 'clock' registered
[DEBUG 16:40:00.483639] [DockletManager:204] Loading module '/usr/lib/x86_64-linux-gnu/plank/docklets/libdocklet-cpumonitor.so'
[INFO 16:40:00.483826] [DockletManager:107] Docklet 'cpumonitor' registered
[DEBUG 16:40:00.485239] [DockletManager:204] Loading module '/usr/lib/x86_64-linux-gnu/plank/docklets/libdocklet-desktop.so'
[INFO 16:40:00.485472] [DockletManager:107] Docklet 'desktop' registered
[DEBUG 16:40:00.486928] [DockletManager:204] Loading module '/usr/lib/x86_64-linux-gnu/plank/docklets/libdocklet-trash.so'
[INFO 16:40:00.487101] [DockletManager:107] Docklet 'trash' registered
[DEBUG 16:40:00.487218] [GLib] setenv()/putenv() are not thread-safe and should not be used after threads are created
[INFO 16:40:00.487428] [AbstractMain:299] Running with 1 docks ('dock1')
[DEBUG 16:40:00.487566] [DockController:80] Create dock 'dock1' (config_folder = /home/vincent/.config/plank/dock1)
[DEBUG 16:40:00.487643] [GLib] setenv()/putenv() are not thread-safe and should not be used after threads are created
[DEBUG 16:40:00.487871] [Settings:53] Bind 'PlankDockPreferences' to '/net/launchpad/plank/docks/dock1/'

(plank:26806): Gtk-WARNING **: 16:40:00.532: Theme parsing error: gtk.css:7188:40: Junk at end of value for background-color
[DEBUG 16:40:00.636355] [Preferences:349] Loading preferences from file '/home/vincent/.local/share/plank/themes/mcOS-BS-White-Stock/dock.theme'
[DEBUG 16:40:00.640129] [ItemFactory:176] Loading dock elements from '/home/vincent/.config/plank/dock1/launchers'
[DEBUG 16:40:00.641404] [Unity:164] Initializing LauncherEntry support
**
ERROR:arraylist.c:2644:gee_array_list_iterator_real_get: assertion failed: (_index >= 0)
Bail out! ERROR:arraylist.c:2644:gee_array_list_iterator_real_get: assertion failed: (_index >= 0)
Aborted (core dumped)

and it doesn't launch when I click on it. can you guys help me?

Ubuntu 20.04 and Huawei Mobile Stick E3372 https://askubuntu.com/questions/1244855/ubuntu-20-04-and-huawei-mobile-stick-e3372

I am trying to use the HUAWEI 4G Usb-Dongle E3372 with Ubuntu 20.04 but the module doesn't seem to work.

ubuntu@yolo:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 018: ID 12d1:14dc Huawei Technologies Co., Ltd. E33372 LTE/UMTS/GSM HiLink Modem/Networkcard

Do you have any advice?

Update:

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
    inet 192.168.1.88  netmask 255.255.255.0  broadcast 192.168.1.255
    inet6 fe80::dea6:32ff:fe66:502e  prefixlen 64  scopeid 0x20<link>
    ether dc:a6:32:66:50:2e  txqueuelen 1000  (Ethernet)
    RX packets 1546  bytes 135451 (135.4 KB)
    RX errors 0  dropped 1  overruns 0  frame 0
    TX packets 1058  bytes 166563 (166.5 KB)
    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 143  bytes 11669 (11.6 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 143  bytes 11669 (11.6 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether dc:a6:32:66:50:2f  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
How to install software using preseed.cfg Ubuntu 18.04.4? https://askubuntu.com/questions/1219749/how-to-install-software-using-preseed-cfg-ubuntu-18-04-4

I am creating an unattended installation using preseed for Ubuntu Desktop 18.04.4, and I want to install openssh-server (openssh-sftp-server for desktop) making it actually possible to ssh after installation is completed.

I have tried using commands such as: pkgsel/include,ubiquity/success_command and preseed/late_command without any luck.

The preseed does not install software nor does it update the packages.

Ref How To Include Additional Software In preseed.cfg For Ubuntu Server 13.10

If any help:

# Installer config
d-i base-installer/kernel/override-image string linux-image-amd64

# GRUB
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true

# Setting the locales, country
# Supported locales available in /usr/share/i18n/SUPPORTED
d-i debian-installer/language string en
d-i debian-installer/country string IN
d-i debian-installer/locale string en_US.UTF-8

# Keyboard setting
d-i console-setup/ask_detect boolean false
d-i keyboard-configuration/layoutcode string us
d-i keyboard-configuration/xkb-keymap us
d-i keyboard-configuration/modelcode string pc105

# Network configuration
d-i netcfg/choose_interface select auto
d-i netcfg/enable boolean true
d-i netcfg/get_hostname string ubuntu-bionic-desktop
d-i netcfg/get_domain string localdomain
d-i netcfg/wireless_wep string
# d-i hw-detect/load_firmware boolean true

# Mirror settings
choose-mirror-bin mirror/http/proxy string

# Clock and time zone setup
d-i time/zone string UTC
d-i clock-setup/utc-auto boolean true
d-i clock-setup/utc boolean true
d-i clock-setup/ntp boolean true

# Disk and Partitioning setup
d-i partman-auto/disk string /dev/sda
d-i partman-auto-lvm/guided_size string max
d-i partman-auto/choose_recipe select atomic
d-i partman-auto/method string lvm
d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true
d-i partman-lvm/device_remove_lvm boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
d-i partman/confirm_write_new_label boolean true

# Vagrant user creation
d-i passwd/user-fullname string vagrant
d-i passwd/username string vagrant
d-i passwd/user-password password vagrant
d-i passwd/user-password-again password vagrant
d-i user-setup/encrypt-home boolean false
d-i user-setup/allow-password-weak boolean true
d-i passwd/user-default-groups vagrant sudo

# Package installations

d-i pkgsel/include string openssh-sftp-server vim cryptsetup build-essential libssl-dev libreadline-dev zlib1g-dev linux-source dkms nfs-common
# Upgrading the system
d-i pkgsel/install-language-support boolean false
d-i pkgsel/update-policy select none
d-i pkgsel/upgrade select full-upgrade
tasksel tasksel/first multiselect standard, ubuntu-desktop

ubiquity ubiquity/use_nonfree boolean true

d-i preseed/late_command string apt-install openssh-sftp-server;

# Success Installation - Tasks
ubiquity ubiquity/success_command string  \
    in-target apt install openssh-sftp-server;

# Installation - final
d-i finish-install/reboot_in_progress note
ubiquity ubiquity/summary note
ubiquity ubiquity/reboot boolean true`
How to set up L2TP client on Ubuntu 18.04? https://askubuntu.com/questions/1146861/how-to-set-up-l2tp-client-on-ubuntu-18-04

I set up my system according to a tutorial I found on the Internet.

I basically installed the necessary dependencies:

sudo apt install network-manager 
sudo apt install network-manager-l2tp
sudo apt install network-manager-strongswan

And configured them by applying changes on the following files (VPN_SERVER_IP, VPN_IPSEC_PSK, VPN_USERNAME, VPN_PASSWORD are replaced by the real values; XXX.XXX.XXX.XXX in the logs down below is the IP address of the VPN server)

/etc/ipsec.conf:

conn %default
  ikelifetime=60m
  keylife=20m
  rekeymargin=3m
  keyingtries=1
  keyexchange=ikev1
  authby=secret
  ike=aes128-sha1-modp1024,3des-sha1-modp1024!
  esp=aes128-sha1-modp1024,3des-sha1-modp1024!

conn myvpn
  keyexchange=ikev1
  left=%defaultroute
  auto=add
  authby=secret
  type=transport
  leftprotoport=17/1701
  rightprotoport=17/1701
  right=$VPN_SERVER_IP

/etc/ipsec.secrets:

: PSK "$VPN_IPSEC_PSK"

/etc/xl2tpd/xl2tpd.conf:

[lac myvpn]
lns = $VPN_SERVER_IP
ppp debug = yes
pppoptfile = /etc/ppp/options.l2tpd.client
length bit = yes

/etc/ppp/options.l2tpd.client:

ipcp-accept-local
ipcp-accept-remote
refuse-eap
require-chap
noccp
noauth
mtu 1280
mru 1280
noipdefault
defaultroute
usepeerdns
debug
lock
connect-delay 5000
name $VPN_USERNAME
password $VPN_PASSWORD

/etc/NetworkManager/NetworkManager.conf (default, nothing changed):

[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=false

[device]
wifi.scan-rand-mac-address=no

When I want to connect to VPN I do /etc/init.d/network-manager start, nothing extraordinary shows up in the logs:

ifupdown configuration found.
<info>  [1559053123.4216] devices added (path: /sys/devices/virtual/net/lo, iface: lo)
<info>  [1559053123.4216] device added (path: /sys/devices/virtual/net/lo, iface: lo): no ifupdown configuration found.
<info>  [1559053123.4216] end _init.
<info>  [1559053123.4216] settings: loaded plugin ifupdown: (C) 2008 Canonical Ltd.  To report bugs please use the NetworkManager mailing list. (/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-settings-plugin-ifupdown.so)
<info>  [1559053123.4217] settings: loaded plugin keyfile: (c) 2007 - 2016 Red Hat, Inc.  To report bugs please use the NetworkManager mailing list.
May 28 16:18:43 phenom nm-dispatcher: req:1 'hostname': new request (1 scripts)
<info>  [1559053123.4217] (735157440) ... get_connections.
May 28 16:18:43 phenom nm-dispatcher: req:1 'hostname': start running ordered scripts...
<info>  [1559053123.4217] (735157440) ... get_connections (managed=false): return empty list.
<info>  [1559053123.4218] get unmanaged devices count: 0
<info>  [1559053123.4218] manager: rfkill: WiFi enabled by radio killswitch; enabled by state file
<info>  [1559053123.4218] manager: rfkill: WWAN enabled by radio killswitch; enabled by state file
<info>  [1559053123.4218] manager: Networking is enabled by state file
<info>  [1559053123.4219] dhcp-init: Using DHCP client 'dhclient'
<info>  [1559053123.4220] Loaded device plugin: NMBondDeviceFactory (internal)
<info>  [1559053123.4220] Loaded device plugin: NMBridgeDeviceFactory (internal)
<info>  [1559053123.4220] Loaded device plugin: NMDummyDeviceFactory (internal)
<info>  [1559053123.4220] Loaded device plugin: NMEthernetDeviceFactory (internal)
<info>  [1559053123.4220] Loaded device plugin: NMInfinibandDeviceFactory (internal)
<info>  [1559053123.4221] Loaded device plugin: NMIPTunnelDeviceFactory (internal)
<info>  [1559053123.4221] Loaded device plugin: NMMacsecDeviceFactory (internal)
<info>  [1559053123.4221] Loaded device plugin: NMMacvlanDeviceFactory (internal)
<info>  [1559053123.4221] Loaded device plugin: NMPppDeviceFactory (internal)
<info>  [1559053123.4221] Loaded device plugin: NMTunDeviceFactory (internal)
<info>  [1559053123.4221] Loaded device plugin: NMVethDeviceFactory (internal)
<info>  [1559053123.4221] Loaded device plugin: NMVlanDeviceFactory (internal)
<info>  [1559053123.4222] Loaded device plugin: NMVxlanDeviceFactory (internal)
<info>  [1559053123.4229] Loaded device plugin: NMWwanFactory (/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-wwan.so)
<info>  [1559053123.4234] Loaded device plugin: NMBluezManager (/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-bluetooth.so)
<info>  [1559053123.4236] Loaded device plugin: NMWifiFactory (/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-wifi.so)
<info>  [1559053123.4242] Loaded device plugin: NMTeamFactory (/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-team.so)
<info>  [1559053123.4244] Loaded device plugin: NMAtmManager (/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-adsl.so)
<info>  [1559053123.4252] device (lo): carrier: link connected
<info>  [1559053123.4258] manager: (lo): new Generic device (/org/freedesktop/NetworkManager/Devices/1)
<info>  [1559053123.4262] device (enp5s0): carrier: link connected
<info>  [1559053123.4285] manager: (enp5s0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/2)
<info>  [1559053123.4335] modem-manager: ModemManager available
<info>  [1559053123.4336] manager: startup complete

ipsec up myvpn also seems successful:

initiating Main Mode IKE_SA myvpn[1] to 82.161.237.247
generating ID_PROT request 0 [ SA V V V V V ]
sending packet: from 192.168.10.56[500] to 82.161.237.247[500] (212 bytes)
received packet: from 82.161.237.247[500] to 192.168.10.56[500] (136 bytes)
parsed ID_PROT response 0 [ SA V V V ]
received XAuth vendor ID
received DPD vendor ID
received NAT-T (RFC 3947) vendor ID
generating ID_PROT request 0 [ KE No NAT-D NAT-D ]
sending packet: from 192.168.10.56[500] to 82.161.237.247[500] (244 bytes)
received packet: from 82.161.237.247[500] to 192.168.10.56[500] (244 bytes)
parsed ID_PROT response 0 [ KE No NAT-D NAT-D ]
local host is behind NAT, sending keep alives
generating ID_PROT request 0 [ ID HASH N(INITIAL_CONTACT) ]
sending packet: from 192.168.10.56[4500] to 82.161.237.247[4500] (108 bytes)
received packet: from 82.161.237.247[4500] to 192.168.10.56[4500] (76 bytes)
parsed ID_PROT response 0 [ ID HASH ]
IKE_SA myvpn[1] established between 192.168.10.56[192.168.10.56]...82.161.237.247[82.161.237.247]
scheduling reauthentication in 3420s
maximum IKE_SA lifetime 3600s
generating QUICK_MODE request 1511457566 [ HASH SA No KE ID ID NAT-OA NAT-OA ]
sending packet: from 192.168.10.56[4500] to 82.161.237.247[4500] (364 bytes)
received packet: from 82.161.237.247[4500] to 192.168.10.56[4500] (332 bytes)
parsed QUICK_MODE response 1511457566 [ HASH SA No KE ID ID NAT-OA NAT-OA ]
CHILD_SA myvpn{1} established with SPIs c970ab39_i cf32f312_o and TS 192.168.10.56/32[udp/l2f] === 82.161.237.247/32[udp/l2f]
generating QUICK_MODE request 1511457566 [ HASH ]
sending packet: from 192.168.10.56[4500] to 82.161.237.247[4500] (60 bytes)
connection 'myvpn' established successfully

So in general it looks like there are no errors, but I am unable to verify whether I actually made the connection or not. The biggest issue is that no ppp0 device shows up when I execute ip link:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp5s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether 6c:f0:49:70:55:16 brd ff:ff:ff:ff:ff:ff

Because of that I am unable do define which traffic should go through the VPN server. How can I ensure that ppp0 device shows up and the IP address is assigned to it by the DHCP/VPN server?

Setting up Ubuntu Server 16.04 as Gateway for OpenVPN Connection https://askubuntu.com/questions/1025609/setting-up-ubuntu-server-16-04-as-gateway-for-openvpn-connection

I'm trying to set up an Ubuntu Server 16.04 in a VM to act as a gateway for traffic to be tunnelled through a connection via OpenVPN.

The concept is that this VM has a static IP and clients on my network can set that IP as their gateway and the VM should route traffic through the OpenVPN connection. All other clients default via DHCP to the primary gateway.

I followed this webpage as a guide and adapted it to my purposes, however when I set a client to use this tunnel gateway VM as the default gateway it cannot connect to anything outbound.

Here is my configuration:

Tunnel Gateway (Running Ubuntu Server 16.04)
IP:  192.168.2.3
Gateway: 192.168.2.1 (This is the primary gateway that DHCP clients get.)

Contents of /etc/rc.local:

# /etc/rc.local

# Default policy to drop all incoming packets
iptables -P INPUT DROP
iptables -P FORWARD DROP

# Accept incoming packets from localhost and the LAN interface
iptables -A INPUT -i lo -j ACCEPT
iptables -A INPUT -i ens160 -j ACCEPT

# Accept incoming packets from the WAN if the router initiated
# the connection
iptables -A INPUT -i tun0 -m conntrack \
    --ctstate ESTABLISHED,RELATED -j ACCEPT

# Forward LAN packets to the WAN
iptables -A FORWARD -i ens160 -o tun0 -j ACCEPT

# Forward WAN packets to the LAN if the LAN initiated the
# connection
iptables -A FORWARD -i tun0 -o ens160 -m conntrack \
    --ctstate ESTABLISHED,RELATED -j ACCEPT

# NAT traffic going out the WAN interface
iptables -t nat -A POSTROUTING -o tun0 -j MASQUERADE

# rc.local needs to exit with 0
exit 0

tun0 is established via systemctl on system start with a config file. Once established the tunnel gateway VM has no problem sending traffic through it by default.

The client is configured like this:

IP: 192.168.2.42
Default Gateway: 192.168.2.3

RDP into Guest VM running locally https://askubuntu.com/questions/943180/rdp-into-guest-vm-running-locally

I've gotten RDP through Remmina to connect to a Windows 8 guest running locally on my Ubuntu 17.04 installation on my home network using the Bridged Adapter setting in the VirtualBox Manager.

The problem I have is that I would like to be able to connect to the Windows 8 guest on the same machine when I'm at work. Unfortunately, there the Bridged Adapter doesn't work because of internal IT rules; the guest OS is blocked from seeing the internet.

My current thinking is that I can create a second connection in the VirtualBox Manager, a Host-Only Adapter, and use that to connect from my host to into the virtual machine. That way the guest OS can see the internet through the first connection via NAT and I can log into the guest through the host-only adapter.

Unfortunately, trying this, Remmina won't connect to the guest OS. I can see the local vboxnet0 network in the host ifconfig and the guest OS reports an IP address for the connection. I'm assuming, though, that Remmina is asking the internet to the connect to the IP address, rather than trying to connect to the guest running locally. Is there a way to accomplish this successfully? Or is there a better solution for what I'm trying to do?

Ultimately I'm hoping to use RDP to run individual applications on the host rather than having to turn on and log into Windows every time I need to run a Windows-specific application. This is mainly to be able to use Office365 on my regular Ubuntu installation.

Thanks in advance for your time, consideration, and advice. I'm looking forward to hearing back.

hd1 cannot get C/H/S values https://askubuntu.com/questions/664733/hd1-cannot-get-c-h-s-values

Ok, I know there are many questions about this topic, but I can't found a convince answer (fixing the problem or not).

Recently I bought an SSD drive and installed in main SATA (hd0), I've replaced my cd/dvd drive with old hdd drive, using a caddy adapter.

Now I've installed Ubuntu on SSD and windows 10 on hdd.

The problem is on the boot, when I select windows in grub menu I'm faced with this error: cannot get C/H/S values.

I can't set hdd boot on BIOS because it's expected a ODD driver.

I have a Dell Inspiron 14R-5437.

Is there a workaround for this?

After installing fglrx on Ubuntu 14.04 there is no backlight (hd 5470). Is there any workaround? https://askubuntu.com/questions/459930/after-installing-fglrx-on-ubuntu-14-04-there-is-no-backlight-hd-5470-is-there

I've installed fglrx driver on my Asus k52je laptop with mobility radeon hd 5470 using additional drivers window in ubuntu. I get black screen after reboot. When I hold power button i can barely see shutdown, restart, lock and suspend icons and I am able to choose one. I've also tried building driver from sources and installing from xorg-edgers. None of those worked. Is there any workaround?

EDIT:

It seems I can use external monitor without issues

How to run a checkdisk? https://askubuntu.com/questions/59064/how-to-run-a-checkdisk

I suspect there might be bad sector on a disk. I used ext3 filesystem.

What tool is the best equivalent of the error checking tool of Windows?