Tag Archive for 'TKD'

Tagged

TAGGED!
Once you have been tagged, you have to write a blog with 10 weird, random things, facts, habits, or goals about yourself. At the end choose 10 people to be tagged, listing their names and why you chose them. Don’t forget to leave them a comment (you’re it) and to read your blog. You can’t tag the person who tagged you. Since you can’t tag me back, let me know when you’ve posted your blog so I can see your answers.

  1. I still write music now and then.
  2. I have a blue-tip (almost full blue) belt in TKD. I can kick your ass in Korean and English ;). Blue Tip
  3. My favorite music has bag-pipes. Rory Campbell
  4. I’m the founder of the Berkshire Linux Users Group. BLUG Logo
  5. I live in MA but am still a 3 hour drive from Boston (Mind boggling, isn’t it?).
  6. I’ve named all my personal computers after various gods of dischord, chaos, and change: Loki, Pan, Eris, Tyr, Enki, and Coyote.
    All my employer’s servers are named after Final Fantasy summons: Asura, Shiva, Ifrit, Ramuh, Valfor, Phoenix, Firebird, Titan, Hydra (ok not a summon, but it’s really ten machines acting like one, so the name fit), Golem, and Carbunkle.Final Fantasy
  7. I really love to play Go, even though I’m not that great at it (19 kyu).Go
    I’m part of the Northern Berkshire Game (Design) Group (link). We play and make up games. It’s cool!
  8. Books that have changed me: Recently: Zen and the Art of Motorcycle Maintainance by Robert Pirsig and Way of the Peaceful Warrior by Dan Millman. When I was a kid: Elfquest by Wendy and Richard Pini.
  9. I work from my home for a bunch of bodybuilders. Sortof ;)
  10. I’m working on getting Italian citizenship jure sanguinis. That means because my Great-Grandparents were born there they’ll recognize I’m still Italian (hopefully). I’m waiting on some very slow searches to finish, but then once the paperwork is done I’ll be a Dual Citizen. Italy

The next victims of this malicious meme:

  1. Jen - Because I love to share the love
  2. Sarah and
  3. Rachael - Because even though you’re my sisters, I still don’t know enough about you :)
  4. Pip - Because I’ve lost track of him, and want to know what’s up
  5. Seth - Because he’s hilarious
  6. Jeff - Because I really don’t talk to my friends enough
  7. Joe - Did I mention I don’t talk enough?
  8. Neal - Because even though I know he won’t do it, I had to try ;)
  9. Brannon - Because he never blogs about himself
  10. Bryan - Because he seems a likely target for meme crossfire ;)

The Saga of the Corrupt Registry

Saturday while Jen was preparing some wood boxes for painting, I was trying to see if I could get Bumble (Jen’s Windows 2000 based computer) to sleep or hibernate. My motive for this was due to all of the energy conservation literature I’ve been exposing myself to lately - I figured I could save power if I got Jen’s computer to quickly sleep while not in use. I quickly found out sleep mode wouldn’t work, but I figured Hibernate would be just fine. After enabling hibernate mode, I (seemingly) hibernated the computer with no problem. This was around 5pm.

When I turned Bumble back on, it started to boot just fine, but right about the time when you expect to see the GUI come up, it would reboot. If I let it, it would keep doing this startup/reboot loop forever. I tried booting into safe mode, but I experienced the same reboot loop problem. I had no idea what was going on at this point.. I thought maybe windows was reading something in the something in the hibernation file (hiberfil.sys) that it didn’t like and then rebooting. I thought if I could only remove that file, everything would work fine.

Luckily, I had ubuntu installed on another partition (dapper drake (6.06).. a little old, but still very useful). After fighting with the wireless card momentarily (using ndiswrapper and windows based tnet1130 drivers), I was able to browse the web and find that I needed the ntfs-3g driver to write to (or delete from) NTFS filesystems. I got the appropriate driver and setup everything, but the filesystem wouldn’t mount. The ntfs driver complained the filesystem was marked as crashed and told me I’d need to run windows’ chkdsk utility. Great, I don’t have windows accessible at the moment!

I searched around a bit for some operating environment that would let me run chkdsk and found BartPE. This is a great utility that basically builds a windows livecd using whatever current version of windows you have running. As I was running Linux on my laptop at the time, I rebooted into windows (good thing I keep XP around!) then created a BartPE disc.

Booting BartPE on Bumble was a little odd - it asks (scarily) to upgrade or install a new version of Windows XP, but pressing F10 (to select a new install) just starts up BartPE. I guess that’s what happens when you use a OEM version of Windows to build a BartPE disc.

Inside BartPE, I was presented with a strange ‘mini-windows’ The PE builder replaced Windows XP’s start menu and taskbar with something very stripped down. It seemed to work however, and provided me with a minimalist working environment. I was able to open a command line window and start chkdsk.

