Help? Dual boot REPAIR (Windows 10 & Ubuntu 18.04.1)

Please assist? Original OS Windows 10. 2nd OS Ubuntu 18.04.1. Both installed on a separate SSD from storage/documents HDD.

Worked perfectly until a week ago, but upon waking I could no longer boot to Windows, only Ubuntu. So apparently something is wrong with GRUB2, but I’ve no idea what. Please speak as if I know nothing (mostly true re boot repair, OS problems)

Thank much!

Gnome-screen-shield is gone after trying gnome themes! How can i bring it back? Ubuntu 18.04.1 LTS

After trying some gnome-extensions such as: user themes, dash to dock and blyr. and installing gtk3 themes, icon packs, gnome shell only on gnome tweak tools, gnome screen shield is gone. After loging out it jumps straight into login screen without showing swipe screen with clock. how can i bring it back?

Annother complain: It looks like these themes have installed bunch of desktop-shells somehow. I see in login screen options for Unity, Ubuntu on Wayland, Ubuntu(original one) and LXQt desktops as extra. I am confused and have no idea how they are installed. How can i uninstall them?

I have tried following: *Setting all extension and theme settings back to original and removing them. *running system repair in ubuntu recovery mode *sudo apt install –reinstall ubuntu-desktop *sudo apt install –reinstall gnome-screen-saver

18.04.1 dual monitor mouse issue

Dual monitors are working properly when I run “xrandr –output DVI-I-1 –primary –below DVI-I-1 –above VGA-1” from settings/session and Startup. The mouse works in the correct orientation as well. My problem is the mouse is misguided with respect to which monitor is above and which is below.

My big screen TV monitor is above my two Dell monitors which are side by side. I only use the lower right Dell monitor as –primary for the Ubuntu desktop and only two monitors for Ubuntu all together. The lower left Dell primary monitor is for the Windows desktop.

I have to drag the mouse cursor down on the lower monitor to get it to display on the upper monitor. I am not proficient with Ubuntu at all just kinda self-learning and filling in holes of misunderstandings as I go along. It’s not a make or break thing just agitating as all get out. Any suggestions will be appreciated. Thanks in advance.

VirtualBox Web Service missing after clean installation on Ubuntu 18.04.1 LTS

I just set up a new dedicated server with a clean installation of Ubunutu 18.04.1 LTS minimal. I’m trying to install VirtualBox with PHPVirtualBox, preferably using VirtualBox 6, but also willing to settle for VirtualBox 5 if that’s what it takes to work. 😉

This is what I did after the installation of the OS:

apt update apt upgrade apt dist-upgrade apt install virtualbox 

The installation seems to have worked:

root@Ubuntu-1804-bionic-64-minimal ~ # vboxmanage --version 5.2.18_Ubuntur123745 

But at this point, from my experience with previous versions of Ubuntu an VirtualBox, there should be four services installed (aka the respective files present in /etc/init.d): vboxautostart-service, vboxballoonctrl-service, vboxdrv and vboxweb-service

However, the /etc/init.s directory looks like this:

root@Ubuntu-1804-bionic-64-minimal /etc/init.d # ls -la total 128 drwxr-xr-x  2 root root 4096 Apr  3 22:50 . drwxr-xr-x 82 root root 4096 Apr  3 23:02 .. -rwxr-xr-x  1 root root 4335 Mar 22  2018 apparmor -rwxr-xr-x  1 root root 1071 Aug 22  2015 atd -rwxr-xr-x  1 root root 1232 Apr 19  2018 -rwxr-xr-x  1 root root 2489 May  6  2012 cpufrequtils -rwxr-xr-x  1 root root 3049 Nov 16  2017 cron -rwxr-xr-x  1 root root 2813 Nov 15  2017 dbus -rwxr-xr-x  1 root root  985 Mar  4  2018 grub-common -rwxr-xr-x  1 root root 2363 Jul 17  2017 haveged -rwxr-xr-x  1 root root 3809 Feb 14  2018 -rwxr-xr-x  1 root root 1479 Feb 15  2018 -rwxr-xr-x  1 root root 2044 Aug 15  2017 kmod -rwxr-xr-x  1 root root 6912 May  6  2012 loadcpufreq -rwxr-xr-x  1 root root  695 Dec  3  2017 lvm2 -rwxr-xr-x  1 root root  571 Dec  3  2017 lvm2-lvmetad -rwxr-xr-x  1 root root  586 Dec  3  2017 lvm2-lvmpolld -rwxr-xr-x  1 root root 2653 Mar  7  2018 mdadm -rwxr-xr-x  1 root root 1249 Mar  7  2018 mdadm-waitidle -rwxr-xr-x  1 root root 1191 Jan 17  2018 procps -rwxr-xr-x  1 root root 4355 Dec 13  2017 rsync -rwxr-xr-x  1 root root 2864 Jan 14  2018 rsyslog -rwxr-xr-x  1 root root 3837 Jan 26  2018 ssh -rwxr-xr-x  1 root root 5974 Apr 20  2018 udev -rwxr-xr-x  1 root root 1306 Mar 15  2018 uuidd -rwxr-xr-x  1 root root 6444 Nov 11  2017 virtualbox -rwxr-xr-x  1 root root 2757 Jan 20  2017 x11-common 

