Platform Wars

Arguing on the Internet is just stupid, and of course one of the longest on-going arguments on the internet is ‘My OS is better than your OS’. Of course when I started as a Mac user, no one wanted to say they were a Mac user :). Now you have fanboys that cant help but rub it in your face that they use a Mac. And quite honestly, you have the same amount of people on the PC side that still think Apple is going to go under any day now, or that they are some type of elitist because they haven’t made the ‘switch’.

Being a multi-platform user, this ‘argument’ just doesn’t make sense to me. The computer, and its operating system, is just a utility/tool/device. Just like your toaster, or your fridge, or your car, or your phone (oh wait..). Obviously people have preferences about the tools they like, and this is especially the case in autos (I used to never want a non-American auto, but now, I never want to buy American again). Its funny to watch flame wars happen on various forums, twitter, and even in person.

Maybe I look at the conmputer differently – as an open platform for me to express myself as I see fit, and then choose the appropriate tools (Mac, PC, whatever) to help me accomplish what I need to do. While Im an AVID Mac fan – Im not tied to Apple. In all honesty, Im actually getting sick and tired of Apple’s failing quality control and failure to address flaws in a timely mannor (or even tell us whats going on).

I don’t know what sparked this post, and originally, wasn’t going to even post it. But I just find it odd from various places I have seen online for people to ‘blindly follow’ a brand in some cases, just becasue ‘its the right thing to do’. A perfect example will be tomorrow. Apple (and Microsoft) have an event. Im in the market for a new small iPod, so Im excited for what Apple may release. But im also hoping they can fix our phones…


Simple and cheap data recovery!

My middle step-brother, Mike, recently returned home from Iraq and is now on a month of leave before going back to his base, with the possibility of yet another deployment. Luckily he had an internet connection out there, and I was able to keep in touch with him here and there on Facebook, MySpace, and even AIM.

One day while out there he asked me if I could check out his laptop, because it was having problems booting. About two weeks later, I had his laptop and everything else back, directly from Iraq! I started the machine up, and sure enough it wouldn’t let anyone log in. After trying a few different things, I still could never get the machine to finish booting. Eventually I tried ‘chkdsk’, which failed at 50% checking the disk.

I assumed a failing hard drive, which proved to be the problem when starting to recover some of the data. But how should I go about getting this data back off? I don’t have any programs to help me with this or to help repair the drive. He has 30+ gigs of valuable documents, pictures, videos, and music.

In my previous work, I was a sysadmin, so some valuable knowledge sat in, and I got to work. I downloaded the newest version of Ubuntu. This should have NTFS read/write built into the LiveCD. Next, reformatted my iPod to Windows, and hooked everything up.

I booted the laptop the fist time hooked up to network, but for some reason, none of the LiveCD’s (Ubuntu and some others) would not recognize his network interface. So I rebooted, this time plugging in the iPod, and it mounted on the first try!

After many HOURS of copying data off, having to hit ‘skip’ to the ‘I/O failure’ prompts, I was able to recover 99% of all of his data, and now on the road to recovery with a brand new Hard Drive! I would recommend this method to anyone to save a few bucks and some time on what can usually be a very difficult process.

Listening To: ‘Secret Machines’ – Lightning Blue Eyes

XP ntoskrnl.exe not found and Registry woes…

Well, for the first time in a LONG time, I have had the awesome opportunity to try to ‘fix’ a Windows computer. Day in and day out, I work on Macs and Linux, and touch a windows machine here or there. But real break/fix on a consumer Window’s laptop? Im a newbie.

Earlier this week, Debs handed me her laptop (its a 1-2 year old lower end Toshiba she got for Christmas from her mom), and said ‘Its broke’. No fault of her own, this laptop has had its quirks anyways. While we have all her music on her iPod (and I could get it off), she wants to get off some of her pictures, etc. Once I get the laptop running again, I plan to poss. wipe it and reinstall Windows (and possibly dual boot it with linux), to give her a fresh start. So back to the current task…

Somehow, it could no longer find the ‘ntoskrnl.exe’ file…uh oh. Using my XP Home Retail disk…I booted her laptop with the Windows Recovery Console, and using ‘copy’ moved the ntoskrnl.exe file she had out of the way, and then copied another copy from the backups Windows makes (cd C:\windows\system32; copy ..\driver cache\i386\ntoskrnl.exe). Reboot.

Now its telling me that start because Windows can not find ‘\Windows\system32\config\system’. Well, thats great…it happens to be part of the system registry. I decided in the meantime to do a ‘chkdsk -r’ that ran overnight…to make sure everything was ok.

This morning, I pick back up on the issue. It looks like windows keeps a copy of the registry it installs with in the c:\windows\repair\ directory. By booting into the recovery console again, you can copy the old registry away (in c:\windows\system32\config\, there is system, security, sam, default, and software). I would move these all to a temp directory somewhere. Then, you can copy the 5 files from c:\windows\repair into your c:\windows\system32\config\ folder, and reboot.

Rebooting got me into windows. I started windows in safe mode, and then started following some of the directions in this MS Knowledge Base article. Basically, working with these steps, one can recover a copy of their registry that was made durring a System Restore, copy that into the location where the registry files go, reboot, get a working system they can log into again, and then restore FULLY to a previous restore point, and should be good to go.

Following those directions, I moved over some of the more recent registry files (but not the ones of that date), and rebooted. Windows is starting! But before Windows fully starts and asks me to log in, a message pops up that Isass.exe (the process that manages some of the authentication for Windows) is getting invalid parameters. Great…I guess ill use the recovery console to go back to even older System Restore files, and copy them over.

After a reboot into the Recovery console, I try to login. Her admin account actually had one of our standard passwords, but its not letting me login! It looks that the reason Isass.exe could not log in is that the registry I copied over was a ‘bad’ one, and part of the authentication stuff is what was corrupt! So now I can no longer use the Recovery console, because I can not log in to it!

So, now im stuck. I tried using a Ubuntu 6.06 install CD, but it can not WRITE to NTFS volumes. This afternoon I plan on downloading the newest Knopix Live CD (which does have support for writing to NTFS volumes) and seeing how that goes.

Update: Downloaded Knoppix 5.0.1 and burnt it to a CD when I got home. Booted from the CD, which worked perfectly. It even mounted her Windows disk as a read only disk in /mnt/hda1. I switched to root (sudo -s), unmounted that device (umount /mnt/hda1), made a new folder for the mount (mkdir /mnt/windows), and then mounted the windows partition in RW mode (mount /dev/hda1 /mnt/windows -t ntfs -o rw). Next I made sure I could write to the volume.

Following the directions in the KB entry above, I copied the NEXT oldest registry files (which were dated sept 29th on her laptop) to the c:\windows\system32\config directory. After a reboot, Windows booted right up and let her log in. The only other problem I had was that it said my copy had been activated to many times, where I then had to call Microsoft and go through their process to activate this copy again.

After I was able to get in, I started a backup of her laptop to our server, just copying her user directory over. I plan to wipe the laptop clean, do a disk check (I think this may be whats causing some of her laptops slowness and this event), and then reinstall Windows and all the updates, etc.