Displaying 1 result from an estimated 1 matches for "partitionoffset_512b_sectors".
2017 Oct 10
2
Unable to find linux kernel on ext4, filesystem-related root cause assumed
...sed versions:
extlinux 6.03
QEMU emulator version 2.8.1(Debian 1:2.8+dfsg-6+deb9u2)
Help or advice is much appreciated,
best regards,
Manuel
#######################
#!/bin/bash
set -o xtrace
BASEDIR=/tmp/generate-image
IMAGE=${BASEDIR}/image
MOUNT=${BASEDIR}/mount
PARTITIONOFFSET=$[ 2 ** 20 ]
PARTITIONOFFSET_512B_SECTORS=$[ ${PARTITIONOFFSET} / 512 ]
PARTITIONLAYOUT="start=${PARTITIONOFFSET_512B_SECTORS}, bootable, type=83, name=system-part"
echo "Creating directory ${BASEDIR}"
mkdir --parents "${BASEDIR}"
echo "Creating sparse file ${IMAGE}"
fallocate --length 1024M "...