When I check if the kernel modules are loaded, as described in this seemingly fine tutorial, via systemctl status vboxdrv, the output is:

root@Ubuntu-1804-bionic-64-minimal ~ # systemctl status vboxdrv Unit vboxdrv.service could not be found. 

When I try ot enable the VirtualBox Web Service, as described in the VirtualBox Web Service documentation, via systemctl enable vboxweb-service, the output is:

root@Ubuntu-1804-bionic-64-minimal ~ # systemctl enable vboxweb-service Failed to enable unit: Unit file vboxweb-service.service does not exist. 

The same happens when I manually add the package source and analogously try to install VirtualBox 6. It looks like three services that should be present are missing. What am I missing?

Ubuntu Booting Issues – (Unknown File System errors) Version 18.04.1 LTS

Yesterday when a formatted an external USB drive i thought i made a mistake initially in selecting the wrong drive. Everything as fine though, nothing went wrong initially.

After all that had happened my computer continued to work fine. Went to bed;woke up today and started working and everything was fine (i did not power off last night it was on sleep mode). However l was trying to install this dev tool and to make sure everything was working l restarted it and it wont boot properly just an ‘unknown file system’ error when l boot.

l used a live USB Ubuntu (Try Ubuntu) to recover and followed some instructions to use boot repair from:

l did that and tried to restart again and still am ending up with the same file system error. Keep in mind l already checked all the file systems using the commands on Grub to check if it was loading from the right partition but all of them turned up with nothing any ideas ?

Edit: Here is y pasteUrl -

Graphics driver causing boot issues | Ubuntu 18.04.1

I added the graphics-drivers PPA and installed the 415 driver, but it seemed that in doing so my 940MX was no longer being utilised. So, I attempted to revert to the 390. I made the mistake of removing the PPA before switching away, though. When I tried to switch back to the 390 driver, Ubuntu spat out an error – I can’t remember the exact message, though I believe it mentioned something not being found in cache.

After restarting my system, the boot process got stuck on a screen flooded with countless “Starting NVIDIA persistence daemon” and “Stopping NVIDIA persistence daemon” messages. To get the system to boot, I had to enter recovery mode and use prime-select intel. If I use the Nouveau driver the system can boot, but my laptop doesn’t seem to use my GPU.

Running nvidia-smi produces the following:

NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

I followed the advice here, but it unfortunately didn’t help. I’ve attempted to remove any remnants that the 415 driver may have left behind. Initially I looked this thread, but regarding the page linked by it the directory /usr/local/cuda-X.Y does not exist (as in, theres no cuda-related directory), and the link /usr/bin/nvidia-uninstall points to nvidia-installer, but that doesn’t exist. So, I removed the packages as recommended in accordance with this answer. I then set the driver to NVIDIA’s 390 in the software settings, so it re-installed everything. Still, restarting with the NVIDIA GPU selected stops me from being able to boot.

The result of dpkg -l | grep nvidia at the time of writing is the following:

