HP Pavilion Boot Loop Problem

Yesterday I ran into a devil of a time with a HP Pavilion slimline workstation at work. This machine was beyond it’s warranty with HP, so no help from them. I had a machine that presented these symptoms:

  • Computer powers up normally.
  • All BIOS-level diagnostics pass.
  • No error codes or beep codes whatsoever.
  • Once the HP BIOS Splash screen fades, the computer should boot into Windows. In this case, Windows 7. It does not. The computer reboots into the HP BIOS Splash screen. Ad infinitum.
  • You can enter BIOS Setup, you can also access the Boot Menu to select other boot sources, however the F11 key to start System Restore is unresponsive.
  • All first-tier efforts to clear the error were taken. BIOS reset to factory conditions, as well as holding down the power button to clear the power supply controller. None of these resolved the issue.

I then plugged in a copy of Knoppix that I downloaded and installed on a USB memory stick. I could have also burned the ISO file to a DVD and used that as well, but the USB was handy. When I use Knoppix this way, I like to enter this “Knoppix Startup Cheatcode” into the prompt right after it boots: “knoppix 2” (without quotes, of course) and this starts the Knoppix system in  the INIT 2 run level, which is single-mode text only interface. I don’t need X-Windows, and in this case, that just gets in the way.

Once at the CLI for Knoppix, I figured the boot flag, the boot manager, or the MBR was shot for the primary partition on the hard drive in the machine. Diagnostics indicated that the primary hard drive was fine, so it wasn’t a physical failure in the HD. I knew that the first (and only) hard drive in systems like these were most likely /dev/sda, you could search the “dmesg” log if you have doubt on where in the /dev the primary hard drive is. Knoppix has the “fdisk” command, so that was my next stop. I knew that this particular HP machine had a Windows Recovery partition stuffed in it, so when I started “fdisk” I displayed the partition map and there were three partitions: /dev/sda1, /dev/sda2, and /dev/sda4. I looked at the sizes and figured that the biggest one was the damaged partition, the middle one was probably for swap or scratch or something, and the last one seemed sized properly for the recovery partition. Honestly it was a guess. I turned the bootable flag on for /dev/sda4 and then off for /dev/sda1, then wrote the partition map to disk and then issued the command “shutdown -r now” to reboot out of Knoppix. Technically you could have just unplugged the machine, but I’m a big fan of orderly shutdowns even when the consequences are irrelevant – it’s a good habit to have.

The machine booted to the HP BIOS Splash screen, and then Windows Recovery started. Once the recovery partition got going I noticed a cutesy HP menu appeared offering me a selection of options. I started out with the simplest option which was something like “Microsoft Windows Boot Recovery” and it ran for maybe a second and then offered to reboot. I went for the reboot and that fixed the issue. Windows started but instead of a regular startup it went to the recovery menu, which I found fine since that was where I was going to go anyways by pounding the F8 button like a madman. I selected “Safe Mode With Networking” and then plugged in my USB memory stick containing TRON and got TRON working on the system.

Once TRON was done, I rebooted and let chkdsk naturally freak out about the structure of the NTFS partition in /dev/sda1. Chkdsk did what it had to do, and the system booted normally. I then set it for redeployment.

I figure if anyone else has this issue, this blog post might be helpful. If it helped you out, and you’re willing, maybe dropping a wee tip in Bitcoin or Dogecoin would definitely be appreciated.

Installing a HP LaserJet 1505 printer on Apple OSX Mountain Lion

What a problem this was! We had a user with a MacBook Pro that had a new copy of Macintosh OSX Mountain Lion 10.8.2 running on it. Plugged in a rinky-dink HP LaserJet 1505 and nothing. Even though there was the exact same printer installed before, from the user’s home, the system refused to reuse the connection for the printer at work. Obviously that has to be because the system notices it’s a different device and refuses to play along, which I find stupid.

Plug in the printer, try to add it, and the Add Printer function goes out to Apple Software Update to look for the driver and then comes back and tells us that nothing is available. Then commence zombie debugging via muzzle flare, wandering around in the dark trying to fix what shouldn’t be happening but apparently is beyond all logic and reason.

