Kali GRUB install error
Your Kali install may fail with a GRUB boot loader error (as of 2024-02-08)
Packer will wait 30 minutes from boot for SSH to become available, so you need to perform the following steps to complete the installation until the dpkg
package is fixed by the Kali maintainers.
- Log into your Ludus host's Proxmox web interface (https://< ludus IP>:8006), click on the Kali VM, and click on Console. Click the noVNC tab in the center left of the screen. Click the "A" icon and then click "Alt" and press F2 on your keyboard.
- Press enter at the new screen to get a console
- Click "ALT" again to deselect it
- Type the following commands:
chroot /target bash
echo -e "#!/bin/bash\nexec true" > /sbin/start-stop-daemon
chmod +x /sbin/start-stop-daemon
- Run
apt reinstall dpkg
- Active "Alt" again and press F1 on your keyboard
- This will bring you back to the red screen. Deselect "Alt" and press Enter to continue.
- Press enter with "Install the GRUB boot loader" highlighted to finish the Kali install. Packer will pick up on reboot and complete the template creation process.