Random thoughts from Jeffrey RSS 2.0
# Wednesday, July 15, 2009

Okay, okay, so these are all from Fleet Week rather than the Rose Festival itself. I can’t help it; parades get to be boring, and the International Rose Test Garden is too busy.

HMCS Algonquin, HMCS Nanaimo, HMCS Whitehorse, USS Shoup during Fleet Week in Portland

HMCS Algonquin, HMCS Nanaimo, HMCS Whitehorse, USS Shoup during Fleet Week in Portland. Note the fact that 3 Canadian Forces vessels were present, and only 1 US Navy ship was...

Esplanade, interstate highways, the Oregon Convention Center, and Liberty Center (where I work) in Portland, OR

No ships in this one. Instead, there’s the esplanade, interstate highways, the Oregon Convention Center, and Liberty Center (where I work). Yes, this shot (& posting) is just a gratuitous attempt at showing people where I work. And I know it’d work a lot better if I wasn’t on the 3rd floor, which is conveniently hidden behind the concrete of an interstate ramp and 1/2 mile of buildings.

Steel Bridge with TriMet MAX train

Steel Bridge with TriMet MAX train. See! It wasn’t entirely cloudy that day!

USS Shoup

USS Shoup in profile against part of downtown Portland.

HMCS Algonquin, HMCS Whitehorse, HMCS Nanaimo (not visible; hidden behind HMCS Whitehorse).

The Canadian Forces ships again. HMCS Algonquin, HMCS Whitehorse, HMCS Nanaimo (not visible; hidden behind HMCS Whitehorse).

Now playing: Emm Gryner – Science Fair – 06 Good Riddance

Wednesday, July 15, 2009 02:42:40 UTC  #    Comments [0] -
Oregon | Pictures
# Saturday, July 11, 2009

Now playing: The Consumer Goods – The Terminator Rules

Saturday, July 11, 2009 20:18:46 UTC  #    Comments [0] -
Personal
# Monday, June 08, 2009

New! Improved! Now with inline hyperlinks!1

 

Extra special bonus feature:

So I got the following email message from my mom last week:

See your Mom on YouTube!!
and was immediately filled with a weird curiosity and a sick terror wondering if this was somehow going to be one of those horribly embarrassing videos where people just do stupid things (& (usually) get hurt). Fortunately it was just moderately embarrassing and for work. :P So I'll share my link love (rofl! hahaha...like that's worth anything...I've seen how many pages down into the search results some visitors have had to go to finally stumble across this site!), and everyone can check it out: http://www.youtube.com/tcpllibrary

Extra, extra special bonus feature:

So, there's been a bit of speculation lately about why I blog (& why it's increased lately). The general consensus amongst other people seemed to be that it's because I'm lonely & am seeking attention. LOL! Duh, it's a blog. That's like saying the sky is blue because of light's refraction through the atmosphere. ...err... maybe not quite that metaphor. Whatever...was going more for the whole "that's the way it works because that's what it means to be that" thing... (actually, there was a bunch of additional context around the whole question that makes it interesting, but I'm trying to avoid the whole emo-teen-agnst-livejournal vibe because I'm a mature technology professional maintaining a professional Internet self-marketing presence (haha...okay, so really I'm just too lazy to create & install a black-text-on-black-background DasBlog theme :P))

1 Rose Festival/Fleet Week 2009 pictures coming later this week...or next...hopefully I'll be more punctual with this year's photos than I've been in previous years.

Now playing: Sebastien Grainger & the Mountains – Sebastien Grainger & the Mountains – 10 American Names

Monday, June 08, 2009 04:04:31 UTC  #    Comments [1] -
IT | Personal
# Thursday, June 04, 2009

So, apparently there's some confusion about what the picture in the last post was. Something from someone about "dude, why’s there a picture of an airplane crashing into a white tower with a grey skeleton walking by." Ahem.

IT'S A FREAKING WIND TURBINE! See! Here's what they look like when complete! :
IMG_1981

Here, maybe it'll help more if I show a bigger panorama (click for large size so the white things sticking up in the background are more visible):
IMG_1962

