Dual Boot – GRUB2 does not show Windows 10 as the third operating system on my PC after installing Ubuntu 19.10, under Windows 10 and Ubuntu 18.04

I had a perfectly functioning dual boot, but last week I connected a 250 GB SSD to install Ubuntu 19.10 under (under the existing installations of Windows 10 (128 GB SSD) and Ubuntu 18.04 (800 GB)). Unfortunately, it was not as easy as expected. The problem is as follows.

When I start my system, I can only choose between Ubuntu 18.04 and my new Ubuntu 19.10, but the GRUB2 boot loader does not find a window. To solve the problem, I ran the boot repair tool on my new system, which gave me the following dump:

https://paste.ubuntu.com/p/8r4rpB5SVv/

If I concentrate on the repair suggested by the boot repair, I would have to create an unformatted file system with> 1 MB and the flag bios_grub. However, this also gives me two problems. Assuming that it is desirable that I created this partition on my new drive, I cannot customize the partitions on this active operating system (obviously … I suppose). The second problem is that I cannot label a raw file system. The program does not allow me to manage these flags.

If information is missing, please let me know and I will update my post.

I hope someone can help me with this problem.

Thanks a lot!

grub2 – One of my two Linux drives (Ubuntu) has disappeared from the boot:

I have had a dual boot work without problems for a long time. Then a few weeks ago I decided to copy one (SSD 256G on / sdb) as a backup to a third hard drive that I had installed on / sdc for this purpose and which was not used.

The session went well, but when I restarted the next day, I went straight to the BIOS, where no boot options were available.

I removed the 3rd drive, same thing.

I activated CSM and only one drive was listed that I had not copied (SSD 1T on / sda).

I can boot well from this, but when I try to boot from the other at grub, I get a black screen. Grub tries to load, but issues a signature that is not signed with a trusted key error.

Boot Repair and Grub see the missing drive, but the BIOS does not.

The contents of the drive are intact and I can access them from the working drive. So it's a start problem.

I don't understand why copying one drive to another could have confused the origin.

And I'm afraid to do anything because I really don't want to lose the content on the missing drive.

I usually solve my problems myself by doing some research, but this time I'm stuck asking for help …

I'll attach the boot repair log if it contains useful information and a picture of my Grub Customizer. I can provide everything that is required.
Thanks a lot!

Boat Repair
clear

grub2 – MacBook Air & # 39; 11 brightness control does not work

I have updated my Ubuntu since December 2019. I use it on the MacBook Air 2011, but when I tried to change my brightness to lower. It is not a working function. I tried to update my grub /etc/default/grub and added acpi_backlight=vendor at the end in the 5th line of maggot codes. I updated the following and restarted my MacBook Air:

GRUB_DEFAULT="0"
GRUB_TIMEOUT_STYLE="hidden"
GRUB_TIMEOUT="0"
GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset acpi_backlight=vendor"
GRUB_CMDLINE_LINUX=""

grub2 – Grub was installed incorrectly

I am currently using Ubuntu as the main operating system on my Lenovo laptop and wanted to try a different distribution on a USB drive. During installation, I was asked to install grub on the main partition. If I now boot my laptop without USB, I will be thrown into the Grub command line. I tried to install grub on the main drive. This is the easiest way to display the GRUB boot loader first, but to no avail. I'm relatively clueless because I'm not familiar with Grub.
I am happy to provide editions or screenshots if they are needed. Thanks for your answers in advance.

grub2 – Ubuntu installation messed up something?

