Yumi multiboot debIan netinst

When use Yumi to make USB installation for Debian netinst there are some errors:
1. Menu is not working at all.

2. Setup cannot find the CdROM.

How to fix them:

1. My installation is in directory multiboot/debian-9.4.0-amd64-netinst on USB drive. If you use different one, please change it in the scripts.

  • Mount USB device and enter directory multiboot/debian-9.4.0-amd64-netinst/isolinux
  • Change all occurrences /install.amd to /multiboot/debian-9.4.0-amd64-netinst/install.amd in all cfg files with this command:

sed -i -e ‘s/\/install.amd/\/multiboot\/debian-9.4.0-amd64-netinst\/install.amd/g’ *.cfg

2. To find setup files when receive error that CDROM cannot be found open second console with Alt+F2 and type commands:

 

mkdir -p /mnt/tmp

mount /dev/sdb1 /mnt/tmp

rmdir /cdrom

ln -s /mnt/tmp/multiboot/debian-9.4.0-amd64-netinst /cdrom

 

Then return to setup console with Alt+F1 and continue setup.

 

 

One Comment:

  1. Excellent, thank you. Got my YUMI 2.0.6.7 working with slight changes.

    Tested in debian-10.0.0-amd64-netinst
    It may be that the USB is seen by YUMI as a whole DRIVE (/dev/sda). In case you use Cygwin, the preparations on command line to fix menus on the USB are:

    # ###########
    # Run only once

    cd /cygdrive/DRIVE/multiboot # The USB drive letter

    root=$(ls -t | grep -i debian | head -1) # select latest Debian installation

    # Replace only if NOT already “multiboot”, see that “!s”
    sed -i -e “/multiboot/!s,/install.amd,/multiboot/$root/install.amd,g” $root/isolinux/*.cfg

    # ###########
    # Run every time at boot: use busybox blkid(1) to find out the DEV info
    # inside Alt-F2 terminal

    blkid

    mkdir /mnt/m # (m)ultiboot
    mount -t vfat /dev/sda /mnt/m # see blkid(1) for mount TYPE

    rmdir /cdrom
    ln -s /mnt/m/multiboot/debian-10.0.0-amd64-netinst /cdrom

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.