Dual booting Windows XP and Linux using ntldr

This page has some useful instructions.

1. Install linux with its bootloader on the linux partition, and not in the MBR.

2. While booted from a linux live CD (could be the installer itself), make a backup copy of the MBR (call it mbr.save).

$ dd if=/dev/hdb of=mbr.save bs=512 count=1

3. Install linux bootloader to MBR.

$ lilo -M /dev/hdb
$ grub-install /dev/hdb

4. Make an additional backup copy of the MBR (call it boot.lnx)

$ dd if=/dev/hdb of=/boot/boot.lnx bs=512 count=1

5. Restore mbr.save

$ dd if=mbr.save of=/dev/hdb bs=512

6. Copy boot.lnx to the NTFS partition and add an entry in boot.ini that points to it.

C:> cd \
C:> attrib -h -r -s boot.ini
C:> notepad boot.ini


$30 wireless bridge

I was recently appalled by the cost of a dedicated wireless bridge at, e.g., BestBuy. By wireless bridge I mean a little box with an antenna and an ethernet port that will allow an ethernet-only device to connect to a wireless network. This is yet-another DD-WRT saves the day story. A search on newegg.com for dd-wrt actually lists a bunch of compatible routers. I bought an Asus WL-520GC. I followed these instructions to downgrade the factory firmware from to, and then simply uploaded the dd-wrt.v24_micro_generic.bin file using the factory firmware update interface. This painlessly gave me DD-WRT on the router. I then followed these instructions to configure it as a Client Bridge.

This was pretty painless. I’m actually posting this entry from my laptop, connected via ethernet to my new wireless bridge, which is connected wirelessly (protected via WPA2 personal) to my main router.

The one issue I encountered was a blank screen after clicking Save or Apply with a URL of This is a browser compatibility issue. Firefox and Safari on OS X were giving me trouble. I tried from IE in Windows and had no further problems. In fact, I was rather startled by just how responsive the menus are on this little fella.