## How-Tos ### Work around a halt in system startup If you, say, have a bad `ASSIGN` and startup halts, run `LoadWB`. You should be able to open some sort of text editor and fix `S:User-startup`. ### Crash lha while it's extracting an archive If you `Ctrl-C` `lha` while it's running, it will very likely crash the Amiga! ### Set up PSF3 on pre-3.2 AmigaOS If you want to use longer filenames and get better performance, you'll need to set up partitions with PFS3... ...unless you have a very modern OS 3.2, in which case you can use FFS with long filenames. * https://johan.driessen.se/posts/Setting-up-a-Compact-Flash-card-with-Classic-Workbench-and-WHDLoad-for-Amiga-600-1200/ * Download http://aminet.net/package/disk/misc/pfs3aio * Unpack `pfs3aio` into `L:` * Create a new partition in HDToolbox * File System -> Add/Update * Add `L:psf2aio` if not there already * DosType: `0x50465303` * File System -> Change * Select `PFS/03` * MaxTransfer: `0x1fe00` ### Add a drive a drive with an existing PFS3AIO filesystem * Go to the partition in HDToolbox and do the Add/Update filesystem steps from above. ### Use a PSF3 partition with PiStorm32 and an SC card * Set the Mask to `0x7ffffffe`: https://michalsc.github.io/Emu68/tutorials/SD_Preparation.html ### Align a set of icons in different arrangements Think building a distribution icon/window template and you want to group like icons together, but don't want to try and move them pixel by pixel using the mouse. This works in OS 3.2. * Create an `aligner` folder and open it * Move the set of icons you want to align into that folder * Resize the window to encompass the entire set of icons in the arrangement you want * Put the icons roughly in the locations you want them * Window -> Clean Up By -> Column * Move the icons back to where they came from * Snapshot the icons ### Deal with a validating hard disk If a disk is left dirty due to the system resetting/powering off during a write, you'll keep getting messages about the drive not being validated, especially if you try to write to the disk. You have two options: * Wait. If you look at the Info for the drive, you'll see it's validating. Eventually it will stop validating. * Run the latest [DiskSalv](https://aminet.net/package/disk/salv/DiskSalv) on the drive set to Repair mode. ### AmigaOS Scripting #### Make a script executable Run `PROTECT