Enable TRIM Support for 3rd Party SSDs in OSX El Capitan

 

There can be no doubt that the easiest way to increase the performance of an old Mac is to replace it’s hard disk with a shiny new Solid State Drive (SSD). The problem with this is that officially Apple only supports TRIM on Apple’s SSDs, effectively removing TRIM support from 3rd party SSDs. TRIM is a system-level command that allows the operating system and the drive to communicate about which areas of the drive are considered unused and thus ready to be erased and rewritten to. In the absence of TRIM, users can see significantly slower drive writes as the drive begins to fill up.

There are tolls people have written to try and get TRIM working for 3rd Party drives, but luckily, with El Capitan, Apple is relaxing the reins and allowing TRIM to be re-enabled for 3rd party SSDs.

To do this, simply open Terminal and execute the command:

sudo trimforce enable

Apple does give you a warning:

This tool force-enables TRIM for all relevant attached devices, even though they have not been validated for data integrity while using that functionality. By using this tool to enable TRIM, you agree that Apple is not liable for any consequences that may result, including but not limited to data loss or corruption.

Screen Shot 2015-10-31 at 1.21.06 AM

…but after a reboot (the utility will prompt you) TRIM should be enabled and you’ll be good to go.

As always: Proceed at your own risk. Enjoy.

How to Boot Toshiba Portege M200 off an SD Memory Card

A long while ago I became the proud owner of one o the best Tablet PCs on the market, the Toshiba Portege M200. Problem is that if something goes awry on the internal hard disk, then you’re in trouble because the M200 is notoriously difficult to boot on external media. This was something I needed to do after trying out Windows 7 on it (which worked extremely well by the way) – but it came at a cost too high – missing features and tools and drivers that the default factory install has.

Things are made complex because while it is technically possible to boot off an external CD/DVD ROM, the number of external drive it will actually boot off are very few. Additionally, the BIOS wont boot off USB thumb drives (at all!) and USB hard disks either. There is one saving grace – you can boot off an SD memory card (as long as it *not* SDHC) from the built-in reader. The trouble with THIS is that it will only boot off an SD card if its been formatted and made bootable ‘just right’. Its so finiky that Toshiba have actually created some tools to aide in the process of making them bootable.

So, if you have a standard SD memory card, you can use the Toshiba SD Memory Format Utility and the Toshiba SD Memory Boot Utility to create a bootable image of the restore CDs. Obviously if the default install is bung, then how can you use these tools?

Well the good news is, I’ve got a copy of them from the Toshiba website. I have hosted them here in case they disappear, here is the Toshiba SD Memory Format Utility and here is the Toshiba SD Memory Boot Utility.

What I did to reinstall the factory image on my Portege M200 Tablet PC:

  1. Download the 2 links above and install them.
  2. Run ‘as administrator’ (if on Vista or Windows 7) the format utility and format the SD card.
  3. Run ‘as administrator’ (if on Vista or Windows 7) the boot utility and select the BOOT.IMG file from the /bin folder on the first restore CD. Here is a copy if you don’t have the disks.
  4. Restart the computer pressing F2 at POST and with the SD card in the reader, and use the arrows keys to select the SD/Floppy boot device.  Press [Enter].

When I booted it still gave me the CD ROM selection screen, which I eventually discovered was actually compatible with the External USB DVD ROM I was using (wouldn’t boot off it – but option ‘9’ worked in DOS) – after this, it just started installing the factory image as normal.

Any problems, drop me a line and I will try to help.  I know how frustrating this can be after spending most of the day trying Linux boot disks and direct copying boot sectors etc.  Ahh! but finally success!

 

Press Releases Suck

For work, I’ve been trying (rather unsuccessfully) to get the bluetooth on my DiNovo Keyboard working with devices other than a keyboard or mouse.

I found the BroadCom press release stating that they aquired the WIDCOMM company, stating that all the downloads have moved, but didn’t point to where.

*sigh*

Back to Googling device drivers. 🙁