Kali-Linux does not support UEFI install?

CaffeineAddict

Well-Known Member
Joined
Jan 21, 2024
Messages
2,506
Reaction score
2,050
Credits
20,296
I've read Kali manuals regarding whether to install in BIOS or UEFI mode here:

  • Ensure that your computer is set to boot from CD/DVD/USB in your BIOS/UEFI.
  • In the UEFI settings, ensure that Secure Boot is disabled. The Kali Linux kernel is not signed and will not be recognized by Secure Boot.

I'm installing in QEMU where I'm presented options to choose BIOS/UEFI or UEFI with secure boot.
BIOS works, UEFI does not work regardless if I choose with or without secure boot.

Why does UEFI install not work?

I get error that bootable media is not found (where bootable media is ISO file from which to install)

kali.png
 


This looks like Qemu/KVM, I sometimes have to change the chipset to i440FX.

@f33dm3bits
Screenshot_20250311_qemu1.png

Change the chipset to
Screenshot_20250311_qemu2.png
 
Last edited:
For your bootable media to be found in EFI mode, its partition table must be GPT --it won't work with MBR.
 
For your bootable media to be found in EFI mode, its partition table must be GPT --it won't work with MBR.

That doesn't seem right. Sometimes, it's just whatever the iso is, and you don't have a choice.
 
@dos2unix those modes apply to the way we format the bootable media before burning the ISO, not to the ISO itself --see Rufus' options "partition scheme" and "target system" (for the lack of a better place to check there's a screenshot right at https://rufus.ie/en/)
 
I suppose that may be true in Rufus. But not in dd, etcher, or media-creator. They don't give you an option.
Whatever partition type the iso has, is what gets burned to the USB. It over-writes any existing partition table.

Not only that, I usually resizes my partition table. My 8GB USB drive, becomes a 2.5GB disk drive for example.
 
I suppose that may be true in Rufus. But not in dd, etcher, or media-creator. They don't give you an option.
Whatever partition type the iso has, is what gets burned to the USB. It over-writes any existing partition table.

It is about the partition table, not the partitions themselves. Those tools won't do, because they expect the partition table to exist already. With those, you have to prepare the USB beforehand yourself with other tools for partition creation. See for example the KDE Partition Manager, when selecting "New Partition Table":

1741719084786.png
 
I never do.
You do, but you don't realise. Most of the time the factory default, or the tool's default, just works.

I was only pointing out that an MBR partition table won't boot on an EFI machine.
 
You do, but you don't realise. Most of the time the factory default, or the tool's default, just works.

99.99% of the USB drives I buy are mbr/dos exfat/fat32 drives. I don't change them to gpt before burning an iso image to them.
In this case i recognize the "Tiano Core" logo in the first picture in the OP. He is not using a USB drive at all. This is a Qemu/KVM VM running from a downloaded iso on their hard drive.
 
@gvisoc
I'm installing in QEMU using ISO, there is no way to change partition table of target virtual disk prior booting the ISO which does not work.

Booting ISO doesn't work, and that's the first step before install to virtual disk.
 
I've never gotten it to work, when I change the existing, I usually have to start new from scratch.
I'll just stick to BIOS setting for now. it's VM so not a big deal, but Kali-Docs are not complete regarding QEMU:


It doesn't cover "customize install" checkbox.
Default setup from docs uses BIOS.
 


Staff online

Members online


Top