So how you do diagnose a Mac? Here’s a handy-dandy guide which anyone can use to fix their Macs. I seriously doubt any issues ever survive this particular procedure:

  1. Clear PRAM – Turn off computer, turn on computer while holding down  Command-Option-P-R. The computer will restart and you’ll hear the startup chime twice. Let go of the keys. ~ For this, just do it. It doesn’t matter if you don’t think doing this will fix your problem, it will. Just shut your pie hole and do this. If you don’t do it, I don’t want to hear about your problems. It’s magical. I don’t care if Apple says it won’t do anything. This thing DOES EVERYTHING IN CREATION – apparently. That and it cannot hurt. Lots of fluids and plenty of bed-rest. 
  2. Repair Disk Permissions – Start Disk Utility, find your “Macintosh HD” and click “Repair Disk Permissions” and wait. Do this. Often. Regularly. Lots. Weekly. Now.
  3. Download Onyx. Pick which version of OSX you are using, download it, install it and use it. I recommend skipping everything it wants to do and going right for the Automation button. Uncheck “Repair Permissions” and “Display of folders content” and check the rest. Click Execute and wait. When the system asks for a reboot. Reboot. Everyone should do this weekly. Think of it like vitamins for your Mac. Plus, it can’t hurt.

At this point your system should be all spic and span and whatever niggling bit was bothering you should be dealt with. Of course, for the problem I had to deal with at work, there is one little thing extra, one thing more. Open Finder, click Go on the Menubar, then Go to Folder… and type in /Library/Printers and click Ok. You’ll see a list of folders. In this list find the folder named “hp” and KILL IT WITH EXTREME PREJUDICE. Y’arr! This !@#$ folder is at the very center of my hatred for all that is Hewlett-Packard. I’ve started to unceremoniously refer to them as Fudge Packard. Bastards. Anyways, killing the folder does the trick, it clears everything up and Mountain Lion can download software from Apple again for the HP Drivers – blah blah blah. I’d rather just get a sledgehammer and pound the HP LaserJet 1505 into foil, but hey, you have to cope or have some sort of attack. I regret buying HP. I regret the LaserJet 1505. What a piece of crap. Steaming.

Tech'now'ledgy Expo

I attended for a little while the Tech’now’logy Expo that TotalTech puts on every year. In attendance was my friend Matt Merrill with CDW-G and Chris Doemel with Apple.

They are pretty much two out of maybe a handful of vendors that I do not want to pitch into a swirling abyssal vortex. The expo itself was a little lean on actual vendors, but HP and Dell were there, and my CDW-G vendor was flogging Lenovo pretty hard. I hadn’t the heart to really bust down Lenovo despite it being a cross between an IBM Stink-Pad and Cheap Chinese Plastic Crap. I can’t really get down on Lenovo too harshly, at least there wasn’t a Lexmark pusher there! Lexmark gets pitched into that aforementioned vortex.

Apple was pleasant as usual. I really love the company, and AppleCare itself can’t be beat, but my previous run-ins with Apple Sales has left me feeling a little quixotic. They aren’t as hold-your-hand as the rest of Apple is, but they are attentive and the reflected glory from the mothership in Cupertino does them a lot of good, but while I’m seeking out the ARD Development Team for body-breaking hugs, the sales team has always left me feeling rather tepid. They respond very positively when you tell them you’re sending clients their way, but everything else isn’t really that exciting for them, which I totally understand, but it is a little surprising that sales isn’t as rabid as the rest of them are.

Something that is coming up is iOS management. I’ve got a new systems contact at Apple, a fellow by the name of David Seebaldt. Should be interesting to see what he is going to recommend for us. Currently we’ve got 6 iPads in play and 3 iPhones. I fully expect that level to rise with time. I think one of my first queries will be why iPhone, and no other iOS device displays a single-Library preference. iPod Touches, iPod Nanos, and even iPads can touch as many iTunes Libraries as they like, but iPhones? One central library, the first one they see, and that’s it. It’s as if the iPhone imprints on the first Library it sees and that’s it for life. Odd.

I certainly hope that they get more foot traffic, because the lunch-time period wasn’t so rah-rah-rah.

Inbox Zero

