I have an older sony vaio laptop, model PCG-K315B, I am currently not able to load the operating system as once the PC is switched on the Error Message: 'Error loading operating system' is displayed. I have attempted the F10 system recovery, following the wizard and selecting 'complete recovering' (also tried c:\ drive only), this starts to run but around 25% this fails and then the following error message: 'Failed to read the image file, recover the computer again. When I repeat this it fails at the same point.

It this something that I should take for repair, with it being an older PC is it worth getting repaired?

Dani AI

Generated

The failure pattern described by — “Error loading operating system” on boot, then F10 recovery aborting repeatedly at the same percentage with “Failed to read the image file” — strongly points to read errors: either a damaged/corrupt recovery image or failing sectors on the hard drive. Less common causes are faulty RAM or a damaged boot record. The fact it always stops at the same point is an important diagnostic clue: a predictable read failure usually means bad media rather than an intermittent software bug.

Recommended, non‑destructive checks (do these first, in order):

  1. Confirm the drive is detected in BIOS/Setup (Vaio models commonly use F2 or an ASSIST key). If the disk is missing the problem is hardware-level.
  2. If the disk is seen, boot a Linux Live USB (file manager available) and copy any needed personal files to an external drive before further work.
  3. Use Windows recovery media / install disc to run a file-system check and repair boot code (examples below). Running these from repair/console is safer than repeatedly re-running the internal recovery that is already failing.
  4. If RAM was changed, revert to original modules or run memtest86+. @benpulido’s experience of a RAM swap breaking recovery is a real possibility.
  5. Run an HDD health check (SMART or manufacturer diagnostic). Lots of bad sectors or reallocated sectors means the drive should be replaced.

Command examples (boot from the appropriate Windows recovery/repair environment):

# Windows XP (Recovery Console)
chkdsk /r c:
fixboot c:
fixmbr
# Windows Vista / 7 (WinRE command prompt)
chkdsk /r c:
bootrec /fixmbr
bootrec /fixboot
bootrec /rebuildbcd

If diagnostics show many bad sectors or SMART failures, the recovery partition/image is effectively unusable and a replacement drive plus a clean OS install (or ordering recovery media if available) is the practical path. If data is critical and the drive shows physical failure, professional recovery should be considered.

Recommended Answers

All 5 Replies

Are you getting a dos prompt? If so, type ckhdsk and let it fix any errors.

no dos prompt. When the PC is switched on I press F10 when the Sony Vaio logo loads. Is there a way i can get to dos prompt?

How about safe mode? To get to safe mode, press F8 just before windows begins to load. You will see a menu, select safemode and see if it will boot. If it does, click on your "My Computer" and right click on your c drive then properties, tools, error checking and let it run if it will.

Also previoulsy tried F8 but this doen't work. It will still display the 'error loading operating system message'.

I was having issue myself. Recovery stops at 75%. ever since I upgrade my Ram I started having issues. I thought this time Id put the original ram and restart recovery. So far, im having success. Make sure you have all factory device in your laptop.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.