I have the "expr: syntax error" as well my BOOT_DEVICE is "ram" so "device_is_USB_flash_drive" is called with the argument "ram". device_is_USB_flash_drive does "expr substr ram 6 3" which sets DEVICE to an empty string and the following "expr substr $DEVICE 1 2" is a syntax error for expr(1)
this is the end of what I see if I run "sh -x /lib/live/boot-init.sh" + read DEVICE MOUNT REST + read DEVICE MOUNT REST + read DEVICE MOUNT REST + echo ram + exit 0 + BOOT_DEVICE=ram + device_is_USB_flash_drive ram + expr substr ram 6 3 + DEVICE= + expr substr 1 2 expr: syntax error + [ != sd ] + return 1 + MESSAGE=Please remove the disc, close the tray (if any) + [ -x /usr/bin/eject ] + [ 1 ] + [ -x /bin/plymouth ] + stty sane + printf \n\nPlease remove the disc, close the tray (if any) and press ENTER to continue: Please remove the disc, close the tray (if any) and press ENTER to continue:+ read x root@52-54-00-12-34-56:~# cat /proc/mounts rootfs / rootfs rw 0 0 sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0 proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0 udev /dev devtmpfs rw,relatime,size=10240k,nr_inodes=385233,mode=755 0 0 devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0 tmpfs /run tmpfs rw,nosuid,noexec,relatime,size=309556k,mode=755 0 0 ram /lib/live/mount/medium ramfs rw,relatime 0 0 /dev/loop0 /lib/live/mount/rootfs/filesystem.squashfs squashfs ro,noatime 0 0 tmpfs /lib/live/mount/overlay tmpfs ro,noatime,size=524288k 0 0 tmpfs /lib/live/mount/overlay tmpfs rw,noatime,size=524288k,mode=755 0 0 aufs / aufs rw,relatime,si=6f4f16ea97e63263,noxino 0 0 tmpfs /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k 0 0 tmpfs /run/shm tmpfs rw,nosuid,nodev,noexec,relatime,size=619100k 0 0 root@52-54-00-12-34-56:~# cat /proc/cmdline quickreboot criteo_conf=tftp://10.251.0.10/hpc/setup.sh ramdisk-size=550m fetch=tftp://10.0.2.2/filesystem.squashfs boot=live initrd=/live/initrd.img BOOT_IMAGE=/live/vmlinuz -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org