You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
339 B
Bash
18 lines
339 B
Bash
#!/bin/bash
|
|
#
|
|
# Quick and dirty extracter to get the EC image out of the iso file
|
|
#
|
|
# TODO:
|
|
# - a tool that is portable to Windows
|
|
# - should output dependancy information
|
|
|
|
OUT="$1"
|
|
if [ -z "$OUT" ]; then
|
|
echo Need output filename
|
|
exit 1
|
|
fi
|
|
|
|
set -x
|
|
dd if=8duj27us.iso.orig bs=$[0x005e2a00] skip=1 | dd bs=196608 count=1 of="$OUT"
|
|
|