diff --git a/home/lucifer/.local/share/nautilus/scripts/05c-Linux/02b-E01-RPi-kernel-version b/home/lucifer/.local/share/nautilus/scripts/05c-Linux/02b-E01-RPi-kernel-version index 50e39c7..890ac71 100755 --- a/home/lucifer/.local/share/nautilus/scripts/05c-Linux/02b-E01-RPi-kernel-version +++ b/home/lucifer/.local/share/nautilus/scripts/05c-Linux/02b-E01-RPi-kernel-version @@ -114,24 +114,26 @@ readonly RPI_KERNEL_VERSION="${TMP}/RPi-kernel-version.txt" #------------------------------------------------------------------------------- # ... #------------------------------------------------------------------------------- +if ! [ -f "${RPI_KERNEL_VERSION}" ] ; then + OFFSET="$( ${MMLS_BIN} "${SOURCE}" | ${AWK_BIN} '/0x0c/ { print $3; }' )" + readonly OFFSET="$(( 10#"${OFFSET}" ))" # without leading zeros! -### TODO: add progress box! + ${FCAT_BIN} -o "${OFFSET}" kernel.img "${SOURCE}" > ./tmp/kernel.img -OFFSET="$( ${MMLS_BIN} "${SOURCE}" | ${AWK_BIN} '/0x0c/ { print $3; }' )" -readonly OFFSET="$(( 10#"${OFFSET}" ))" # without leading zeros! + readonly SKIP="$( ${BINWALK_BIN} ./tmp/kernel.img \ + | ${AWK_BIN} '/gzip compressed data/ { print $1; }' )" -${FCAT_BIN} -o "${OFFSET}" kernel.img "${SOURCE}" > ./tmp/kernel.img + ${DD_BIN} if=./tmp/kernel.img bs=1 skip="${SKIP}" status=none \ + | ${ZCAT_BIN} 2>/dev/null \ + | ${STRINGS_BIN} \ + | ${GREP_BIN} -F "Linux version" \ + > "${RPI_KERNEL_VERSION}" -readonly SKIP="$( ${BINWALK_BIN} ./tmp/kernel.img \ - | ${AWK_BIN} '/gzip compressed data/ { print $1; }' )" - -${DD_BIN} if=./tmp/kernel.img bs=1 skip="${SKIP}" status=none \ - | ${ZCAT_BIN} 2>/dev/null \ - | ${STRINGS_BIN} \ - | ${GREP_BIN} -F "Linux version" \ - > "${RPI_KERNEL_VERSION}" - -${RM_BIN} ./tmp/kernel.img + ${RM_BIN} ./tmp/kernel.img +fi | ${ZENITY_BIN} --progress \ + --title="kernel version" \ + --text="Please wait..." \ + --pulsate #------------------------------------------------------------------------------- # Display content of the resultfile "RPi-CPU-version.txt". diff --git a/home/lucifer/.local/share/nautilus/scripts/06-Qemu/01-cdrom b/home/lucifer/.local/share/nautilus/scripts/06-Qemu/01-cdrom index 2072d62..8f33eec 100755 --- a/home/lucifer/.local/share/nautilus/scripts/06-Qemu/01-cdrom +++ b/home/lucifer/.local/share/nautilus/scripts/06-Qemu/01-cdrom @@ -144,7 +144,7 @@ ${GTERMINAL_BIN} --execute \ -cpu host \ -smp 1,cores=1 \ -m 3072 \ - -usbdevice tablet \ + -usb -device usb-tablet \ -vga std \ -net none \ -boot once=d \ diff --git a/home/lucifer/Hackintosh/OVMF-X64-r15214.fd b/home/lucifer/Hackintosh/OVMF-X64-r15214.fd deleted file mode 100644 index beb21c0..0000000 Binary files a/home/lucifer/Hackintosh/OVMF-X64-r15214.fd and /dev/null differ diff --git a/home/lucifer/Hackintosh/OVMF_VARS-1024x768.fd b/home/lucifer/Hackintosh/OVMF_VARS-1024x768.fd index d682072..99abf9b 100644 Binary files a/home/lucifer/Hackintosh/OVMF_VARS-1024x768.fd and b/home/lucifer/Hackintosh/OVMF_VARS-1024x768.fd differ diff --git a/home/lucifer/Pictures/Screenshots/boot-bios-BOOTCAMP.png b/home/lucifer/Pictures/Screenshots/boot-bios-BOOTCAMP.png new file mode 100644 index 0000000..f2e92ea Binary files /dev/null and b/home/lucifer/Pictures/Screenshots/boot-bios-BOOTCAMP.png differ diff --git a/home/lucifer/Pictures/Screenshots/boot-bios-options.png b/home/lucifer/Pictures/Screenshots/boot-bios-options.png new file mode 100644 index 0000000..e34ffd4 Binary files /dev/null and b/home/lucifer/Pictures/Screenshots/boot-bios-options.png differ diff --git a/home/lucifer/Pictures/Screenshots/boot-cdrom-grml.png b/home/lucifer/Pictures/Screenshots/boot-cdrom-grml.png new file mode 100644 index 0000000..5d8e97e Binary files /dev/null and b/home/lucifer/Pictures/Screenshots/boot-cdrom-grml.png differ diff --git a/home/lucifer/Pictures/Screenshots/boot-cdrom-select-grml.png b/home/lucifer/Pictures/Screenshots/boot-cdrom-select-grml.png new file mode 100644 index 0000000..0c03097 Binary files /dev/null and b/home/lucifer/Pictures/Screenshots/boot-cdrom-select-grml.png differ diff --git a/home/lucifer/Pictures/Screenshots/boot-macos-catalina.png b/home/lucifer/Pictures/Screenshots/boot-macos-catalina.png new file mode 100644 index 0000000..ae41e0a Binary files /dev/null and b/home/lucifer/Pictures/Screenshots/boot-macos-catalina.png differ diff --git a/home/lucifer/Pictures/Screenshots/boot-macos-snow-leopard.png b/home/lucifer/Pictures/Screenshots/boot-macos-snow-leopard.png new file mode 100644 index 0000000..62fbc89 Binary files /dev/null and b/home/lucifer/Pictures/Screenshots/boot-macos-snow-leopard.png differ diff --git a/home/lucifer/Pictures/Screenshots/boot-rpi-with-cli-only.png b/home/lucifer/Pictures/Screenshots/boot-rpi-with-cli-only.png new file mode 100644 index 0000000..e6362d8 Binary files /dev/null and b/home/lucifer/Pictures/Screenshots/boot-rpi-with-cli-only.png differ diff --git a/home/lucifer/Pictures/Screenshots/boot-rpi-with-gui.png b/home/lucifer/Pictures/Screenshots/boot-rpi-with-gui.png new file mode 100644 index 0000000..7969a52 Binary files /dev/null and b/home/lucifer/Pictures/Screenshots/boot-rpi-with-gui.png differ diff --git a/home/lucifer/Pictures/Screenshots/boot-uefi-win10ee-qxl.png b/home/lucifer/Pictures/Screenshots/boot-uefi-win10ee-qxl.png new file mode 100644 index 0000000..d979ba6 Binary files /dev/null and b/home/lucifer/Pictures/Screenshots/boot-uefi-win10ee-qxl.png differ diff --git a/home/lucifer/Pictures/Screenshots/boot-uefi-win10ee.png b/home/lucifer/Pictures/Screenshots/boot-uefi-win10ee.png new file mode 100644 index 0000000..381883b Binary files /dev/null and b/home/lucifer/Pictures/Screenshots/boot-uefi-win10ee.png differ diff --git a/home/lucifer/Pictures/Screenshots/rpi-choose-arch.png b/home/lucifer/Pictures/Screenshots/rpi-choose-arch.png new file mode 100644 index 0000000..f679a8f Binary files /dev/null and b/home/lucifer/Pictures/Screenshots/rpi-choose-arch.png differ diff --git a/home/lucifer/Pictures/Screenshots/rpi-choose-kernel-version.png b/home/lucifer/Pictures/Screenshots/rpi-choose-kernel-version.png new file mode 100644 index 0000000..6f4fefb Binary files /dev/null and b/home/lucifer/Pictures/Screenshots/rpi-choose-kernel-version.png differ