ventoy / Ventoy

A new bootable USB solution.
https://www.ventoy.net
GNU General Public License v3.0
62.94k stars 4.1k forks source link

Kaspersky Rescue Disk not loading #65

Closed IvanAclu closed 4 years ago

IvanAclu commented 4 years ago

KRD is listed as as compatible. https://www.ventoy.net/en/isolist.html

I have tried Ventoy 1.0.06, 1.0.07 and 1.0.08 and while it is possible to boot the ISO it fails to load. After selecting the language, an error occurs when the display mode is selected in both MBR and UEFI modes.

To use under UEFI there is a note to set check_signatures=no in the grub shell before boot. Boot Ventoy Press C to get to Grub command line Enter set check_signatures=no Press return Press Escape Select KRD This has no effect and the same error occurs.

ventoy commented 4 years ago

Can you give the krd.iso size or checksum? I want to see whether we tested the same iso file. Or you can give a download link for your iso.

Besides, can you give more detail about error? maybe some photos ?

IvanAclu commented 4 years ago

KRD changes daily as the virus definitions are updated. I use the latest version from here https://support.kaspersky.com/viruses/krd18

ventoy commented 4 years ago

I download the iso and test it. It worked well in VirtualMachine with both legacy bios and UEFI. I will test it in a real machine later.

IvanAclu commented 4 years ago

Tested with Ventoy 1.0.09 Beta1 UEFI - I get this message No bootfile found for UEFI! Maybe the image does not support X64 UEFI! _ MBR See photo Ventoy MBR error99_cr

ventoy commented 4 years ago

I test it on my laptop, still OK in both legacy and UEFI. krd.iso SHA1: ff36e88b5425e2c56a85b9870deded045fa01073 Is it right? You can check the sha1 of the iso file in the usb drive.

IvanAclu commented 4 years ago

The ISO I tested with has the same SHA1: FF36E88B5425E2C56A85B9870DEDED045FA01073 as the one that you used.

IvanAclu commented 4 years ago

Tested on a Dell laptop with Ventoy 1.0.0.09 beta1

UEFI - Secure boot off error:bad signature. Press any key to continue..._

UEFI - Secure boot on entered set checksignstures=off error:bad signature. Press any key to continue...

Pressing any key has no effect. After approximately 20 seconds it continues IMG_20200506_204823746_cr_cr_cr

IvanAclu commented 4 years ago

Tested on a Dell laptop with Ventoy 1.0.0.09 beta1

MBR error:bad signature. Press any key to continue..._

Pressing any key has no effect. After approximately 20 seconds it continues Dell UEFI 1 pers_cr2

IvanAclu commented 4 years ago

I have retested with Ventoy 1.0.09 on 4 different PCs. KRD boots successfully but then fails to load on all 4 PCs. Ventoy fails to load KRD after the mode selection screen.

When you tested have you been able to go past the mode selection screen?

I have also tested the same ISO with Easy2Boot. KRD loads successfully on all 4 PCs. This indicates to me that it is not a problem with a corrupted ISO or the hardware.

I attach a picture showing the sequence of successfully loading KRD. KRD menus

ventoy commented 4 years ago

Yes, I indeed boot into the desktop, not only boot menu. So it's a little strange. Is the error in 1.0.09 the same with old version?

IvanAclu commented 4 years ago

Tested again with Ventoy 1.0.13. Legacy/BIOS boot works on all 5 PC's tested. UEFI Boot failed on the 2 PC's tested. Both failed after selecting Kaspersky Rescue Disk. Graphic mode. I entered "set check_signatures=no" first.

Asus Prime Z270-A & Dell Inspiron 7720 error: bad signature. Press any key to continue...

IvanAclu commented 4 years ago

Forgot to say. Installed Ventoy 1.0.13 on USB with Secure Boot Option off. UEFI Secure Boot on PC's turned off.

IvanAclu commented 4 years ago

Have tested KRD UEFI boot on Asus X441SA this also fails with, error: bad signature

