You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've not been able to get create_image to complete a successful build. I'm attempting to build an image that I can then write to the OrangePi Plus's EMMC storage.
The output I get is:
# sudo ./create_image
Tue Jan 24 14:44:44 PST 2017
=======================================================
Creating Ubuntu/Debian SD Card instalation for OrangePI
=======================================================
Using disk image "Orangian.img"
Creating partition images, please wait ...
Creating new filesystem on Orangian.img...
New filesystem created on Orangian.img.
Partitioning Orangian.img...
Creating boot & linux partitions
OK.
Formating fat partition ...
fat partition formated.
Formating linux partition (ext4), please wait ...
linux partition formated.
Instaling u-boot to Orangian.img ...
U-boot installed to Orangian.img.
Mounting SD Card partitions...
SD Card partitions mounted to _linux_img_mnt & _boot_img_mnt
DEBOOTSTRAP, FIRST STAGE
OK.
Creating "sources.list"
Error while loading /bin/bash: No such file or directory
================================================
ERROR on second-stage, instalation NOT FINISHED.
================================================
If I add -x to the shebang (first line), I can see that it's failing on running chroot:
I've not been able to get
create_image
to complete a successful build. I'm attempting to build an image that I can then write to the OrangePi Plus's EMMC storage.The output I get is:
If I add
-x
to the shebang (first line), I can see that it's failing on runningchroot
:I can see that both
${sdcard}1
and${sdcard}2
are still mounted, yet the 2nd,_linux_img_mnt
has no/bin
dir, where/bin/bash
would be located… even tho thatmkdir -p _linux_img_mnt/usr/bin
line would appear to have run.https://github.com/loboris/OrangePi-BuildLinux/blob/master/create_image#L205
The text was updated successfully, but these errors were encountered: