Lines Matching full:img
45 img=$2
48 makefs -t ffs -B little -s 200m -o label=root ${img}.p2 ${src}
51 -p freebsd-ufs:=${img}.p2 -o ${img}
57 img=$2
60 make_esp_file ${img}.p1 ${espsize} ${src}/boot/loader.efi
61 makefs -t ffs -B little -s 200m -o label=root ${img}.p2 ${src}
63 -p efi:=${img}.p1 \
64 -p freebsd-ufs:=${img}.p2 -o ${img}
70 img=$2
73 make_esp_file ${img}.p1 ${espsize} ${src}/boot/loader.efi
74 makefs -t ffs -B little -s 200m -o label=root ${img}.p3 ${src}
77 -p efi:=${img}.p1 \
79 -p freebsd-ufs:=${img}.p3 \
80 -o ${img}
103 img=$2
110 dst=$img.extra
115 ${img}.p2 ${src} ${dst}
118 -p freebsd-zfs:=${img}.p2 \
119 -o ${img}
125 img=$2
132 dst=$img.extra
135 make_esp_file ${img}.p1 ${espsize} ${src}/boot/loader.efi
138 ${img}.p2 ${src} ${dst}
140 -p efi:=${img}.p1 \
141 -p freebsd-zfs:=${img}.p2 \
142 -o ${img}
148 img=$2
155 dst=$img.extra
158 make_esp_file ${img}.p2 ${espsize} ${src}/boot/loader.efi
161 ${img}.p3 ${src} ${dst}
164 -p efi:=${img}.p2 \
165 -p freebsd-zfs:=${img}.p3 \
166 -o ${img}
172 img=$2
175 makefs -t ffs -B little -s 200m -o label=root ${img}.s1a ${src}
176 mkimg -s bsd -b ${src}/boot/boot -p freebsd-ufs:=${img}.s1a -o ${img}.s1
177 mkimg -a 1 -s mbr -b ${src}/boot/boot0sio -p freebsd:=${img}.s1 -o ${img}
183 img=$2
186 make_esp_file ${img}.s1 ${espsize} ${src}/boot/loader.efi
187 makefs -t ffs -B little -s 200m -o label=root ${img}.s2a ${src}
188 mkimg -s bsd -p freebsd-ufs:=${img}.s2a -o ${img}.s2
189 mkimg -a 1 -s mbr -p efi:=${img}.s1 -p freebsd:=${img}.s2 -o ${img}
195 img=$2
198 make_esp_file ${img}.s1 ${espsize} ${src}/boot/loader.efi
199 makefs -t ffs -B little -s 200m -o label=root ${img}.s2a ${src}
200 mkimg -s bsd -b ${src}/boot/boot -p freebsd-ufs:=${img}.s2a -o ${img}.s2
201 mkimg -a 2 -s mbr -b ${src}/boot/mbr -p efi:=${img}.s1 -p freebsd:=${img}.s2 -o ${img}
207 img=$2
218 ${img}.s1a ${src} ${dst}
222 # being booted, hence the need to dd it into the raw img later.
226 mkimg -s bsd -b ${dst}zfsboot1 -p freebsd-zfs:=${img}.s1a -o ${img}.s1
227 dd if=${src}/boot/zfsboot of=${img}.s1a skip=1 seek=1024
228 mkimg -a 1 -s mbr -b ${src}/boot/mbr -p freebsd:=${img}.s1 -o ${img}
234 img=$2
243 make_esp_file ${img}.s1 ${espsize} ${src}/boot/loader.efi
246 ${img}.s2a ${src} ${dst}
247 mkimg -s bsd -b ${dst}zfsboot1 -p freebsd-zfs:=${img}.s2a -o ${img}.s2
248 mkimg -a 1 -s mbr -b ${src}/boot/mbr -p efi:=${img}.s1 -p freebsd:=${img}.s2 -o ${img}
254 img=$2
263 make_esp_file ${img}.s1 ${espsize} ${src}/boot/loader.efi
266 ${img}.s2a ${src} ${dst}
270 # being booted, hence the need to dd it into the raw img later.
274 mkimg -s bsd -b ${dst}zfsboot1 -p freebsd-zfs:=${img}.s2a -o ${img}.s2
275 dd if=${src}/boot/zfsboot of=${img}.s1a skip=1 seek=1024
276 mkimg -a 1 -s mbr -b ${src}/boot/mbr -p efi:=${img}.s1 -p freebsd:=${img}.s2 -o ${img}
281 img=$2
288 dd if=/dev/zero of=${img} count=1 seek=$(( 200 * 1024 * 1024 / 512 ))
289 md=$(mdconfig -f ${img})
315 img=$2
322 dd if=/dev/zero of=${img} count=1 seek=$(( 200 * 1024 * 1024 / 512 ))
323 md=$(mdconfig -f ${img})
349 img=$2
356 dd if=/dev/zero of=${img} count=1 seek=$(( 200 * 1024 * 1024 / 512 ))
357 md=$(mdconfig -f ${img})
384 img=$2
396 dd if=/dev/zero of=${img} count=1 seek=$(( 300 * 1024 * 1024 / 512 ))
397 md=$(mdconfig -f ${img})
433 img=$2
445 dd if=/dev/zero of=${img} count=1 seek=$(( 300 * 1024 * 1024 / 512 ))
446 md=$(mdconfig -f ${img})
482 img=$2
490 dd if=/dev/zero of=${img} count=1 seek=$(( 200 * 1024 * 1024 / 512 ))
491 md=$(mdconfig -f ${img})
555 img=$1
560 -drive if=none,file=${img},id=hd0 \
578 img=$1
583 …echo "(qemu-system-x86_64 -m 256m --drive file=${img},format=raw ${qser} | tee $log 2>&1 | grep -q…
589 img=$1
594 …echo "(qemu-system-x86_64 -m 256m -bios ~/bios/OVMF-X64.fd --drive file=${img},format=raw ${qser} …
600 img=$1
605 …echo "(qemu-system-x86_64 -m 256m --drive file=${img},format=raw ${qser} | tee $log 2>&1 | grep -q…
607 …echo "(qemu-system-x86_64 -m 256m -bios ~/bios/OVMF-X64.fd --drive file=${img},format=raw ${qser} …
617 img=$1
620 echo "qemu-system-i386 --drive file=${img},format=raw ${qser}" > $sh
627 img=$1
630 echo "qemu-system-i386 -bios ~/bios/OVMF-X32.fd --drive file=${img},format=raw ${qser}" > $sh
637 img=$1
640 echo "qemu-system-i386 --drive file=${img},format=raw ${qser}" > $sh
641 echo "qemu-system-i386 -bios ~/bios/OVMF-X32.fd --drive file=${img},format=raw ${qser}" >> $sh
654 img=${IMGDIR}/${arch}-${geli}-${scheme}-${fs}-${bios}.img
658 echo "vvvvvvvvvvvvvv Creating $img vvvvvvvvvvvvvvv"
659 rm -f ${img}*
660 … eval mk_${geli}_${scheme}_${fs}_${bios} ${DESTDIR} ${img} ${MNTPT} ${geli} ${scheme} ${fs} ${bios}
661 eval qemu_${arch}_${bios} ${img} ${sh}
662 [ -n "${SUDO_USER}" ] && chown ${SUDO_USER} ${img}*
663 echo "^^^^^^^^^^^^^^ Created $img ^^^^^^^^^^^^^^^"
668 # qemu-system-ppc64 -drive file=/path/to/disk.img,format=raw