IvanAclu commented 4 years ago

On my Asus Prime Z270A why do I get two UEFI Boot options for the Ventoy USB drive? UEFI: Sandisk Extreme 0001, Partition 1 (61057MB) - This boots straight to Windows. UEFI: Sandisk Extreme 0001, Partition 2 (61057MB) - This boots to Ventoy. 1 UEFI settings pers 2 UEFI Boot selection pers 3 KRD setting pers 4 KRD display selection pers 5 after KRD display setting pers

JazzTech commented 4 years ago

I am also seeing the error: bad signature message when booting KRD through Ventoy in UEFI mode.

IvanAclu commented 4 years ago

Tested again with Ventoy 1.0.15.

UEFI Boot failed on the 2 PC's tested. Both failed after selecting Kaspersky Rescue Disk. Graphic mode. I entered "set check_signatures=no" first.

Asus Prime Z270-A & Dell Inspiron 7720 secure boot turned off

error: bad signature. Press any key to continue...

IvanAclu commented 4 years ago

Here is video of Ventoy 1.0.015 UEFI boot failing. Motherboard Asus Prime Z270-A Secure boot turned off

The USB stick is 64GB but is displayed as two entries. UEFI: Sandisk Extreme 0001, Partition 1 (61057MB) - This boots straight to Windows. UEFI: Sandisk Extreme 0001, Partition 2 (61057MB) - This boots to Ventoy.

With these GRUB2 settings

set pager=1 set check_signatures=no vtdebug on

Ventoy_1015_KRD_X264.zip

ventoy commented 4 years ago

set check_signatures=no should be run in KRD's grub enviroment NOT Ventoy's envrioment. In Ventoy's boot menu, just select krd.iso then its boot menu will be shown. Then you select language(e.g. English) Here, press c to enter grub shell and run set check_signatures=no

image

IvanAclu commented 4 years ago

Thanks, with this clarification I can now UEFI boot to KRD

For other users the steps are:

Boot to KRD first menu Press c to go to the KRD GRUB2 prompt Type set check_signatures=no Press ENTER Press ESC

Select language and carry on KRD will now boot

IvanAclu commented 4 years ago

@ventoy Longpanda why do I see two UEFI entries for my 64GB stick? I have used the standard Ventoy formatting.

UEFI: Sandisk Extreme 0001, Partition 1 (61057MB) - This boots straight to Windows. UEFI: Sandisk Extreme 0001, Partition 2 (61057MB) - This boots to Ventoy.

ventoy commented 4 years ago

The boot option is generated by UEFI firmware. May be the UEFI firmware in your computer already integrated exfat/ntfs efi driver. Only FAT is standard supported by UEFI specification, but some UEFI firmware integrates other efi driver, for example exfat/ntfs.

I'm glad to see that KRD finally avaliable in your computer. You can close this issue if there is no other problem.

IvanAclu commented 4 years ago

OK Thanks

nierewa commented 4 years ago

Sorry that I reactivate this tread.

The solution is: Boot to KRD first menu Press c to go to the KRD GRUB2 prompt Type set check_signatures=no Press ENTER Press ESC

Is there a way tho change a file in KRD.iso so that I have to do this manually?

I add the "set check_signatures=no" parameter in boot/cfg/menu_lang.cfg but I get this error message:

Something goes wrong with config (cd0)/boot/grub/grub.cfg

Legacy Boot ends uo with bash.

IvanAclu commented 4 years ago

I do not think that you can do this. When booting, KRD checks that its configuration files have not been modified by using a signature file. If any changes are found KRD will not boot.

nierewa commented 4 years ago

Hmm, that's what I hought. Can you change the signature file or is there any way to circumvent this?

IvanAclu commented 4 years ago

I don't know. Look here for more info. https://www.gnu.org/software/grub/manual/grub/html_node/Using-digital-signatures.html

almodovaris commented 2 years ago

Just press Ctrl-R (for GRUB) and it boots.