(ignore the car in the picture; it's not really relevant to the windmills/wind turbines (sorry, I still think of them as windmills & have finally gotten tired of correcting myself) that are under construction.)

Also, I'd think that following the link to the XKCD comic would be a bit of a tip-off as to what the picture was off…never mind the direct reference to Don Quixote (the inference of which the comic leaves "as an exercise to the reader"). Whatever. :)

Now playing: Maybe Smith – Animals & Architects – 02 Hearts Like Bears

Thursday, June 04, 2009 02:49:07 UTC  #    Comments [0] -
Oregon | Personal | Pictures
# Monday, June 01, 2009

Wind turbine under construction, near Maryhill, WA

Thank goodness Don Quixote was here! Knocked the top right off the fearsome turbine-alien.

Now playing: Wintersleep – Welcome to the Night Sky – 04 Weighty Ghost

Monday, June 01, 2009 00:07:43 UTC  #    Comments [0] -
Oregon | Personal | Pictures
# Wednesday, May 27, 2009

Cool space stuff! See the shuttle pull away from the Hubble Space Telescope:
http://www.youtube.com/watch?v=n2GH5rYf2Ko&fmt=18 (via http://blogs.discovermagazine.com/badastronomy/2009/05/20/bon-voyage-hubble/)

It's interesting to find out a bit about the history of where you live. In my case, there's a cool blog about Portland:
http://www.cafeunknown.com/ (via http://twitter.com/patrickdlogan/statuses/1897082323)

First 1m30s are rather humourous: http://www.youtube.com/watch?v=sfCfPuALS8Y (fortunately this isn't an issue for me, as the people I’m around are either past the whole baby stage, or haven't got there yet (and, let's be honest, probably never will...))

Now playing: Joel Plaskett – Three Disc 2 – 07 Beyond, Beyond, Beyond

Wednesday, May 27, 2009 03:52:30 UTC  #    Comments [0] -
Personal
# Thursday, May 14, 2009

Anyone up for a road trip to Greenland? Tibet?
http://www.universetoday.com/2009/04/20/where-is-the-most-remote-location-on-earth/

Interesting study...
http://scienceblogs.com/bioephemera/2009/05/why_has_science_been_neglectin.php

Hopefully I'll not think of this the next time I'm on a ferry
http://j-walkblog.com/index.php?/weblog/posts/that_didnt_take_long/

This meme spread pretty widely last week, but it’s cool anyway
http://jwz.livejournal.com/1043760.html

Neat subway map comparison
http://scienceblogs.com/bioephemera/2009/05/international_subway_system_th.php

Anyone want to pay money to subscribe to this blog on their Kindle?
http://j-walkblog.com/index.php?/weblog/posts/blogs_on_a_kindle/

Now playing: Joel Plaskett – Three (Disc 3) – 03 Deny, Deny, Deny

Thursday, May 14, 2009 02:58:00 UTC  #    Comments [0] -
Personal
# Wednesday, April 29, 2009

So for some reason you have a Lenovo X200T, a bootable USB hard drive running WinPE (Vista SP1/Server 2008 based), ImageX, and the WIM files that were originally on the recovery partition. For some reason you no longer have the recovery partition (probably because it was deleted to free up space), you don’t have the recovery discs that you burned like a conscientious computer owner, and your X200T wont start the OS (say, because you didn’t think about all the implications of encrypting the entire drive with BitLocker and then not having the recovery key…). Also, just to make it more fun, you’re on a plane!

Obviously the system needs to be restored. And because of the things you do have, you’re in luck! It’s possible! And not that hard! (yeah, right…)

First, backup everything you can off the X200T’s hard drive, because restoring things is destructive and will involve wiping the drive. If you can’t back things up…umm…learn to live with disappointment and loss? Since the system wont start the OS, you’ll probably be doing this from within WinPE. Good luck copying everything with the command line (xcopy can be useful here).

If you aren’t in WinPE yet, adjust the bios settings to allow you to boot off the bootable WinPE USB hard drive. Then boot into WinPE.

The first real part of the recovery process is to wipe the X200T’s drive and repartition it. Start diskpart and issue the following commands:

select disk 0
clean
create partition primary size=1499
active
assign letter=s
format fs=ntfs label="SERVICEV003" quick
create partition primary
assign letter=c
format fs=ntfs label="SW_Preload" quick

Next, apply the WIM files to the disk (exact paths to the WIM files will probably be different for you):

imagex /apply E:\images\x200t\sdrivebackup.wim 0 S:\
imagex /apply E:\images\x200t\cdrivebackup.wim 0 C:\

So, in a perfect world, everything would be all set to go now. Unfortunately, you my run into problems with bootmgr not being able to find the OS, or the OS thinking its on a different drive letter than it should be. To fix those issues, a little editing of the boot configuration database will be required:

bcdedit /store S:\boot\bcd /set {9dea862c-5cdd-4e70-acc1-f32b344d4795} device partition=S:

bcdedit /store S:\boot\bcd /set {3657ebe1-d4e6-11dc-88f0-ec9c0d1f1864} device partition=C:
bcdedit /store S:\boot\bcd /set {3657ebe1-d4e6-11dc-88f0-ec9c0d1f1864} osdevice partition=C:

bcdedit /store S:\boot\bcd /set {3657ebe2-d4e6-11dc-88f0-ec9c0d1f1864} device partition=C:

bcdedit /store S:\boot\bcd /set {b2721d73-1db4-4c62-bf78-c548a880142d} device partition=S:

bcdedit /store S:\boot\bcd /set {466f5a88-0af2-4f76-9038-095b170dc21c} device partition=S:

bcdedit /store S:\boot\bcd /set {ae5534e0-a924-466c-b836-758539a3ee3a} device partition=S:

Note: bcdedit is kind of sensitive about the drive letter availability when it’s run. Which is why S: was used back in the diskpart stage.

In an almost perfect world, everything would now be all set to go. Too bad things aren’t even almost perfect. One further step was required to swap get the drive letter assignments correct: the registry of the restored OS needs to have its drive letter mounts tweaked BEFORE the OS boots for the first time. This step is probably the most complicated, since it's not scriptable. Basically, start up regedit. Navigate to the HKLM\SYSTEM\MountedDevices key. Make note of the binary data for the "\DosDevices\C:" and "\DosDevices\S:" values (in my case they were something like "C4 78 A4 9C 00 00 C0 5D 00 00 00 00" & "C4 78 A4 9C 00 00 10 00 00 00 00 00"). Now load System Hive from the restored OS (it's "C:\windows\system32\config\system") in regedit. Navigate to the SYSTEM\MountedDevices key in that hive. Change/create the SAME values with the SAME data that the WinPE registry had.

