I recently had a request from a friend to get his Windows PC working because it gets stuck at some point in the boot process.
Assuming he wants to keep his data and the manufacturer have not had the foresight to create OS and data partitions it seems to me there are these options for this kind of task:
1. Obtain windows specific recovery tools to try to fix the boot problem without destroying the data.
2. Copy the data from the hard disk to somewhere else, re-install and then put the data back.
For the second option again I can see two possibilities:
1. Take out the hard disk, mount it in a machine that works and copy the files onto the working machine's hard disk.
2. Boot a Live CD on the broken machine and copy the files over the network to a working machine.
Of the above two I have done number one, moving the hard disk, before and it is usually pretty straightforward but in this case the broken machine is a laptop so I don't know what luck I'd have trying to mount the hard disk in a desktop machine.
So, I'm contemplating the second option and I'd like to know, please, if anyone has any favourites or recommendations of live CDs that are good for this purpose or any other ideas or suggestions.
Steve.
On Fri, May 1, 2009 at 1:48 PM, Steve Fosdick lists@pelvoux.nildram.co.uk wrote:
...
- Take out the hard disk, mount it in a machine that works and copy the
files onto the working machine's hard disk.
You might want to look into getting a IDE/SATA to usb converter if you do this kind of thing often. We use them quite alot at work and you can pick up one that will connect SATA, IDE and laptop IDE for less the £10.
I've never used this site before but this is the kind of thing ive used: http://www.b2cshop24.com/en/usb-20-to-ide-sata-adapter-cable.html?language=e...
- Boot a Live CD on the broken machine and copy the files over the
network to a working machine.
Of the above two I have done number one, moving the hard disk, before and it is usually pretty straightforward but in this case the broken machine is a laptop so I don't know what luck I'd have trying to mount the hard disk in a desktop machine.
So, I'm contemplating the second option and I'd like to know, please, if anyone has any favourites or recommendations of live CDs that are good for this purpose or any other ideas or suggestions.
I used to use Knoppix but these days I just use a Ubuntu live/install CD.
Dennis
Does it fail with a specific error or just get hung up in the boot process...is the same true for booting into safe mode ?
If you feel like repairing rather than re-installation then generally XP will hang on some issues with the registry..corrupt disk..faulty hardware and report a specific error for missing files.
Depending on the reason for it not booting...i.e if the registry is corrupt or miss configured, there is an offline method to recover the registry from a system restore registry snapshot (assuming system restore was running..it should be).
All you have to do is access the disk from either another machine or a live boot disk...gain access to the System Volume Information folder and copy the registry hives from the last known good snapshot..ie one with a file creation date from when the machine was known to be working (REGISTRY_USER_SYSTEM, SOFTWARE, SAM, SECURITY, DEFAULT etc) into the location of the current registry (c:/windows/system32/config) and then rename them to the same as the current files (from REGISTRY_USER_.DEFAULT to DEFAULT etc)...take backups of the "broken" registry hives before renaming the snapshot ones if you are feeling unsure about this.
There is a microsoft KB article on how to do this here http://support.microsoft.com/kb/307545 however that assumes that the only way you have to access the volume is via the recovery console on your installation media...if you have a live CD booting OS that can see NTFS you can ignore the steps regarding putting the repair registry in place first because you should be able to get to the system volume information folder from a live CD (you can't from the MS recovery console)
If you are trying to do this from another windows machine then you probably also need to look at KB article 309531 but this isn't relevant if accessing the volume from say a linux live boot.
Otherwise if you just want to copy the data off...
Modern laptops tend to be SATA now and the drives use the same connectors as Desktop SATA drives....otherwise you can buy very cheaply either converters that convert 2.5" IDE harddrives to the standard 3.5" connector or usb converters that accept 2.5" drives.
Another thing worth mentioning is that sometimes (particularly when disk failure is imminent) windows can corrupt it's own filesystem to the point it can't even load chkdsk..so sometimes if you have a strange boot error it can be worth booting the recovery console from some installation media and running a chkdsk /P c: before trying anything else.
In either case if you get a working machine after following either of these steps I would strongly advise running smartmontools against the disk to see if there is a hardware failure causing the data loss.