ii  libnvidia-cfg1-390:amd64                   390.77-0ubuntu0.18.04.1                           amd64        NVIDIA binary OpenGL/GLX configuration library ii  libnvidia-common-390                       390.87-0ubuntu0~gpu18.04.1                        all          Shared files used by the NVIDIA libraries ii  libnvidia-compute-390:amd64                390.77-0ubuntu0.18.04.1                           amd64        NVIDIA libcompute package ii  libnvidia-compute-390:i386                 390.77-0ubuntu0.18.04.1                           i386         NVIDIA libcompute package ii  libnvidia-decode-390:amd64                 390.77-0ubuntu0.18.04.1                           amd64        NVIDIA Video Decoding runtime libraries ii  libnvidia-decode-390:i386                  390.77-0ubuntu0.18.04.1                           i386         NVIDIA Video Decoding runtime libraries ii  libnvidia-encode-390:amd64                 390.77-0ubuntu0.18.04.1                           amd64        NVENC Video Encoding runtime library ii  libnvidia-encode-390:i386                  390.77-0ubuntu0.18.04.1                           i386         NVENC Video Encoding runtime library ii  libnvidia-fbc1-390:amd64                   390.77-0ubuntu0.18.04.1                           amd64        NVIDIA OpenGL-based Framebuffer Capture runtime library ii  libnvidia-fbc1-390:i386                    390.77-0ubuntu0.18.04.1                           i386         NVIDIA OpenGL-based Framebuffer Capture runtime library ii  libnvidia-gl-390:amd64                     390.77-0ubuntu0.18.04.1                           amd64        NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD ii  libnvidia-gl-390:i386                      390.77-0ubuntu0.18.04.1                           i386         NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD ii  libnvidia-ifr1-390:amd64                   390.77-0ubuntu0.18.04.1                           amd64        NVIDIA OpenGL-based Inband Frame Readback runtime library ii  libnvidia-ifr1-390:i386                    390.77-0ubuntu0.18.04.1                           i386         NVIDIA OpenGL-based Inband Frame Readback runtime library ii  nvidia-compute-utils-390                   390.77-0ubuntu0.18.04.1                           amd64        NVIDIA compute utilities ii  nvidia-dkms-390                            390.77-0ubuntu0.18.04.1                           amd64        NVIDIA DKMS package ii  nvidia-driver-390                          390.77-0ubuntu0.18.04.1                           amd64        NVIDIA driver metapackage ii  nvidia-kernel-common-390                   390.87-0ubuntu0~gpu18.04.1                        amd64        Shared files used with the kernel module ii  nvidia-kernel-source-390                   390.77-0ubuntu0.18.04.1                           amd64        NVIDIA kernel source package ii  nvidia-prime                                                                all          Tools to enable NVIDIA's Prime ii  nvidia-settings                            390.77-0ubuntu0.18.04.1                           amd64        Tool for configuring the NVIDIA graphics driver ii  nvidia-utils-390                           390.77-0ubuntu0.18.04.1                           amd64        NVIDIA driver support binaries ii  xserver-xorg-video-nvidia-390              390.77-0ubuntu0.18.04.1                           amd64        NVIDIA binary Xorg driver 

How do you get mouse wheel to scroll the page and not the cursor? [Ubuntu 18.04.1 LTS]

I apologize in advance if this has already been asked. I have searched for this solution for a couple hours now and could not find what I’m looking for.

I am primarily a Windows user. In Windows, if I scroll up or down with the mouse wheel in a text editor, the entire window moves. In Ubuntu, I notice that the mouse wheel causes the CURSOR to move, and the window only moves once the cursor reaches the edge of the window.

Is there a way to change this so that scrolling the mouse wheel causes the page to move while leaving the cursor in place?

Preseeding Dual boot dual hard drives Ubuntu 18.04.1 LTS

First post here. Just wondering if anyone can help. I’m not Linux expert or anything so this may just be my brain frazzling!

Ok, so I’m using the same hardware and same method I have been using with 16.04.x which all worked fine. I am using a fairly new pc with two nvme hard drives in (one 500gb and one 250gb). In my preseed file under partitioning I specify the 250gb disk (d-i partman-auto/disk string /dev/nvme1n1) for Ubuntu as Windows goes on nvme0n1 (the 500gb disk). My auto deployment/installation of Ubuntu works fine for a few times but then suddenly i’ll find that for some reason its installed itself onto the 500gb disk instead of the 250gb?! If i then look in gparted or do lsblk the disk labels have swapped over so now the 250gb disk appears as nvme0n1 instead of nvme1n1 and the 500gb appears as nvme1n1 instead of nvme0n1. If I reboot then usually the labels have switched back to how they should be but obviously Ubuntu has now written over the windows 500gb disk. When i deploy Windows 10 via sccm it will consistently deploy to the 500gb disk (disk 0) Any suggestions or workarounds would be greatly appreciated. Currently i’ve sort of given up on this and am waiting for 18.04.2 to see if that fixes anything. Thanks Rob