After rebooting the system (remember to either unplug the USB hard drive or adjust the bios settings so its no longer the preferred boot device), everything should be back to working.

Now playing: Neko Case – Middle Cyclone – 09 Magpie To The Morning

Wednesday, April 29, 2009 04:18:04 UTC  #    Comments [0] -
IT
# Tuesday, April 28, 2009

So, from April 5th through the 8th I was in San Antonio, Texas on business for the annual Ratabase conference. I’d been planning on live blogging it again like I did last year (actually, I was planning on doing it better than last year), but things didn’t quite work out that way. So, instead of the latest news on cool new things you can do with an insurance rating calculator (stop laughing!), I’ve got a cautionary tail about relying on new equipment, planning before doing things, and generally about how I do stupid stuff with technology.

Now for a bit of background. Windows Vista & 7 have this cool feature called “BitLocker”. Basically, it encrypts your hard drive so that if the computer/drive is stolen, an attacker would have to go through the OS level security mechanisms (usernames/passwords/smartcards/ACL’s). The attacker wouldn’t be able to circumvent the OS mechanisms by, say, editing the password store to give change the passwords. Or they could go after the EFS keys and just decrypt files that you had encrypted explicitly so that other people wouldn’t be able to read them!

One “mode” of Bitlocker relies on this cool hardware device called a TPM (trusted platform module). The TPM is involved in the key management/access process, and basically serves to ensure that the entire system, starting from the beginning of the boot process, is “trusted”. After all, you wouldn’t want some nefarious person coming in, booting to a different environment that can impersonate the BitLocker process, and then unlocking/decrypting the BitLocker volume and thus bypassing all the security it was supposed to offer. If the TPM/BitLocker (not sure which actually does the checks) detects that the system is under attack (for example, the order of the devices that the system boots from has changed), the system will require that a 56 digit recovery key be entered. Assuming you created a recovery key initially…but everyone does that & keeps that key safe, right?

