Author Topic: how to recover windows xp  (Read 923 times)

Offline llewellyn

  • Full Member
  • ***
  • Posts: 105
    • Llewellyn lee
how to recover windows xp
« on: December 12, 2012, 01:22:15 AM »
I  have been running windows XP as guest in VB and till now it has been excellent.
I am always careful when shutting down to first properly shutdown the XP guest before shutting down the PCLOS Full Monty hust system.
This morning disaster. At start up of Xp it went into a mode where it was finding and recovering orphaned files 100s of them. after letting it run for about 10 minutes I intervened and depowered the XP then clicked to start it again . Now it goes through the start up process but suddenly announces stopping and reverts to the VBox screen where you start a guest system.
I tried restoring  last snap shot which is 19 . XP starts under that snapshot just fine but all the added programs and Data like emails since then are not there.
I there fore just have to recover/repair the version of xp as it was at time the trouble started this morning.
When I did restore of snapshot 19 it asked if I wanted to save snap shot of current state which I did and it made snapshot 20 which just wont start
Can any one suggest where to start trying to find what vroke in XP. and how to fix it.

Offline kjpetrie

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3979
Re: how to recover windows xp
« Reply #1 on: December 12, 2012, 05:01:46 AM »
Whether something broke in XP or in the way VBox handles 20 snapshots is something we will probably never know. Is the partition where your snapshot file lives full, perhaps? Your real mistake was to interrupt scandisk. File systems can't cope with the repair tool being interrupted in the middle like that. You might be able to use disc-recovery software in another virtual machine with the snapshot mounted as a second disc, but that's complicated by the fact the snapshot is a differencing file. This would only be able to recover files. It would be unlikely you would be able to restore working applications. I think those must be re-installed.

This reminds us all that important files must be backed up externally in case something goes wrong, wherever we keep them.

Presumably you had a reason to have your e-mails in a VM rather than your host system, but I won't ask.
« Last Edit: December 12, 2012, 05:04:00 AM by kjpetrie »
-----------
KJP
-----------------------------------------------------------
PClos64 RC1 on Intel D945GCLF2 motherboard (Atom 330), 2GB DDR2 RAM, Maxtor STM325031, HL-DT-ST DVDRAM GSA-H42N, Amilo LSL 3220T monitor. Also Acer 5810TG (with custom kernel) and Asus eeePC 2G surf

Offline pags

  • Hero Member
  • *****
  • Posts: 2515
  • Keep it clean.
