DIY Solid State Drive

Now with the CF to 2.5 IDE adapter in hand, I’ve basically got a solid state drive for my laptop.  The trick of course is making it all work.  The first step is to get it physically installed in place of the failed hard drive.  The only tricky part here was determining where pin 1 was.

The adapter I bought has a little white triangle that identifies pin 1 (in the picture above, this is the left most pin).  The existing drive was a Hitachi DK227A-41.  Google helped turn up a useful diagram which helped me identify pin 1.

HITACHI DK227A SPECIFICATIONS REV. 1, K6601560 97/11/08

The second bit I stumbled a bit on was getting the laptop to identify this as a drive.  The CMOS auto setting didn’t detect it as a drive – so I needed to use the USER setting to punch in the right values.  I ended up using the values I found in this SanDisk document, but I’m certain others will work.  I also needed to dumb down the BIOS settings to allow me to boot from this drive, this meant turning off some of the fancy read pre-fetch and DMA modes.

As this is an old laptop – 233MHz with 64MB of RAM, I run Puppy Linux on it.  My previous experience installing Puppy on this particular laptop was painful, as it only has a floppy drive (no CDROM) and at the time I failed to find a boot floppy that enables USB support such that I could boot Puppy from it.  The route I took at the time was to format half of the 4Gig drive as DOS and make it bootable, then find an old Linux distro that had a floppy based install, borrow a wired PCMCIA network card from work and download the DOS based Puppy install over the network to the DOS partition.  Once there, I could reboot and install Puppy natively.  That was the story for Puppy 2.01.

Puppy 4.00 is an improvement in a number of areas.  WakePup is now something that comes as part of the LiveCD allowing me to create a boot floppy using my desktop system.  This boot floppy knows how to boot a USB key version of Puppy on this old laptop.  It just works.

Other nice features of Puppy 4.00 is the battery indicator now knows how to talk to the hardware in the laptop, supplying charge remaining information.  Additionally, the power off sequence works to actually shut the laptop off (2.01 didn’t).

With the laptop 1024×768 screen matching the LCD monitor Jenn uses on her Mac Mini – TightVNC on Puppy makes it this old laptop into a really nice wireless Mac terminal.  The default browser is SeaMonkey, but Firefox 2 is available in the package repository.

Using the DIY SSD is weird, the laptop is almost totally silent and for whatever reasons the drive light indicator doesn’t blink at all – so you have no way of knowing that you’re waiting on disk activity.  The performance seems to be about the same as it used to be, but no direct comparison is possible with the old drive making grinding sounds.  I’m running with a swap partition on the CF card, but even with only 64MB of RAM – running the common application load on this laptop I’m using zero swap. (hooray Puppy)

Some folk get worked up about reducing the number of writes to a CF card, I’ve decided not to worry and see how this works out.  The number of write cycles is fairly high on modern cards (1 or 2 million), I believe they have built in wear-levelling, and they are cheap.  I know my puppy powered laptop isn’t making that many writes to the filesystem, so I suspect the DIY SSD will last longer than the laptop.

Leave a Reply

Your email address will not be published. Required fields are marked *