multibootusb
multibootusb copied to clipboard
Error occurred when booting from caine10.0.iso
You can get the iso here: https://www.caine-live.net/page5/page5.html
I use makeUSB.sh to get my usb multibootable, and copy the iso to isos/ directory, then copy ubuntu-18.04.1-desktop-amd64.iso to isos/ as well for compare.
And for the purpose to make caine bootable, I mkdir in mbusb.d/caine.d, then copy the config of ubuntu in this dir: cp ../ubuntu.d/desktop-generic.cfg ./caine.cfg, and then modify to:
for isofile in $isopath/caine*.iso; do if [ -e "$isofile" ]; then regexp --set=isoname "$isopath/(.*)" "$isofile" submenu "$isoname (loopback.cfg) ->" "$isofile" { iso_path="$2" export iso_path search --set=root --file "$iso_path" loopback loop "$iso_path" root=(loop) configfile /boot/grub/loopback.cfg loopback --delete loop } fi done
but it will cause some error occurred like this:
Actually, ubuntu works! but caine is based on ubuntu, I don't know why caine can not work
Hi @Margular! Sorry for taking so long to reply.
Notice how, inside the ISO file, /boot/grub/loopback.cfg
has the boot parameter file=/cdrom/preseed/custom.seed
which expects the CD to be mounted at /cdrom
. Even if we modify this parameter so it looks in /preseed/custom.feed
instead, we have the script /scripts/casper-premount
trying to mount the CD, therefore the booting process fails.
It looks like they copied the loopback.cfg
and grub.cfg
files from Ubuntu but disabled (or didn't enable) the appropriate configuration to boot from a ISO file.