Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Boot from Ventoy USB-Drive to boot a LOCAL DRIVE
#8
Quote:A small addition, ventoy_grub.cfg content looks like this
if [ "$grub_platform" = "pc" ]; then
menuentry "$VTLANG_LB_SBOOT_HDD1" --class=boot_disk --class=F4boot {
        set root=(hd0)
        chainloader +1
        boot
    }
else
menuentry "BOOT FIREWALL" --class=boot_uefi --class=custom {
            set VTOY_SEARCH_NO_VTOYEFI=1
            if search -n -s -f /efi/boot/bootx64.efi; then
                unset VTOY_SEARCH_NO_VTOYEFI
                terminal_output  console
                chainloader /efi/boot/bootx64.efi
                boot
            elif search -n -s -f /vtefi/boot/bootx64.efi; then
                unset VTOY_SEARCH_NO_VTOYEFI
                terminal_output  console
                chainloader /vtefi/boot/bootx64.efi
                boot
            else
                unset VTOY_SEARCH_NO_VTOYEFI
                echo "BOOTX64.EFI NOT found ..."
            fi     
        }
fi
menuentry '<-- EXIT [Esc]' --class=vtoyret VTOY_RET {
    echo 'Return ...'
}


Ok, that works...

I spent the weekend testing some firewall images (VDI) because i still need a backup system of the running firewall on the local drive ...

I testet it with UEFI / LEGACY / CSM / GPT / MBR.

- OpnSense : (BSD) Not Working
- Endian : (RED HAT) Not Working
- pfSense : (BSD) Not Working
- Smoothwall : (LINUX) Not Working
- ipFire : (LINUX) Not Working
- Zentyal : (UBUNTU) Version 8 / UEFI / Works

Zentyal is not based on bsd or red hat. It is developed under ubuntu and works with vtoyboot.

Now i can buy a new usb stick because the old one is broken from copying.   Big Grin


Heart
Reply


Messages In This Thread
RE: Boot from Ventoy USB-Drive to boot a LOCAL DRIVE - by RGB - 04-08-2024, 10:45 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)