A week before I was to head to San Antonio, my new Tablet PC (a Lenovo X200T) arrived. Incidentally, it’s a very nice system…fast, light, long battery life, lots of accessories (I bought most of the options…X-Base so I have an optical drive, webcam, fingerprint reader, WiMAX, HSDPA/UMTS, GPS, etc.). And it has a TPM v1.2. Which was cool, because it meant I could use BitLocker!

So I put Windows 7 (beta) on the system, enabled BitLocker, created the recovery key, and used the system successfully for a week. One time while rebooting the system I had to enter the recovery key, which I thought was kind of funny at the time, but didn’t really worry that much about it. So along came Sunday morning, it’s 5:00AM and I need to head out to the airport, so I hibernate my tablet and pull it out of the docking station (X Base). Figured I wouldn’t need the optical drive, and certainly wouldn’t need the extra weight. Thought about putting the recovery key on a flash drive or the external hard drive I was taking, but then thought “nah, I wouldn’t need that”. Besides, the key would be a lot more exposed to compromise if I had it with me and, say, my flash drive got lost/stolen.

Remember how I said the boot order mattered to the TPM? And remember how 1) I installed the OS shortly before this (from a DVD), & 2) how I wasn’t taking the X-Base with the DVD drive with me? And how I ignored the fact that when I’d last attached the X-Base I had to enter the recovery key? And how I wasn’t taking the recovery key with me? (this is where it should become apparent to most people that I am, in fact, an idiot.)

Of course I got all the way to the airport, through security, and was sitting at the gate with 30 minutes until boarding started when I went to use my tablet. And of course it saw that the DVD drive was no longer present and began going “oh noes! I’m under attack!”. Which then caused me to first realize exactly what mistakes I’d made, then freak out (it’s amazing what sorts of brief, complete clarity you can have when a situation goes to crap).

 

Part of the freak out was calling up a trusted friend and giving him all the details of connecting back to my network via VPN (including user names and passwords). I figured “okay, get connected to the internal network, then the administrator account can be used to login to the online CA and security server to retrieve the recovery key”. Yes, it was a moment of weakness and complete stupidity. Fortunately, years ago when I got the VPN stuff working, I had the foresight to use L2TP and require certificates to connect in addition to passwords. So no VPN connection could be established, giving the passwords did absolutely no good (but no harm either), and the recovery key couldn’t be retrieved. Hurray for defense-in-depth.

I was not totally without my tablet during the trip though. Remember how I brought an external hard drive with me? Well, that drive is the bootable one that I use to make OS recovery images. And I’d used it just a week before to backup the Lenovo factory default config. So I spent the flight down to Texas doing restores until I got the system working again.

 

Here are some pictures from the trip (more (and higher res ones) can be found on my Windows Live Photos album for the trip):

Westin La Cantera Resort gulf course outbuilding 

Westin La Cantera Resort gulf course outbuilding

San Antonio, TX Riverwalk

San Antonio, TX Riverwalk. There’s a boat ride around it that’s kind of cool too (+). Lots of people (-). On the whole, it was a cool area, and made for a good change of pace from the conference.

The Alamo

The Alamo (of course!).

Now playing: Greg Laswell – Three Flights From Alto Nido – 04 Comes & Goes (In Waves)

Tuesday, April 28, 2009 02:21:19 UTC  #    Comments [0] -
IT | Personal | Pictures
# Sunday, April 26, 2009

There have been entirely too few random bits posted here lately, so here's an IM conversation from yesterday...

Jeffrey says (05:34):
you're up kind of late...
Jeffrey says (05:35):
unless your computers are LIEING
Matt says (13:31):
or up early
but more likely is that my computer is full of lies
Matt says (14:10):
but you
are idle
remember Jeffrey...
idle messenger clients are the Devil's beowulf cluster
Matt says (14:11):
Now the devil has a better SETI@home score than Jesus, are you happy now Jeffrey?

Now playing: Stars – In Our Bedroom After the War – 10 Bitches in Tokyo

Sunday, April 26, 2009 04:38:17 UTC  #    Comments [0] -
IT | Personal
About the author
Jeffrey Stults
Jeffrey Stults is a software developer currently in Portland, Oregon. He is contactable at:
stultsj@ntldr.net
Archive
<July 2009>
SunMonTueWedThuFriSat
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678
Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2010
Jeffrey Stults, Jr.
Statistics
Total Posts: 248
This Year: 28
This Month: 0
This Week: 0
Comments: 23
Utilities
Pick a theme:
Sign In