Hi everyone,
I am using live-build to create Kali Linux OS to then package it as boot.img and root.img. I am using a script that was made for Debian, just changing the repo to Kali's. However, with the GRUB from Kali's repo the EFI folder is much less populated and I am unable to boot properly. What could be the issue? (Also using grub-installer from the debian repo while keeping everything else from Kali repo didn't work either)
When I create a debian image instead of kali my EFI folder looks like this
.
├── EFI
│ ├── BOOT
│ │ ├── BOOTAA64.CSV
│ │ ├── BOOTAA64.EFI
│ │ ├── grub.cfg
│ │ ├── grubaa64.efi
│ │ └── mmaa64.efi
│ └── debian
│ ├── BOOTAA64.CSV
│ ├── fbaa64.efi
│ ├── grub.cfg
│ ├── grubaa64.efi
│ ├── mmaa64.efi
│ └── shimaa64.efi
└── m1n1
└── boot.bin
While Kali's looks like this:
├── EFI
│ ├── BOOT
│ │ └── BOOTAA64.EFI
│ └── kali
│ └── grubaa64.efi
└── m1n1
└── boot.bin
So why just by changing the repo, my EFI folders differs so much? Also below I attached the photo of boot failing with the Kali's EFI setup
I am using live-build to create Kali Linux OS to then package it as boot.img and root.img. I am using a script that was made for Debian, just changing the repo to Kali's. However, with the GRUB from Kali's repo the EFI folder is much less populated and I am unable to boot properly. What could be the issue? (Also using grub-installer from the debian repo while keeping everything else from Kali repo didn't work either)
When I create a debian image instead of kali my EFI folder looks like this
.
├── EFI
│ ├── BOOT
│ │ ├── BOOTAA64.CSV
│ │ ├── BOOTAA64.EFI
│ │ ├── grub.cfg
│ │ ├── grubaa64.efi
│ │ └── mmaa64.efi
│ └── debian
│ ├── BOOTAA64.CSV
│ ├── fbaa64.efi
│ ├── grub.cfg
│ ├── grubaa64.efi
│ ├── mmaa64.efi
│ └── shimaa64.efi
└── m1n1
└── boot.bin
While Kali's looks like this:
├── EFI
│ ├── BOOT
│ │ └── BOOTAA64.EFI
│ └── kali
│ └── grubaa64.efi
└── m1n1
└── boot.bin
So why just by changing the repo, my EFI folders differs so much? Also below I attached the photo of boot failing with the Kali's EFI setup