Re: how to recover windows xp
« Reply #2 on: December 12, 2012, 07:48:13 AM »
Another possible option might be attaching a LiveCD ISO to the VM, and see if you can recover any data that way.  No guarantees, as it depends on the amount of damage to the filesystem.
Beyond that, kjpetrie's statements stand...
 :(

Offline llewellyn

  • Full Member
  • ***
  • Posts: 105
    • Llewellyn lee
Re: how to recover windows xp
« Reply #3 on: December 12, 2012, 02:32:16 PM »
I would like to reply to KJPETRIES question  why email in a guest system just for the record
I depended for years on KDE Kontact as a PIM to manage my work.
KDE is now a balls up to say the least so I spent weeks trying alternatives from the linux world but sadly there is no PIm that runs properly under Full monty. I did actually install and run them all.  Having windows XP running very nicely as a guest I reluctantly installed  Outlook and have been running it for 6 weeks . Outlook is satisfactory but lacks the finnesse that Kontact used to have.so I will now reinstall Suse linux as a guest just to get back to kde3.5 and that version of outlook. I get 15 to 20 important emails a day so I absolutely have to find a way to recover  the XP system.
Also for other users in the future. It is most important to make snapshots when you change anything in a guest system. XP has 3 update/upgrades still available from microsoft and had i done a snap shot after doing each one and after adding other files and software I would have been able to restore  back to a more relevant system than snapshot 19.
I am also stuck with KDE however because the way I do things makes full use of virtual desktops.
 For me one of the most agravating things about doing any work in XP is the lack of virtual desktops.
Much of my current pickle is my own fault just too busy to make backups so now I pay the price. I can be sure that I am going to spend four times as much time recovering the data than would have been used to do bachups. The team on this site are always warning us but hell do I listen NO.

Offline luikki

  • Hero Member
  • *****
  • Posts: 1405
Re: how to recover windows xp
« Reply #4 on: December 12, 2012, 03:02:43 PM »
can you please try to start xp in safe mode (press f8 key before the actual boot)?

to me - and i m not at my best as always today - it looks like a "normal" winzows maladie...

Offline kjpetrie

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3979
Re: how to recover windows xp
« Reply #5 on: December 12, 2012, 04:05:02 PM »
Virtual desktops are not produced by KDE but by the underlying X windowing system. You can have them in Gnome or LXDE or whatever you want to use.

There was no harm in using a VM to handle e-mail, but you should have arranged for the mail to be backed up regularly because any computer can lose data at any time. You will now have to do whatever you can to try to recover the file(s) containing your e-mails from the virtual disc files. The first thing you should do is make a copy of those files somewhere other than your current computer and work only on that copy. If you mess it up you can make another copy to work on.

I quite understand the problems with KDE which forced many of us away from kmail and kontact. I went to Thunderbird and others went to other E-mail clients and contact suites. There are plenty of them in Linux, but if you found Outlook in a VM best suited your needs that was fine - so long as you backed up its files as with any business-critical data.

There is also no harm in using snapshots to provide an easy return path if a modification causes problems, but there was no need to keep the snapshots once the return was no longer necessary or desirable. Snapshots slow down the VM and introduce complexity. 20 layers of snapshot is asking for trouble. It's just multiplying the number of things that can go wrong. Now you can return to a snapshot you find it's no good to you, in which case there's no point having it.

There are plenty of people on this forum who know about disc recovery software and there are quite a few posts with information that might point you in the right direction. I just hope the data isn't so scrambled by switching off the recovery program that something can still be found.

And yes, safe mode might be worth a try, but copy everything first so the original is safe. You cannot risk further damage.
-----------
KJP
-----------------------------------------------------------
PClos64 RC1 on Intel D945GCLF2 motherboard (Atom 330), 2GB DDR2 RAM, Maxtor STM325031, HL-DT-ST DVDRAM GSA-H42N, Amilo LSL 3220T monitor. Also Acer 5810TG (with custom kernel) and Asus eeePC 2G surf

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10613
  • MLUs Forever!
Re: how to recover windows xp
« Reply #6 on: December 12, 2012, 04:23:59 PM »
For the future you might also consider cloning the VDi instead of having so many Snapshots.
MLUs rule the roost!

Linux XPS 3.2.18-pclos2.pae.bfs  32 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15283
  • ┌∩┐(◕_◕)┌∩┐
Re: how to recover windows xp
« Reply #7 on: December 13, 2012, 04:07:47 AM »
For the future you might also consider cloning the VDi instead of having so many Snapshots.

+1

When I have a Guest OS setup as I want it, I then make a copy of the VDI  and put it somewhere safe.

I then open the Guest OS again and if necessary - e.g.  if I'm testing stuff  - I can then begin creating Snapshots......

Quote
As kjpetrie says : There was no harm in using a VM to handle e-mail, but you should have arranged for the mail to be backed up regularly because any computer can lose data at any time

+1

Additionally, if you setup 1 or more  "shared folders" you can backup/copy data from the Guest into a shared folder on your Host OS.

One item to note - depending on which OS's you are using  - be a tad careful what you allow access to your shared folder(s) as the "baddies" can use it to gain access to your main machine
PCLinuxOS 32bit KDE 4.10.1; kernel-3.4.11-pclos1.bfs & 64bit 3.2.18bfs; NVidia GeForce 8400GS 1GB 310.19 driver

Sony Vaio SVE1513A4ESI Laptop, Intel Core i5, 2.6GHz, 6GB RAM, 750GB, 15.6" Intel HD Graphics 4000