**** The process was successful on a Lenovo ThinkCentre M81 i3 processor, 8G RAM and a new installation of Ubuntu Studio, but at the end (after the restart) a new black screen is displayed with the following message:
E53: No start file name was received
MOF: Intel Boot Agent exits.
Error 1965: No operating system found.
Press any key to repeat the start sequence.
Try Linux as a newcomer. Ubuntu was installed just a week ago and worked just fine (including installing Ardor, LMMS, Blender, etc.), but after trying to reinstall Ubuntu Studio 19.10, something didn't work. Is there anyone who could help? After two unsuccessful attempts to open Ubuntu Studio from the hard drive, I tried to run the program directly from the USB stick and it worked fine. It shows 24 folders in the "file system". 5 of these folders have & # 39; arrows & # 39; (bin, lib, lib32, lib64, fibx32 and sbin). The 24 folders in "500 GB Volume" (hard disk) are identical, with the exception of the grayed out folder "swapfile" and "root", which are both marked with an X. The Ubuntu Studio (home folder) has 8 folders, all of which are empty, except for & # 39; desktop & # 39; which contains the "Install Ubuntu Studio 19.10" folder. On the main page (blue with logo) in the "500GB Volume" folder are the applications that work well (I tried a few). So Ubuntu Studio seems to work great on the USB stick, but it won't start without the USB stick inserted. So I just tried to install Ubuntu 18.04 again and got the same error message "No operating system found" (as with Ubuntu) Studio). This Ubuntu operating system worked fine before trying to install Ubuntu Studio and now nothing works. What is going on here and can someone provide a clear solution? ***

grub2 – Upgrade error: when removing the kernel

If you try to install or upgrade the system, removing the kernel will result in errors. Grub works well and I see menu when booting.
Maybe some additional information should be provided?

$ sudo apt-get upgrade
...
The following packages will be REMOVED:
  linux-image-4.15.0-52-generic
...
Removing linux-image-4.15.0-52-generic (4.15.0-52.56) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-4.15.0-52-generic
/etc/kernel/postrm.d/x-grub-legacy-ec2:
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... 

Could not find /boot/grub/menu.lst file. Would you like /boot/grub/menu.lst generated for you? (y/N) /usr/sbin/update-grub-legacy-ec2: line 1101: read: read error: 0: Bad file descriptor
run-parts: /etc/kernel/postrm.d/x-grub-legacy-ec2 exited with return code 1
dpkg: error processing package linux-image-4.15.0-52-generic (--remove):
 installed linux-image-4.15.0-52-generic package post-removal script subprocess returned error exit status 1
Errors were encountered while processing:
 linux-image-4.15.0-52-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

grub2 – aptitude is stuck in a loop after running apt autoremove

Every time I update packages, I'm stuck in this menu:

  │ A new version of /boot/grub/menu.lst is available, but the version installed currently has been locally modified.  │
                            │                                                                                                                    │
                            │ What would you like to do about menu.lst?                                                                          │
                            │                                                                                                                    │
                            │                             install the package maintainer's version                                               │
                            │                             keep the local version currently installed                                             │
                            │                             show the differences between the versions                                              │
                            │                             show a side-by-side difference between the versions                                    │
                            │                             show a 3-way difference between available versions                                     │
                            │                             do a 3-way merge between available versions (experimental)                             │
                            │                             start a new shell to examine the situation                                             │
                            │                                                                                                                    │
                            │                                                                                                                    │
                            │                                                                                                                │
                            │

I tried removing the kernel headers with apt autoremove to free up space and now all the updates hang in this loop no matter what you choose and show you this menu.

Any idea how to fix the problem?

Ubuntu 16.04.4 LTS (GNU / Linux 4.4.0-170 generic x86_64)

grub2 – grub-efi-amd64.signed is missing – ask Ubuntu

MY COMPUTER
-Model: Msi GL72 7QF
Processor: Intel i7-7700HQ; 2.8 GH
-RAM: 16 GB DDR4
-GPU: nVidia GTX960M, Optimus activated
-SSD: 500 GB, GPT UEFI
-OS: Windows10 Insider Preview; Mageia 7; Ubuntu 4/18/3 LTS

Safe start and fast start are deactivated


When installing Ubuntu (using the "something other than option" + format) alongside the other two operating systems, the following error message appeared during the installation process:

