Upgrading to a Larger Hard Disk, using Windows Software RAID 1 (Mirroring)

Technically, you can't extend a mirrored volume, but you can break the mirror and extend it. Then, you can re-build the mirror.

Here's how to upgrade to a larger disk, using mirroring to copy the data over. I'm going to assume you want to go from a single disk to two larger disks: a spare disk is cheaper than dealing with hours of disk recovery in the event of a crash, no matter how rare crashes are.

Start by making a full backup of your disk to an external drive.

Install one new disk and making a mirror onto it.

A Long Explanation of Character Encodings and UTF-8 and the IMC Software

This was posted as a correction to a note I made about some character encoding errors that appeared on the LA Indymedia website. It's poorly written. If you need me to edit and clarify, send an email to johnk@riceball.com.

It's ISO 8859, not 8890.

DnsMasq DHCP Options and some Yukon PXE Headaches: ignoring DHCP option 66.

Below this list is a story about a PXE boot problem I had with the Yukon PXE firmware.

Known DHCP options:
1 netmask
2 time-offset
3 router
6 dns-server
7 log-server

Using strings to create functions

One of the less-used features is the Function() object, which can turn a string of Javascript code into a function. This is an example of how it can be useful.

Discover the IP Address of a Cisco Aironet 1200 Series on Linux without IPSU

I got an Aironet 1200 and didn't have the serial cable, so I tried to use IPSU to find the IP address. I ran it in a VM, bridged the ethernet interface, and it failed.

Idea for a Mobile Augmented Reality App that Plays Site-Specific Audio Clips

I just submitted this idea to some hackathon thing. I wish I hadn't but I did.* The idea is a mobile app that, based on the sensor's location, will play audio files that pertain to the area.

Dell Inspiron is more expensive than Optiplex (updated)

Dell shopping tip:
Similar computers may have very different prices.

Logging Very Slow SQL Queries, in PHP

MySQL has a feature to log slow queries, and it's nice, but the problem is, a lot of the queries look alike. So what you want is a backtrace so you can find the code that created the query.

Postfix Install Stuff

(argh, forgot to back up my postfix work. i have to start fresh, so this is an opportunity to document work.)

# first get a superuser shell with sudo
sudo -s

apt-get install mailutils

Install Java JDK into /usr/local/bin

There's a zillion ways to do it, and editing $PATH is probably the best, but I didn't want to do that, so I did this:

Limited Email

I've been working on learning postfix and migrating email accounts to it. The service I'm dreaming about is going to be "limited email" and differs entirely from the big email servers.

Paranoid email about "Anti-Christian" Government

I got on a right-wing PAC's email list, and got this.

Dear Fellow American,
The very troops who defend our religious freedom are at risk of having their own taken away.

Javascript APIs and Libraries Change the Game

I was thinking a bit about the JS co-learning thing, and discovered that services, APIs and libraries really change the game, or have changed the game.

Horizontal Javascript Class

Sketching out a possible class for learning Javascript / learning to learn Javascript / learning to teach Javascript.

Prelims:
HTML and DOM
CSS and DOM

Old DVD Loader is not Reading Pressed Disc

After a long afternoon of watching The Big Bang Theory on DVD, the loader stopped reading discs. I thought it was a software issue, so tried a bunch of different things, but this thread seems to say that DVD lasers wear out.

Syndicate content