hakuna-m / wubiuefi

fork of Wubi (https://launchpad.net/wubi) for UEFI support and for support of recent Ubuntu releases
GNU General Public License v2.0
1.07k stars 152 forks source link

ERROR: Verification failed:(0x1A)Security Violation & #175

Open qixuchang opened 4 years ago

qixuchang commented 4 years ago

Five PCs in my team use wubi to automatically install xubuntu and get error warnings:

1.ERROR: Verification failed: (0x1A) Security Violation.

2, Go back to the menu and resume partitioning? No EFI System Partition was found. This system will likely not be able to boot successfully, and the installation process may fail. Please go back and add an EFI System Partition, or continue at your own risk.

what is the reason? How to solve these problems?

Wubi version: Wubi for Ubuntu 19.04 (rev. 336) xubuntu version: xubuntu-18.04.2-desktop-amd64.iso

qixuchang commented 4 years ago

Very important, please author reply, thank you!

hakuna-m commented 4 years ago

Five PCs in my team use wubi to automatically install xubuntu and get error warnings:

1.ERROR: Verification failed: (0x1A) Security Violation.

What kind of PCs do you use (model, UEFI firmware/BIOS version) ? Is Secure Boot enabled ?

2, Go back to the menu and resume partitioning? No EFI System Partition was found. This system will likely not be able to boot successfully, and the installation process may fail. Please go back and add an EFI System Partition, or continue at your own risk.

see release notes(known issues) But issue should not affect Xubuntu 18.04.2 from xubuntu-18.04.2-desktop-amd64.iso. Are you sure that you install Xubuntu 18.04.2 with Wubi for Ubuntu 19.04 (rev. 336) ? Automatic download is Xubuntu 19.04 for wubi1904r336.exe .

qixuchang commented 4 years ago

Wubi1904r336.exe automatically downloads xubuntu 19.04, and the use result is the same as the fault prompt.

oodorii commented 4 years ago

I just had this issue with Zorin OS onto an HP Stream. I solved my mystery with no help of the internet so I thought I'd post my solution somewhere.

I turned Secure Boot off. Disable it. It loaded with no issues after that.

hakuna-m commented 4 years ago

@oodorii Thank you for sharing your solution.

It is a general solution if a boot loader does not support Secure Boot. If a boot loader supports Secure Boot, you can also try to import the key which was used to sign the boot loader for Secure Boot. For Wubiuefi, see MoKManager

So that issue should be already solved for Wubiuefi.

@qixuchang If it is not solved, I need more information. Besides the Secure Boot issue, you also reported an issue which has been known since 18.10. That issue depends on the used ISO only. Currently, there are reports for the Ubuntu ISO of 18.10, 19.04 and 19.10. Maybe, some other ISOs are also affected e.g. Xubuntu ISO for 18.04.2. But there has ever been a workaround. Does the workaround e.g. from here (user confirmation ("Continue") is necessary for new questions) solves the issue ?

anonmanx commented 4 years ago

@hakuna-m My bios mode is uefi and secure boot state is off. But I am getting this error number 2 mentioned in the main question. What should I do? Do I need to create some kind of efi partition or like that? Like in the hdd I am installing ubuntu into, I need to create a small partition for EFI? mentioning that already created a partition of 30 gbs for installing ubuntu which is just a primary partition. And so do I need to create another EFI partition?

Using Windows 10 and trying to install ubuntu 18.04.3 LTS with your WUBI ubuntu 18.04.2

And this is one of the known problems. But can't seem to find the solutions of the known problems in the release notes. Can you please help?

hakuna-m commented 4 years ago

And this is one of the known problems. But can't seem to find the solutions of the known problems in the release notes. Can you please help?

As I wrote above the workaround for the known issue is to skip user confirmations by selecting "Continue".

Does the workaround e.g. from here (user confirmation ("Continue") is necessary for new questions) solves the issue ?

abrahamt17 commented 3 months ago

My pc is hp, UEFI os Fedora secure boot was enabled when i get this verification failed error but i disabled it later and still couldn't get it. I just got a black screen even.