Menu

unbound variable part way through makeboot.sh

2023-04-17
2023-04-17
  • Keshka Kotera

    Keshka Kotera - 2023-04-17

    USB drive prapared as instructed, clonezilla-live-3.0.3-22-i686 files copied to /media/usb/
    then makeboot.sh started via
    sudo bash /media/usb/utils/linux/makeboot.sh /dev/sda1

    The first few questions seem to work ok then this one fails. This is on Debian running on an SBC "OrangePi"

    Do you want to install the syslinux boot files on /dev/sda1  ?
    [y/n] Y
    OK! Let's do it!
    A filesystem supporting Unix file mode for syslinux is required. Copying syslinux to /tmp/linux_tmp.bQ8xd6
    /media/usb/utils/linux/makeboot.sh: line 479: arch_d: unbound variable
    
     
  • Keshka Kotera

    Keshka Kotera - 2023-04-17

    Well, got a bit further by fixing the 'arch_d" variable. Later in the script, I get this:

    Do you want to install the syslinux boot files on /dev/sda1  ?
    [y/n] Y
    OK! Let's do it!
    A filesystem supporting Unix file mode for syslinux is required. Copying syslinux to /tmp/linux_tmp.GdP7Ko
    '/media/usb/utils/linux/x64/syslinux' -> '/tmp/linux_tmp.GdP7Ko/syslinux'
    File to run /tmp/linux_tmp.GdP7Ko/syslinux.
    Program terminated!
    

    why did it terminate? did it work?

     
  • Steven Shiau

    Steven Shiau - 2023-04-17

    Your system is ARM? If so, you can not run makeboot.sh... It's only for x86 architecture.

    Steven

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.