aguslr / multibootusb

A collection of GRUB files and scripts that will allow you to create a pendrive capable of booting different ISO files
https://mbusb.aguslr.com
GNU General Public License v3.0
578 stars 156 forks source link

Slitaz cfg not working anymore #218

Open Libeccio84 opened 6 years ago

Libeccio84 commented 6 years ago

Hi, I have checked your default.cfg for Slitaz, but it doesnt work with Slitaz 5 (rolling). This works for me:

for isofile in $isopath/slitaz*core64.iso; do
  if [ -e "$isofile" ]; then
    regexp --set=isoname "$isopath/(.*)" "$isofile"
    menuentry "$isoname (memdisk x86-64)" "$isofile" {
      iso_path="$2"
      export iso_path
      search --set=root --file "$iso_path"
      loopback loop "$iso_path"
      linux (loop)/boot/bzImage64 rw lang=C kmap=it root=/dev/null vga=normal autologin
        initrd (loop)/boot/rootfs.gz
    }
  fi
done

for isofile in $isopath/slitaz*core.iso; do
  if [ -e "$isofile" ]; then
    regexp --set=isoname "$isopath/(.*)" "$isofile"
    menuentry "$isoname (memdisk 32bit)" "$isofile" {
      iso_path="$2"
      export iso_path
      search --set=root --file "$iso_path"
      loopback loop "$iso_path"
      linux (loop)/boot/bzImage rw lang=C kmap=it root=/dev/null vga=normal autologin
      initrd (loop)/boot/rootfs.gz
    }
  fi
done

but you have to download both architectures, not the 5in1 iso. Hope others might find this helpful.

aguslr commented 6 years ago

Hi there @Libeccio84!

What do you mean the configuration doesn't work for SliTaz 5? I just tried it and it seems to work fine? Are you booting it in an EFI system? Unfortunately, MEMDISK doesn't support EFI at the moment.