semigodking / le-in-armbian

Scripts for running LibreElec in Armbian
MIT License
2 stars 0 forks source link

error in armbian #1

Open markosc opened 2 years ago

markosc commented 2 years ago

hi i run the script but Already extracted to: ./LibreELEC-RK322x.arm-9.2-devel-20211030071512-eda4ed8-rk3229-v884k.img.gz ./build-rootfs.sh: line 56: (minimum/optimal):: division by 0 (error token is "optimal):") ./build-rootfs.sh: line 57: ((: start_offset = * 512 : syntax error: operand expected (error token is "* 512 ") umount: img-mount: not mounted. mount: ./img-mount: failed to parse mount options. mount failed, trying a different partition ./build-rootfs.sh: line 65: (logical/physical):: division by 0 (error token is "physical):") 0 100% 0.00kB/s 0:00:00 (xfr#0, to-chk=0/1) umount: ./img-mount: not mounted. umount: ./sys-mount: not mounted. LibreELEC-RK322x.arm-9.2-devel-20211030071512-eda4ed8-rk3229-v884k.img.gz extracted to rootfs/ ln: failed to create symbolic link 'rootfs/var/run': No such file or directory root@rk322x-box:/home/markosc/le-in-armbian# ./build-rootfs.sh LibreELEC-RK322x.arm-9.2-devel-20211030071512-eda4ed8-rk3229-v884k.img.gz Already extracted to: ./LibreELEC-RK322x.arm-9.2-devel-20211030071512-eda4ed8-rk3229-v884k.img.gz ./build-rootfs.sh: line 56: (minimum/optimal):: division by 0 (error token is "optimal):") ./build-rootfs.sh: line 57: ((: start_offset = * 512 : syntax error: operand expected (error token is "* 512 ") umount: img-mount: not mounted. mount: ./img-mount: failed to parse mount options. mount failed, trying a different partition ./build-rootfs.sh: line 65: (logical/physical):: division by 0 (error token is "physical):") mkdir: cannot create directory ‘rootfs’: File exists 0 100% 0.00kB/s 0:00:00 (xfr#0, to-chk=0/1) umount: ./img-mount: not mounted. umount: ./sys-mount: not mounted. LibreELEC-RK322x.arm-9.2-devel-20211030071512-eda4ed8-rk3229-v884k.img.gz extracted to rootfs/ ln: failed to create symbolic link 'rootfs/var/run': No such file or directory root@rk322x-box:/home/markosc/le-in-armbian# lsblk -l NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT rknand0 31:0 0 7,3G 0 disk mmcblk0 179:0 0 28,9G 0 disk mmcblk0p1 179:1 0 28,6G 0 part / zram0 253:0 0 481,2M 0 disk [SWAP] zram1 253:1 0 50M 0 disk /var/log

semigodking commented 2 years ago

Looks like you are not using bash.

markosc @.***> 于 2021年11月5日周五 02:41写道:

hi i run the script but Already extracted to: ./LibreELEC-RK322x.arm-9.2-devel-20211030071512-eda4ed8-rk3229-v884k.img.gz ./build-rootfs.sh: line 56: (minimum/optimal):: division by 0 (error token is "optimal):") ./build-rootfs.sh: line 57: ((: start_offset = 512 : syntax error: operand expected (error token is " 512 ") umount: img-mount: not mounted. mount: ./img-mount: failed to parse mount options. mount failed, trying a different partition ./build-rootfs.sh: line 65: (logical/physical):: division by 0 (error token is "physical):") 0 100% 0.00kB/s 0:00:00 (xfr#0, to-chk=0/1) umount: ./img-mount: not mounted. umount: ./sys-mount: not mounted. LibreELEC-RK322x.arm-9.2-devel-20211030071512-eda4ed8-rk3229-v884k.img.gz extracted to rootfs/ ln: failed to create symbolic link 'rootfs/var/run': No such file or directory @.:/home/markosc/le-in-armbian# ./build-rootfs.sh LibreELEC-RK322x.arm-9.2-devel-20211030071512-eda4ed8-rk3229-v884k.img.gz Already extracted to: ./LibreELEC-RK322x.arm-9.2-devel-20211030071512-eda4ed8-rk3229-v884k.img.gz ./build-rootfs.sh: line 56: (minimum/optimal):: division by 0 (error token is "optimal):") ./build-rootfs.sh: line 57: ((: start_offset = 512 : syntax error: operand expected (error token is " 512 ") umount: img-mount: not mounted. mount: ./img-mount: failed to parse mount options. mount failed, trying a different partition ./build-rootfs.sh: line 65: (logical/physical):: division by 0 (error token is "physical):") mkdir: cannot create directory ‘rootfs’: File exists 0 100% 0.00kB/s 0:00:00 (xfr#0, to-chk=0/1) umount: ./img-mount: not mounted. umount: ./sys-mount: not mounted. LibreELEC-RK322x.arm-9.2-devel-20211030071512-eda4ed8-rk3229-v884k.img.gz extracted to rootfs/ ln: failed to create symbolic link 'rootfs/var/run': No such file or directory @.:/home/markosc/le-in-armbian# lsblk -l NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT rknand0 31:0 0 7,3G 0 disk mmcblk0 179:0 0 28,9G 0 disk mmcblk0p1 179:1 0 28,6G 0 part / zram0 253:0 0 481,2M 0 disk [SWAP] zram1 253:1 0 50M 0 disk /var/log

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/semigodking/le-in-armbian/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAP2XD5NBDAAZEJEZNCF6ZLUKLHXPANCNFSM5HMD7RIQ .