Chkdsk ran for about 2 or 3 hours doing a full filesystem scan. This was probably unnessecary, but I wanted to be sure there would be nothing left to blame on the drive. During this time I was able to eat the dinner Jen had been very graciously slaving over for hours (awesome beef/bean/stuff enchiladas!). Finally able to mount the ntfs partition in Ubuntu, I removed hiberfil.sys and rebooted. No dice. Damn!

After lots of searching, I found that having a corrupt registry could cause this reboot loop. Thanks to this post on google groups, I found old registry from feb 2005. This registry was so old it was basically useless, but it let me boot the computer at least! I then tried a variety of old and new registry file combinations until I found the corrupt file - of course the biggest and most important one, the software hive.

At this point I was able to boot into Windows 2000, but in a weird environment with user accounts but no settings or software registry. I tried to find registry recovery tools until around 1:30am. Among the various tools, I found Microsoft’s corrupt registry repair tool but I didn’t have the 6 floppies the tool required. I was so tired that I figured I’d get floppies in the morning at Staples, and went to bed.

Sunday morning, having made prior commitments, I went to spar briefly at 9 with some friends from Tae Kwon Do. We finished up around 10, but Staples was still closed. Cursing the gods of retail, I went home and did some more searching for corrupt registry repair tools.

Now that I’d had a chance to sleep, I quickly found RegDatXP. Its info page mentioned loading corrupt registry files in a newer version of windows (xp, vista). Apparently Microsoft realized the importance of registry files and built in corruption recovery systems to these later versions.

Feeling glad for once that I keep Windows XP on my laptop, I loaded the corrupt binary registry file in Windows XP’s regedit tool (file -> load hive). I assigned it to a temporary key under HKEY_LOCAL_MACHINE (tempKey). Regedit bitched that the file was corrupt, but loaded it anyway. I was able to open the temp key and see software entries. Huzzah! I first exported a .reg file, then unloaded the hive.

I copied the hive and .reg files back to Bumble, opened the repaired hive in regedt32 (on Bumble) and was able to browse the hive without trouble! I tried to import the hive into the live system, but (of course) it said I couldn’t. I then went back to Ubuntu and (after saving everything - can’t ever have too many backups!) replaced the operative software hive file with the repaired original hive (these files are in C:\WINNT\system32\config).

Finally, I booted Windows 2000 and everything worked fine! Yay! I didn’t have to buy any tools of questionable quality or content! I didn’t have to use 6 floppies (although that probably would’ve worked had I not had Windows XP sitting around as well). Huzzah!

Lesson learned: Don’t trust Microsoft when they say Hibernate works! In fact, don’t change any settings in a working Windows install, ever. Especially Windows versions older than XP (which has better recovery tools built in). Also, for good measure, Microsoft sucks! ;) Use Linux! ;) If Jen just used Ubuntu all the time, not only would she not be able to run half the software she uses daily, she would also not be subject to time wasting breakage like this :).

So, here’s the short fix if this happens to you:

  1. Get BartPE and run chkdsk to ensure your filesystem is intact.
  2. Backup your current registry hives (C:\WINNT\system32\config). Backup your backup hives too, just to be sure (C:\WINNT\repair\*.*)
  3. Figure out which combination of new and old registry files breaks your system.
  4. Copy the bad files to a working Windows 2003 or newer install.
  5. Load bad hives in regedit on the newer Windows.
  6. Unload now fixed hives, copy back to broken system.
  7. Place hives back in place while not booted into broken system.
  8. Go back to hatingenjoying your windows install!

Green Belt Test

So, last Friday, I had my third Tae Kwon Do Belt Test. I was testing for Green Belt, which is the 5th level at my school. The test involved marching (responding quickly to commands given in mixed Korean/English), Forms (Through Do-San / Tosan for me), One Steps (I know through #14), Board Breaking (4 12″ x 12″ x 1″ #2 pine boards), and Sparring. Additionally there was some general fitness stuff like push-ups and the like.

Everything went well! The hardest part for me was one of the breaks - I had to try and break a board using a hammer-fist technique (your fist comes around behind you, up, and down like a hammer). I hit the board very hard, but the thing wouldn’t break! Later I heard that if you snap it more the board will break. I went first on breaking so I didn’t hear that advice, ah well. I broke that board with a spinning back kick instead (which is a somewhat more advanced technique). I ended up breaking with a front kick, a skip side kick, and a spinning back kick.

I think I most enjoyed the sparring, it’s very improvisational. I got to spar Max, a young red belt. I have a pretty strong advantage size-wise, but he certainly outranks me by a fair margin. I did pretty well though, or at least everyone said I did ;).

All in all, I’m really glad to be studying TKD. It’s awakened something in me that I never knew I had before, and has made me a much stronger person. I really like my school, too–they push me to give my all.