├── LICENSE ├── QEMUCheckpoints ├── README.md └── createCheckpoint.ps1 ├── README.md └── SystemUpdater ├── README.md └── systemupdate.sh /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 Cory Malon 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /QEMUCheckpoints/README.md: -------------------------------------------------------------------------------- 1 | # QEMU Checkpoint Creator 2 | This script will allow you to create recoverable checkpoints for your Dev environment. 3 | 4 | While the script checks for this, QEMU must _not_ be running in order for checkpoints to be created. -------------------------------------------------------------------------------- /QEMUCheckpoints/createCheckpoint.ps1: -------------------------------------------------------------------------------- 1 | # Setup config variables 2 | $profile = $env:USERPROFILE 3 | $QEMUPath = "$profile\Documents\AUX_Dev\QEMU" 4 | $devPath = "\Builds\AUXDev" 5 | $ckPointDir = "\checkpoints" 6 | 7 | # Check if QEMU is running 8 | $QEMUProcCk = get-process | where ProcessName -eq "qemu-system-m68k" 9 | 10 | if ($QEMUProcCk -eq $null){ 11 | # Create checkpoints folder if not exists 12 | $ckPointTest = "$QEMUPath$devPath$ckPointDir" 13 | 14 | if (Test-Path $ckPointTest) { 15 | 16 | Write-Host "Checkpoints directory in place" 17 | } 18 | else 19 | { 20 | New-Item $ckPointTest -ItemType Directory 21 | Write-Host "Checkpoints directory created" 22 | 23 | } 24 | 25 | # Create directory to store checkpoint data 26 | $ckPointDate = get-date -format yyyyMMdd-HHmmss 27 | $ckPointDir = "$ckPointTest\$ckPointDate-Checkpoint" 28 | New-Item $ckPointDir -ItemType Directory 29 | clear 30 | Write-Host "You may enter notes about your checkpoint on a single line. Max 1022 char" 31 | Write-Host "" 32 | $ckptNotes = Read-Host "Enter notes about your checkpoint" 33 | if ($ckptNotes -ne ""){ 34 | Add-Content -Path "$ckPointDir\notes.txt" -Value $ckptNotes 35 | } 36 | 37 | # Backup QEMU machine 38 | $runPath = "$QEMUPath$devPath" 39 | Copy-Item -Path "$runPath\*.img" -Destination $ckPointDir 40 | Copy-Item -Path "$runPath\*.bat" -Destination $ckPointDir 41 | 42 | Write-Host "Checkpoint has been created." 43 | Write-Host "Checkpoint Location: $ckPointDir" 44 | } 45 | else { 46 | write-host "You must power off your QEMU machines and close QEMU in order to create a checkpoint." 47 | pause 48 | } 49 | 50 | 51 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Apple_A-UX_3.1.1_Configure 2 | Notes on installing on a Quadra 610 with ZuluSCSI and shell scripts to update your fresh install of Apple A/UX 3.1.1 with components from jagubox and nleymann.de. 3 | 4 | This is a work in progress. -------------------------------------------------------------------------------- /SystemUpdater/README.md: -------------------------------------------------------------------------------- 1 | # Change Log 2 | The change log is here to depict the current state of the systemupdate.sh script and what packages are automatically being installed. And general notes. 3 | 4 | ## 2022-12-14 5 | * Altered backup structure for preserving original bins 6 | * Added the following packages 7 | * GCC 2.7.2 8 | * Port-Tools-v4 9 | * bison 10 | * chgrp 11 | * chmod 12 | * chown 13 | * dd 14 | * df 15 | * du 16 | * flex 17 | * gchgrp 18 | * gchmod 19 | * gchown 20 | * gdd 21 | * gdf 22 | * gdu 23 | * ginstall 24 | * gls 25 | * gmkdir 26 | * grmdir 27 | * less 28 | * lesskey 29 | * ls 30 | * make 31 | * mkdep 32 | * mkdir 33 | * ranlib 34 | * rmdir 35 | 36 | ## 2022-12-13 37 | 38 | Package Install List: 39 | * gzip 40 | * unzip 41 | * pstree 42 | * bash 43 | * pico 44 | * GNUmake 45 | * telnet 46 | * in.telned 47 | * inetd 48 | * traceroute 49 | * Ntraceroute 50 | * bnet driver -------------------------------------------------------------------------------- /SystemUpdater/systemupdate.sh: -------------------------------------------------------------------------------- 1 | # Requirements: 2 | # - Run script as root 3 | # - /opt directory created 4 | # - jagubox mirror stored in /opt 5 | # 6 | # e.g. /opt/jagubox 7 | # /opt/jagubox/AA.new_files 8 | # /opt/jagubox/Apple.fixes 9 | 10 | clear 11 | echo "***********************************************" 12 | echo "* A/UX 3.1.1 Jagubox System Update Script *" 13 | echo "***********************************************" 14 | echo "" 15 | echo "This script applies updates and *essential*" 16 | echo "features to your base A/UX 3.1.1 installation." 17 | echo "" 18 | echo " To Be Installed:" 19 | echo " ----------------" 20 | echo " * gzip * traceroute" 21 | echo " * unzip" 22 | echo " * pstree" 23 | echo "" 24 | echo "Would you like to proceed? case-sensitive [y/n]" 25 | read ans 26 | 27 | if [ $ans = "y" ] 28 | 29 | then 30 | if [ -d /opt ] 31 | 32 | then 33 | if [ -d /opt/jagubox ] 34 | 35 | then 36 | clear 37 | # Create Backup directories 38 | 39 | echo "Creating Backup Directories" 40 | echo "---------------------------" 41 | echo "" 42 | mkdir /opt/backups 43 | mkdir /opt/backups/systemupdate 44 | mkdir /opt/backups/systemupdate/usr 45 | mkdir /opt/backups/systemupdate/usr/bin 46 | mkdir /opt/backups/systemupdate/usr/etc 47 | mkdir /opt/backups/systemupdate/etc 48 | mkdir /opt/backups/systemupdate/boot.d 49 | mkdir /opt/backups/systemupdate/bin 50 | # Installing Utilities 51 | # -------------------- 52 | 53 | echo "Installing Utilities" 54 | echo "--------------------" 55 | echo "" 56 | 57 | # Install gzip 58 | echo "" 59 | echo "Installing gzip:" 60 | echo "" 61 | 62 | mkdir /tmp/gzip 63 | cp /opt/jagubox/Utilities/gzip-124.bin.tar.Z /tmp/gzip 64 | cd /tmp/gzip 65 | zcat /tmp/gzip/gzip-124.bin.tar.Z | tar -xvf - 66 | rm /tmp/gzip/gzip-124.bin.tar.Z 67 | cp /tmp/gzip/* /usr/bin 68 | rm -r /tmp/gzip 69 | 70 | # Install unzip 71 | echo "" 72 | echo "Installing unzip" 73 | echo "" 74 | 75 | mkdir /tmp/unzip 76 | cp /opt/jagubox/Utilities/unzip.tar.gz /tmp/unzip 77 | cd /tmp/unzip 78 | gzip -dc unzip.tar.gz | tar xvfmo - 79 | cp /tmp/unzip/unzip/unzip /usr/bin 80 | rm -r /tmp/unzip 81 | 82 | # Install pstree 83 | echo "" 84 | echo "Installing pstree:" 85 | echo "" 86 | 87 | mkdir /tmp/pstree 88 | cp /opt/jagubox/Utilities/pstree.bin.tar.gz /tmp/pstree 89 | cd /tmp/pstree 90 | gzip -dc pstree.bin.tar.gz | tar xvfmo - 91 | cp /tmp/pstree/pstree /usr/bin 92 | rm -r /tmp/pstree 93 | 94 | # Install Port-Tools-V4 95 | echo "" 96 | echo "Installing Port-Tools-V4" 97 | echo "" 98 | 99 | mkdir /tmp/porttools 100 | cp /opt/jagubox/AA.new_files/port-tools-v4.tar.gz /tmp/porttools 101 | cd /tmp/porttools 102 | gzip -dc port-tools-v4.tar.gz | tar xvfmo - 103 | 104 | # Backup originals 105 | mv /bin/bison /opt/backups/systemupdate/bin 106 | mv /bin/chgrp /opt/backups/systemupdate/bin 107 | mv /bin/chmod /opt/backups/systemupdate/bin 108 | mv /bin/chown /opt/backups/systemupdate/bin 109 | mv /bin/dd /opt/backups/systemupdate/bin 110 | mv /bin/df /opt/backups/systemupdate/bin 111 | mv /bin/du /opt/backups/systemupdate/bin 112 | mv /bin/flex /opt/backups/systemupdate/bin 113 | mv /bin/gchgrp /opt/backups/systemupdate/bin 114 | mv /bin/gchmod /opt/backups/systemupdate/bin 115 | mv /bin/gchown /opt/backups/systemupdate/bin 116 | mv /bin/gdd /opt/backups/systemupdate/bin 117 | mv /bin/gdf /opt/backups/systemupdate/bin 118 | mv /bin/gdu /opt/backups/systemupdate/bin 119 | mv /bin/ginstall /opt/backups/systemupdate/bin 120 | mv /bin/gls /opt/backups/systemupdate/bin 121 | mv /bin/gmkdir /opt/backups/systemupdate/bin 122 | mv /bin/grmdir /opt/backups/systemupdate/bin 123 | mv /bin/less /opt/backups/systemupdate/bin 124 | mv /bin/lesskey /opt/backups/systemupdate/bin 125 | mv /bin/ls /opt/backups/systemupdate/bin 126 | mv /bin/make /opt/backups/systemupdate/bin 127 | mv /bin/mkdep /opt/backups/systemupdate/bin 128 | mv /bin/mkdir /opt/backups/systemupdate/bin 129 | mv /bin/ranlib /opt/backups/systemupdate/bin 130 | mv /bin/rmdir /opt/backups/systemupdate/bin 131 | 132 | # Copy new 133 | cp /tmp/porttools/port-tools/bison /bin 134 | cp /tmp/porttools/port-tools/chgrp /bin 135 | cp /tmp/porttools/port-tools/chmod /bin 136 | cp /tmp/porttools/port-tools/chown /bin 137 | cp /tmp/porttools/port-tools/dd /bin 138 | cp /tmp/porttools/port-tools/df /bin 139 | cp /tmp/porttools/port-tools/du /bin 140 | cp /tmp/porttools/port-tools/flex /bin 141 | cp /tmp/porttools/port-tools/gchgrp /bin 142 | cp /tmp/porttools/port-tools/gchmod /bin 143 | cp /tmp/porttools/port-tools/gchown /bin 144 | cp /tmp/porttools/port-tools/gdd /bin 145 | cp /tmp/porttools/port-tools/gdf /bin 146 | cp /tmp/porttools/port-tools/gdu /bin 147 | cp /tmp/porttools/port-tools/ginstall /bin 148 | cp /tmp/porttools/port-tools/gls /bin 149 | cp /tmp/porttools/port-tools/gmkdir /bin 150 | cp /tmp/porttools/port-tools/grmdir /bin 151 | cp /tmp/porttools/port-tools/less /bin 152 | cp /tmp/porttools/port-tools/lesskey /bin 153 | cp /tmp/porttools/port-tools/ls /bin 154 | cp /tmp/porttools/port-tools/make /bin 155 | cp /tmp/porttools/port-tools/mkdep /bin 156 | cp /tmp/porttools/port-tools/mkdir /bin 157 | cp /tmp/porttools/port-tools/ranlib /bin 158 | cp /tmp/porttools/port-tools/rmdir /bin 159 | 160 | # Cleanup 161 | rm -r /tmp/pottools 162 | 163 | 164 | # Installing Sys_stuff 165 | # -------------------- 166 | echo "" 167 | echo "Installing Sys_stuff" 168 | echo "--------------------" 169 | 170 | # Install bash 171 | echo "" 172 | echo "Installing Bash 1.14.2" 173 | echo "" 174 | 175 | mkdir /tmp/bash 176 | cp /opt/jagubox/GNU_stuff/bash-aux.bin.tar.gz /tmp/bash 177 | cd /tmp/bash 178 | gzip -dc bash-aux.bin.tar.gz | tar xvfmo - 179 | cp /tmp/bash/bash-aux/bash /bin 180 | rm -r /tmp/bash 181 | 182 | # Install GCC 2.7.2 183 | echo "" 184 | echo "Installing GCC 2.7.2" 185 | echo "" 186 | 187 | mkdir /tmp/gcc 188 | cp /opt/jagubox/AA.new_files/gcc-2.7.2.bin.tar.gz /tmp/gcc 189 | cd /tmp/gcc 190 | gzip -dc gcc-2.7.2.bin.tar.gz | tar xvfmo - 191 | cd gcc-2.7.2-bin 192 | ./install-gcc-aux 193 | rm -r /tmp/gcc 194 | 195 | # Install Pico/Nano with symlink for nano because muscle memory is a thing 196 | echo "" 197 | echo "Installing Pico/Nano" 198 | echo "" 199 | 200 | mkdir /tmp/pine 201 | cp /opt/jagubox/Utilities/pine-3.95-aux.tar.gz /tmp/pine 202 | cd /tmp/pine 203 | gzip -dc pine-3.95-aux.bin.tar.gz | tar xvfmo - 204 | cp /tmp/pine/pine-3.95-aux/bin/pico /usr/bin 205 | ln -s /usr/bin/pico /usr/bin/nano 206 | rm -r /tmp/pine 207 | 208 | # Install GNUmake 209 | echo "" 210 | echo "Installing GNUmake-3.74" 211 | echo "" 212 | mkdir /tmp/GNUmake 213 | cp /opt/jagubox/GNU_stuff/GNUmake-3.74.tar.gz /tmp/GNUmake/ 214 | cd /tmp/GNUmake 215 | gzip -dc GNUmake-3.74.tar.gz | tar xvfmo - 216 | cp /tmp/GNUmake/make-3.74/GNUmake /usr/bin 217 | 218 | # Update Telnet client/server 219 | echo "" 220 | echo "Updating telnet client and server" 221 | echo "" 222 | 223 | mkdir /tmp/telnet 224 | cp /opt/jagubox/Sys_stuff/telnet-aux.tar.gz /tmp/telnet 225 | cd /tmp/telnet 226 | gzip -dc telnet-aux.tar.gz | tar xvfmo - 227 | mv /usr/bin/telnet /opt/backups/systemupdate/usr/bin 228 | mv /usr/etc/in.telnetd /opt/backups/systemupdate/usr/etc 229 | cp /tmp/telnet/telnet_src/AUX-bins/in.telnetd /usr/etc 230 | cp /tmp/telnet/telnet_src/AUX-bins/telnet /usr/bin 231 | rm -r /tmp/telnet 232 | 233 | # Update inetd 234 | echo "" 235 | echo "Updating inetd to 1.9" 236 | echo "" 237 | 238 | mkdir /tmp/inetd 239 | cp /opt/jagubox/AA.new_files/inetd-1.9.tar.gz /tmp/inetd 240 | cd /tmp/inetd 241 | gzip -dc inetd-1.9.tar.gz | tar xvfmo - 242 | # Backup inetd 243 | mv /etc/inetd /opt/backups/systemupdate/etc 244 | cp /tmp/inetd/inetd_src/inetd /etc/inetd 245 | rm -r /tmp/inetd 246 | 247 | # Install traceroute 248 | echo "" 249 | echo "Installing traceroute:" 250 | echo "" 251 | 252 | mkdir /tmp/traceroute 253 | cp /opt/jagubox/Sys_stuff/traceroute-aux.tar.gz /tmp/traceroute 254 | cd /tmp/traceroute 255 | gzip -dc traceroute-aux.tar.gz | tar xvfmo - 256 | cp /tmp/traceroute/traceroute-aux/traceroute_src/traceroute /usr/bin 257 | 258 | # Install Ntraceroute 259 | echo "" 260 | echo "Installing Ntraceroute:" 261 | echo "" 262 | 263 | cp /tmp/traceroute/traceroute-aux/Ntraceroute_src/Ntraceroute /usr/bin 264 | 265 | # ************* 266 | # DO THIS LAST!!!!! 267 | 268 | # Update bnet driver 269 | echo "" 270 | echo "Updating bnet driver" 271 | echo "" 272 | 273 | # Backup running bnet driver 274 | 275 | mv /etc/boot.d/bnet /opt/backups/systemupdate/etc/boot.d 276 | 277 | # Install new bnet driver 278 | cp /tmp/traceroute/traceroute-aux/bnet-3.1/bnet /etc/boot.d 279 | 280 | # Perform cleanup 281 | rm -r /tmp/traceroute 282 | 283 | # Execute newconfig to rebuild kernel 284 | newconfig 285 | else 286 | echo "" 287 | echo "ERROR: You have not placed the jagubox files in /opt/jagubox. Exiting" 288 | exit 1 289 | fi 290 | else 291 | echo "" 292 | echo "ERROR: You have not created the /opt directory. Exiting" 293 | exit 1 294 | fi 295 | 296 | 297 | 298 | 299 | 300 | 301 | else 302 | exit 0 303 | fi --------------------------------------------------------------------------------