The package & # 39; grub-efi-amd64.signed & # 39; could not be installed in / target /.

Ubiquity error message

Using the Windows Boot Device Manager to load Ubuntu fails and sends me to the GRUB shell I use. This is the literal interpretation of the error message. When examining the EFI partition, however, it becomes clear that the Ubuntu installation program has inserted something there.

root@msi:/mnt# ls -l
total 20
drwx------ 3 root root 4096 Dec 31 15:28  boot-repair
drwx------ 4 root root 4096 May 15  2019  boot-sav
drwx------ 8 root root 4096 Jan  8 18:12  EFI
drwx------ 4 root root 4096 May 29  2019 'System Volume Information'
drwx------ 3 root root 4096 Aug 21 20:30 '$WINDOWS.~SY'
root@msi:/mnt# cd EFI
root@msi:/mnt/EFI# ls -l
total 24
drwx------ 4 root root 4096 Dec 31 17:09 Boot
drwx------ 2 root root 4096 Nov 29 11:28 mageia
drwx------ 4 root root 4096 Nov  1 10:58 Microsoft
drwx------ 4 root root 4096 Nov  1 10:58 MSI
drwx------ 4 root root 4096 Nov  1 10:58 refind
drwx------ 3 root root 4096 Jan  8 18:12 ubuntu
root@msi:/mnt/EFI# cd ubuntu
root@msi:/mnt/EFI/ubuntu# ls -l
total 3724
-rwx------ 1 root root     108 Jan  8 19:39 BOOTX64.CSV
drwx------ 2 root root    4096 Jan  8 18:12 fw
-rwx------ 1 root root   75992 Jan  8 18:12 fwupx64.efi
-rwx------ 1 root root     126 Jan  8 19:39 grub.cfg
-rwx------ 1 root root 1116024 Jan  8 19:39 grubx64.efi
-rwx------ 1 root root 1269496 Jan  8 19:39 mmx64.efi
-rwx------ 1 root root 1334816 Jan  8 19:39 shimx64.efi
root@msi:/mnt/EFI/ubuntu# 

With easyUEFI, I created entries in the Windows boot device manager that refer to shimx64.efi and grubx64.efi, with similar results, i. H. Ubuntu does not boot and I am sent to the GRUB shell. I also installed reFINd and was able to boot Ubuntu via boot vmlinuz-5.0.0.23-generic. At this point I installed the nVidia drivers and updated the operating system. In other words, Ubuntu's operating system runs well, but that grub-efi-amd64-signed Package reportedly missing and I can't boot from Grub (via Windows)

I've gone as far as I can. What do I have to do for Grub to work in this Ubuntu installation? It works well in Magia and various other Linux distributions that I have installed in the past.

grub2 – Ubuntu 18 does not boot after uninstalling Windows 10 from Dual Boot

So I have an Acer Aspire E5, a laptop that came with Windows 10.

I installed Ubuntu 18 as a dual boot.

Now that I'm running out of space, I tried to remove Windows 10. Now I can no longer boot Ubuntu.

Summary of what I did.

Used Ubuntu USB Live then,

Gparted / OSuninstaller used to remove Windows 10. The Windows 10 partition and also EFI / Boot partitions were deleted after many problems were encountered. I used boot repair to fix my boat. The insertion container of the protocol with the error "Unknown boot loader" is located here:

Boat-repair issue

Finally my partitions look like you see them from GParted to Live-USB:

GParted Image

Now when I boot, I get the grub options:

Grub screenshot

In the end, however, I get the following and cannot boot:

"You are in emergency mode .."

Cannot boot, emergency mode

The good thing is that all of my data is still there, which I can see from an Ubuntu USB device that holds the laptop drive.

So I'm not using Windows, but removing the EFI / Boot partition caused this problem. In addition, the boot repair wants me to boot with UEFI mode (and not legacy). Can that be fixed? Or do I have to buy a new drive, install Ubuntu and move my data?

Thanks a lot!