Chkdsk busted? Force it dirty with fsutil

Had an interesting situation the other day where try as I might I could not get chkdsk to scan the C drive. This was on a Windows Vista Home Premium installation that had apparently hiccuped at some point and was fairly disabled. Networking didn’t work, and initially I had difficulties getting the control panel, task manager, network connections, etc to work. I eventually restored some of it but never did trace down exactly what happened or how to get networking back.

But I did have a clue and a problem. Chkdsk reported some errors on the drive along with gparted. Chkdsk also refused to fix them and all my typing yes to a scan next reboot was worthless. Finally I turned to the internet where I found the fsutil solution.

You see apparently chkdsk doesn’t set the dirty bit on the drive but rather sets the dirty bit in the windows registry. This computer was mucked up fierce, so windows wasn’t able to do anything with the bit. However if the bit is set on the drive Windows catches it much earlier and can finally scan.

Fsutil comes default with Vista and I know it is present on Windows XP 64. I’m not sure what other operating systems include this utility. For my purposes I just needed to type ‘fsutil dirty set c:’ and I was set.

It still didn’t fix my problem, a new install of Vista took care of that.

I Bid Adieu, Ubuntu

Yesterday I threw in the towel. I’ve been having problems with ACPI on my new Ubuntu partition. I’ve got other small problems but the ACPI ones are really the deal breaker. A laptop that can’t hibernate isn’t much of a laptop.

I’ve been digging through the articles and online trying to come up with solutions to the problem. Maybe I could help debug or a patch existed.

I couldn’t find much, except that it was likely to be some sort of weird hardware problem that was nobody’s fault. Some advice seemed to recommend trying the latest kernel out.

So yesterday I followed the instructions and upgraded my system to Intrepid Ibex. At first it seemed to go very smoothly, but then there were problems generating menu.lst and some of the packages failed. I tried manually editing menu.lst but upon booting up the newer kernel seemed to fail with my video card.

The system sort of works right now, although it seems to have problems shutting down or restarting. I can boot using the older kernel. So I’m going to keep around the system for a few in case I need a handy Linux box.

Of course after I did all this Ubuntu released alpha 3 of Intrepid Ibex. Perhaps the LiveCD of the new version will fair better, for now though I’m taking a break and going back to the slower, more sluggish but more compatible Vista system.