Skip to content

Instantly share code, notes, and snippets.

@startergo
startergo / workaround.md
Last active March 25, 2024 11:05
Workaround for 0x80300024 Error In Windows 10/11 Setup

Workaround for 0x80300024 Error In Windows 10/11 Setup

During the installation of Windows 10 or Windows 11, on the partition creation and formatting page, you may encounter error 0x80300024. This error occurs on hardware configurations with multiple hard drives or SSDs. It is caused by inability of Windows Setup to correctly recognize which internal storage device is bootable.

But there is a workaround for error 0x80300024: by manually transferring the bootloader, BCD registry hive and bootable ramdisk to internal bootable storage device and booting from that device, we can hint Windows Setup which of the multiple internal storage devices is bootable. Windows installation will then proceed as usual.

Contents

  1. Symptoms of the problem
  2. Cause of this problem
  3. Solution in a nutshell
@startergo
startergo / macOS_dmg_create.md
Last active February 24, 2024 05:01
macOS DMG Deployment Workflow
  • Create a sparse image:
hdiutil create -size 32g -type SPARSE -fs HFS+J -volname "Macintosh HD" ~/Desktop/mountainlion_12f37_user.sparseimage
  • Mount the image:
hdiutil attach -owners on -noverify ~/Desktop/mountainlion_12f37_user.sparseimage
  • Mount the Installer:
@startergo
startergo / appstore_downlload.md
Created February 24, 2024 02:50
Command to open the App Store Download folder
  • On Mojave use this command to open the App Store Download folder:
open $TMPDIR../C/com.apple.appstore/
  • On Catalina use this command to open the App Store Download folder:
open $TMPDIR../C/com.apple.appstoreagent/com.apple.appstore/
  • Script for automation:
@startergo
startergo / Wazuh_macos.md
Last active February 16, 2024 20:19
Remove Wazuh client agent
  • Remove agent:
pkgutil --pkgs | grep wazuh
com.wazuh.pkg.wazuh-agent-etc
com.wazuh.pkg.wazuh-agent 
rm -rf /Library/Ossec
rm -rf /Library/StartupItems/WAZUH
rm -f /Library/LaunchDaemons/com.wazuh.agent.plist
rm -f /private/etc/ossec-init.conf
pkgutil --forget com.wazuh.pkg.wazuh-agent-etc
@startergo
startergo / osx-software-update-urls-10.3-to-14.txt
Created February 3, 2024 15:32 — forked from b0gdanw/osx-software-update-urls-10.3-to-14.txt
URLs of the index files used by the software update client on OS X
10.3 (Panther):
https://swscan.apple.com/scanningpoints/scanningpointX.xml
10.4 (Tiger):
https://swscan.apple.com/content/catalogs/index.sucatalog
https://swscan.apple.com/content/catalogs/index-1.sucatalog
10.5 (Leopard):
https://swscan.apple.com/content/catalogs/others/index-leopard.merged-1.sucatalog
@startergo
startergo / safari_elcapitan.md
Created February 3, 2024 15:30
Safari 11.1.2 pkg for El Capitan
http://swcdn.apple.com/content/downloads/17/47/041-90821-A_G48H0SPB75/023eolmp0oepnvlgt92lh3l9iscqjwc39e/Safari11.1.2ElCapitan.pkg
@startergo
startergo / Install_USB_Maker.sh
Last active March 5, 2025 17:12 — forked from dakanji/Install_USB_Maker.sh
Creates Bootable USB for Mac OS Lion to Monterey
#!/usr/bin/env bash
set -e
# Install_USB_Maker.sh
# Copyright (c) 2020 - 2023 Dayo Akanji
# - [email protected]
# Portions Copyright (c) Jeff Geerling
# - https://github.com/geerlingguy/macos-virtualbox-vm/blob/master/LICENSE
#
# MIT License
@startergo
startergo / openwork_upgrade.md
Created December 18, 2023 01:34
Sysupgrade OpenWRT

scp openwrt-19.07.7-ar71xx-mikrotik-nand-64m-squashfs-sysupgrade.bin [email protected]:/tmp

@startergo
startergo / dhcp.md
Created December 17, 2023 17:19
T-mobile at home Internet and OpenWRT router settings
@startergo
startergo / reset_Git.md
Created October 15, 2023 14:15
Reset clone to specific Git commit id
  • Look at the git log:
git log -n 5 --oneline
  • Pick up a commit id and reset:
git reset --hard 'commit id'