Ever since my institution migrated to Web Mail Plus (I like to call it wimp for short) I’ve made it a workplace priority to never have anything stored on it that I can’t store someplace else. From the beginning, with our institutional migration to this new system I’ve been critical of it. I have no faith in either the dependability or privacy of the new system. The old system I did have a measure of faith in because my email was stored on my server in my machine room, not 10 feet from where I sit now. Now my professional email lives in Ann Arbor Michigan, in a place I have never seen and managed by people I have never met. There is a batch of paperwork that has been signed which should give me a sense of security, but again, it was one batch of strangers signing documents with another batch of strangers and a very nebulous promise that nothing upsetting would occur from this transition. As it is, I have developed a series of reflexes based on my zero-trust model that I use with strangers, especially institutional strangers. My livelihood is far too valuable to trust to the likes of my coworkers and peers. It’s nothing against them, but it’s a mix of wariness and “If you want it done right, do it yourself” mentality that so far has kept me happy and things working well in my life.

These reflexes regularly lead me to a state of geek nirvana, something called Inbox Zero. It’s a state where your inbox is totally clean, utterly empty. Nothing is malingering, loitering, and filling your mind with a fog of worry that if there are items there, you are somehow missing something or you haven’t completed something. Mostly it’s the sense that if there is something in there, I haven’t attended to it properly and that sits on my mind. It’s a kind of annoying background noise that lowers my happiness and sense of order, a fog of doubt. While this fog of doubt doesn’t really upset me or negatively impact my life, it contributes to my general sense of irritation and it’s one of those little passengers that contribute to stress breakdowns and spiraling vortexes of rage that I sometimes get trapped in. By eliminating this fog from my environment, it’s one less little niggling thing to wear me down.

My professional email gets only a few broad categories of information sent to it, that I have to attend to:

  • DBA Tasks – Highly structured task requests that usually include attached data. These almost always have a due date and a list of people to report to when the task is complete.
  • Help Desk/Office – More nebulous, mostly people asking for things or issuing trouble-tickets over email. In our office there is no single way to issue a trouble-ticket, people can walk up and verbally deliver one, they can email it in, leave voicemail, or try to ambush us as we walk through the office doing other tasks.
  • Organizational Chatter – Even more nebulous and needless are the myriad messages regarding the activities of the Trustees, Campus News, and little reminders sent out for events and/or meetings. I don’t claim they are worthless, but they are a kind of ‘hair that clogs the pipes’.
  • Vendor Spam – Generalized and unfocused bullshit from vendors we have or have had relationships with. Mostly this stuff is meaningless dreck related to things we will never need or find useful or even care about. These usually include anything sent from Dell, or HP, or the “Who’s Who” people.
  • Miscellaneous Bullshit – Very regularly I get meaningless messages from utter strangers with no content or worthless content. These are akin to email mosquitoes. They serve no real purpose, but there isn’t a reliable way to force them all into extinction. The best you can do is just swat them when they arrive.

So my strategies for handling these messages are as so:

  • If a message is worthy and important and has some sense of a due-date I forward it to my Toodledo account, which creates a task of the email with the body of the message as the meat of the task and the subject as the task title. This pushes the tasks that should originally go to toodledo in that direction. One of the side-effects of our transition was a massive retardation when it came to workflow. Our old system was great and nobody understood how to use it. The new system just doesn’t have the wits and the fact that nobody gets it is rendered meaningless from its absence.
  • If a message contains some hard nugget that I want to always retain I copy the relevant bits into an Evernote Note.
  • Everything else is bullshit. I have trained my Mac Mail.app using its Bayesian filters to separate utter bullshit from possible bullshit, so I just dump whatever mail puts in Junk right out and then toss the rest out after giving it a cursory glance.
  • If there is an item that isn’t task based, but does have a date – such as a meeting or some sort of event, I hover my mouse over the date parts and my Mail.app detects this and offers me a choice to create a new iCal Calendar Entry for that event. Talk about handy.

