multibootusb
multibootusb copied to clipboard
Error: Invalid File Name, You Need to Load the Kernel First
I'm attempting to multiboot blackarch linux and have been running into this issue:
error: invalid file name 'boot/x86_64/vmlinuz'
error: you need to load the kernel first
I've reviewed the various .cfg files but I'm not sure what the source of the issue is.
Here is the loopback for BlackArch:
#Extracted from F:/multibootusb/blackarch-linux-live-2019.06.01-x86_64/blackarch/boot/syslinux/archiso_pxe.cfg menuentry "Boot BlackArch Linux (x86_64) (NBD)" { linux boot/x86_64/vmlinuz archisobasedir=blackarch archisolabel=BLACKARCH_201905 archiso_nbd_srv=${pxeserver} initrd boot/intel_ucode.img boot/amd_ucode.img boot/x86_64/archiso.img } menuentry "Boot BlackArch Linux (x86_64) (NFS)" { linux boot/x86_64/vmlinuz archisobasedir=blackarch archiso_nfs_srv=${pxeserver}:/run/archiso/bootmnt initrd boot/intel_ucode.img boot/amd_ucode.img boot/x86_64/archiso.img } menuentry "Boot BlackArch Linux (x86_64) (HTTP)" { linux boot/x86_64/vmlinuz archisobasedir=blackarch archiso_http_srv=http://${pxeserver}/ initrd boot/intel_ucode.img boot/amd_ucode.img boot/x86_64/archiso.img }
#Extracted from F:/multibootusb/blackarch-linux-live-2019.06.01-x86_64/blackarch/boot/syslinux/archiso_sys.cfg menuentry "Boot BlackArch Linux" { linux boot/x86_64/vmlinuz archisobasedir=blackarch archisolabel=BLACKARCH_201905 cow_spacesize=60% initrd boot/intel_ucode.img boot/amd_ucode.img boot/x86_64/archiso.img } menuentry "Boot BlackArch Linux (nonfree)" { linux boot/x86_64/vmlinuz archisobasedir=blackarch archisolabel=BLACKARCH_201905 cow_spacesize=60% nouveau.modeset=0 nouveau.blacklist=yes modprobe.blacklist=nouveau nvidia initrd boot/intel_ucode.img boot/amd_ucode.img boot/x86_64/archiso.img }
#Extracted from F:/multibootusb/blackarch-linux-live-2019.06.01-x86_64/blackarch/boot/syslinux/archiso_tail.cfg #Avoided emitting an empty menu item 'Boot existing OS'. menuentry "Run Memtest86+ (RAM test)" { linux boot/memtest }
Here is Grug cfg for BlackArch:
for isofile in $isopath/blackarchlinux-.iso; do if [ -e "$isofile" ]; then regexp --set=isoname "$isopath/(.)" "$isofile" submenu "$isoname ->" "$isofile" { iso_path="$2" loopback loop "$iso_path" probe --label --set=cd_label (loop) menuentry "Boot BlackArch Linux" { bootoptions="img_dev=$imgdevpath img_loop=$iso_path earlymodules=loop archisodevice=/dev/loop0 archisobasedir=blackarch archisolabel=$cd_label" linux (loop)/blackarch/boot//vmlinuz $bootoptions initrd (loop)/blackarch/boot//archiso.img } } fi done