At the end of the day at best, or the end of the week at worst I should always be able to return to Inbox Zero. There is no reason to store items in the wimp, everything else can be sorted either into Evernote or Toodledo or the files taken out and placed in Dropbox with appropriate Finder comments attached. That all being said, I do store some things in my wimp account, mostly things that I probably should keep for documentations sake, especially if a coworker is going to wear their ass for a hat sometime in the future, it’s good to be at least a little prepared for those sorts of things. I principally store promises and protestations that something won’t ever happen again in my wimp account, and when they screw up, at least it’s handy there. Wimp glories in a 10GB quota. I use only a human-hairs worth of that quota and I have no desire to ever really make use of wimp beyond that. It’s a necessary evil, a funnel, not a bucket. I’m sure organizationally that bucks the conventions, as they wish it to be both a funnel and a bucket, but I have more faith in other buckets than what is in wimp itself.

Shuffle thy mortal coil

Everything is done, for the Apple Digital Lifestyle project for our soon-to-retire management person. Getting to this point was a challenge only in terms of getting the data off of the old computer. The old machine was a Dell Dimension desktop loaded with Windows XP. I got the machine running and everything was fine, as far as Windows XP can be fine and I inserted my Knoppix DVD into the disk drive and rebooted. Then began the hurdles, the system was configured to boot first to the HD, not to the DVD, so I changed that and rebooted, the disk wouldn’t read and the system booted to the HD anyways, up comes Windows XP. Turns out, this computer is so old that it doesn’t have DVD, just a plain CD-ROM drive that I errantly mistook for a DVD drive. So I swapped out the Knoppix DVD and traded it for a Knoppix CD, rebooted and finally was up and running in Knoppix. I mounted the volume where the user files lived and used the tar utility to copy them over the network to my iMac on my desk. Once that was done I switched Knoppix out for DBAN, a popular hard drive erasing utility and booted into that, set it to chew away using DoD short wipe and proceeded to unpack the tar file I had copied over. I had unpacked the users data, trimmed out the meaningless Windows junk and ended up with about 800MB of user data in the end, mostly music and pictures and a few documents peppered in. I made a new ‘tar’ file and then copied that over to the new iMac using my handy-dandy USB file transmission cable. I had utterly blanked on the fact that both my iMac and the new iMac had fancy FireWire 800 capability, and only now that I reflect upon it do I feel rather silly in forgetting FireWire.

Once the data was over, I moved all the documents where they needed to be and then I thought about how I would manage the music and pictures. First was the pictures, I opened iPhoto ’09 (which came with the iMac!) and clicked on File, Import, pointed it to the directory that held the mishmash of user data and in about 45 seconds (I couldn’t help but time it) all the user pictures were now in iPhoto. I did the same thing with iTunes for the music and that took a whole 30 seconds. I then threw all the rescued remains in the trash (because they were now in iPhoto and iTunes) and then rescued bookmarks, that took a whole 10 seconds and into Safari it went. Cleaned everything up, installed the ‘Free’ HP All-in-one, and that took 2 minutes to unpack and 30 seconds to set up, I had a test print a minute later. Packed it all up, walked it to the manager’s office and he’s all set to enjoy.

What will he enjoy? His big thing is email and using iChat Video Chat. That’s the biggest selling point I think for this entire adventure. He can see his daughter and her budding family, full audio/video Mac goodness for as long as he likes to do so. I suggested that he could even set up a link in the morning and have a virtual “magic mirror” run all day long so they could spend time close to their loved ones without the expense or trouble of traveling.

After this entire adventure it struck me that I effectively ran an entire micro-sized Apple Store from inside my head. I had a Genius Bar (my office), I was the Genius (don’t have a fancy apple shirt, tho) and I got the user interested, sold, migrated, and trained – just like in an Apple Store. If Apple ever were to establish a store in Kalamazoo I would definitely moonlight there, without a doubt. The last time I did enter an Apple Store was with my Father in Syracuse a few months ago, the salespeople approached and I was busy pointing out a 21″ iMac to my Dad and as the sales guy approached he heard me actually running through his script. He chuckled and smiled and stood behind me. That’s why Apple succeeds, because they impress people like me and we become evangelists. Walking around, free Apple advertising and when someone comes up and asks, we show them all the wonderful fun they could have and then they go and buy into the dream as well, the cycle continues.