LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   LinuxQuestions.org Member Success Stories (https://www.linuxquestions.org/questions/linuxquestions-org-member-success-stories-23/)
-   -   SUCCESS STORY: "Error loading Operating System" at end of BIOS bootup (https://www.linuxquestions.org/questions/linuxquestions-org-member-success-stories-23/success-story-error-loading-operating-system-at-end-of-bios-bootup-239279/)

ToBe 10-06-2004 12:03 AM

SUCCESS STORY: "Error loading Operating System" at end of BIOS bootup
 
I just posted this to my company's internal knowledge base.. I thought I would pass it on to you folks in case you have this issue.

I had to google hard, high and low until my head hurt to find the answer, so I wanted to also make it easier for me to find the solution again by also submitting it to here :cool:

FYI this applies to all OS's, including WindowsXP *ducking*

-------------------------------------------------------
ARTICLE SUMMARY:
"Error loading operating system" at BIOS bootup screen (WinXP, Linux, Unix)

SYMPTOMS:
I think I nuked the boot sector of the HD, or maybe the HD crashed... This applies to WinXP, Linux, Unix, all OS's.

RESOLUTION:
Tim Smith, 10/5/04

I tried installing WinXP again, fixmbr, restore consolr, etc etc.. even installed Debian, FreeBSD, SuSE, made it all FAT32, nuked it, made NTFS, made it reiser,ext2, ext3 everything, NOTHING worked, I kept getting "error loading operating system" no matter what OS I "successfully" installed. I even used knoppix 3.6 to nuke things and repartition and format to no avail.

Don't despair there is probably good news!

The most likely solution is that your HD geometry is set wrong... On many motherboards in the BIOS setting for your HD, it is set to AUTO.. which sometimes tries to use CHS which is incorrect for most modern computers. Manually set it to LBA instead.

You may have to reformat your HD completely after manually setting the HD to LBA. I hear that you might even need to go to your HD website to download a low level formatting utility (writes 0's all across your drive). I fortunately did not have to do that.

This problem mainfested only after heavy hacking around trying Norton Ghost, Partition Magic, different Unix, Linux, Windows XP operating system, and I guess that the instability of the geometry being set wrong finally crapped out on me. Before this, it had been running only WinXP for more than 2 years with no burp!

LBA is your friend. No to AUTO, no to CHS. :)

Thanks to this site I found after HEAVY googling and screening out all the XP's fixmbr and fdisk /mbr suggestions that didnt help:

http://www.aoaforums.com/forum/archi...p/t-24853.html

Whew.

setting to LBA, and then ghosting from image file to the boot partition (Its a dual boot, and that happens to be winxp :P ) and I was all set to go.

HTH some of you poor saps that got yourself into the same bind I did.. :cool:

patillo 03-28-2009 01:58 PM

excellent information. this really helped me out. it may also help to make sure that the drive with the OS loads before other hard drives.

VinylHogger 06-12-2009 06:51 PM

Thanks
 
THANK YOU THANK YOU THANK YOU!

You have saved me so much bother it's unbelievable. Very good of you to post this solution. Cannot possibly thank you enough.

I realise this was posted quite some time ago but thank you very very much indeed.

Excuse me while I go and do some cartwheels!

mrpj2u 09-29-2011 05:04 PM

Hi

This rumour that it is BIOS / HDD issue is not true
What is true is that it is a issue of HDD geometry

The issue is what is written to the HDD not BIOS

This is proven by the fact that I got 6 new HDD's Same make model and batch. I created the fault on one drive. I then installed XP onto a second and third HDD both of which worked absolutely perfect.

I then cloned the DUD install onto the working HDD guess what the error was reproduced proving that the issue is actually what is written to the HDD.

To prove that it is NOT a HDD fault and is only what is written to the HDD I cloned the 3rd HDD that was working perfectly back to 1st & 2nd HDD

All three drives then booted and worked perfectly

This establishes the "error loading operating system" is a function only of what is written to the HDD, it is not a HDD or BIOS issue at all.

Anything said to the contrary is a myth or just misinformation by the uninformed or uneducated or random luck.

As to what is written to the drive and what to change in general the following has been proven on the drive that was produced with the error

1 The partitions were all accessible no error
2 The files were all accessible no errors
3 FixBoot & FixMbr just does not fix the problem
4 BootCfg /Rebuild just does not fix the problem
5 SystemRoot c:\windows did not fix this problem

Now in summary
We do know its NOT a BIOS or HDD fault
We do know its a software problem written to HDD
We do know that it can be fixed by overwriting
We know FDISK on XPBOOT from BootDisk.com does not work its Win98 & makes it worse (wrong version)

What I can tell you is cloning the drive with O&O repairs the problem on the target HDD if you say yes to the question "the original appears bootable do you want the target to be bootable Yes / No"

What I don't have yet is quick fix that works, I will test any serious suggestions for solution

Kind Regards
Phillip

xodustrance 10-11-2011 05:34 PM

Wow... blast from the past... This post helped me fix my borked system when it was posted.

finbarr69 01-20-2012 07:42 AM

Thank you all, this gave me the clue to solving a problem I had after I removed an unused partition. The software I used reported the disk geometry was incorrect and inisted on fixing it first.

After that, the machine wouldn't boot, with that error.

Having tried changing settings in the BIOS unsuccessfully, I slaved the disk and a new disk to a working PC and I created new partitions on the new disk and copied over the files using the command line from the original hard disk to the new one. That ensured that whatever was written wrongly on the original hard disk was not copied over, just the files themselves. The new hard disk worked fine. The original hard disk was reused after wiping. I also re-wrote the MBR on the new disk using a UBCD4WIN disk, though there are other ways.

The command I used on a windows pc was:

xcopy x: y: /e/c/f/h/r/k/x/y

(where x was the source partition and y was the destination)

Although this was a problem with windows XP, I guess the same procedure would work with any other O/S including Linux, hence posting my success here, the key point being to copy the files invidivually, thus avoiding copying the incorrect geometry.

HTH

Brian

litlmary 03-06-2012 01:13 PM

I had an interesting similar case recently. My headless Proxy Server/SeedBox was running TinyXP on a rickety old Celeron 400 (or something like that) with a few hundred megs of RAM.

I decided that I could spare an Nforce3 mobo that I had laying around with an Athlon 64 3000+ and 2 gigs of DDR to make it able to support more torrents at a time (and more responsive when remoting into it).

The OS/Software config was delicate and complicated. I really didn't want to reinstall everything. Before yanking the hard drive, I changed the IDE controller driver to a generic one so that it wouldn't blue screen booting on a new controller, but I still hit the "Error Loading Operating System" on the new motherboard, no matter what I did.

I finally realized that the dilapidated old mobo had used CHS geometry for the HDD, and that's how it was formatted. The newer board was set to "auto" and using LBA. I manually forced it back to CHS, booted up, did a repair install with the TinyXP disk (for safety's sake), and updated all of the drivers.

My SeedBox ZOOMS now, and I didn't have to reinstall/reconfigure everything!

hdluke 03-31-2012 01:41 PM

ToBe's fix did it for me. I was in the same shape with a computer that I could get Gparted and DSL (Knoppix) up on, but could not get XP to load and run with the could not find OS error.

In my CMOS setting I had to set PIO from Auto to LBA. and it's loading right now.

Thanks!

sendtomert 06-16-2012 08:07 PM

After heavy googling as you have done, thank to god I have found this post.

It's been a long 24 hours of stubbornness.

Well, the problem is solved :)

Thanks.

Riothamus 10-28-2012 05:25 PM

Additional help please!
 
I'm also having this problem.

I just shut off and rebooted my computer, and now it has the 'error loading operating system.'

I tried to follow what you said, but...

"The most likely solution is that your HD geometry is set wrong... On many motherboards in the BIOS setting for your HD, it is set to AUTO.. which sometimes tries to use CHS which is incorrect for most modern computers. Manually set it to LBA instead."

Where do you find that specific AUTO/CHS/LBA setting?

I went into my BIOS setting (F2) and went through every single option on each tab, and didn't see a CHS/LBA anywere. Please help!

sanlinnaing 11-13-2013 08:56 AM

Thanks so much
 
this solution can solve my problem Error Loading operating system.
I go to BIOS setting and change Auto to LBA.
No need to format my hard disk.
After restart I can see my OS welcome screen.
Before this solution, I just install OpenSuse linux and it completed completely and successfully.
I can use it before restart go around and do I want to do. It was pretty OK.
Unfortunately, I restart my PC, I found that "Error Loading Operating System".
I can't found any solution by googling. Some site ask me to do MBR fix or chkdsk or somthing other.
But can't solve my problem.
This post is so good for me.
Thanks alot for your try!

sanlinnaing 11-13-2013 09:18 AM

Quote:

Originally Posted by Riothamus (Post 4816993)
I'm also having this problem.

I just shut off and rebooted my computer, and now it has the 'error loading operating system.'

I tried to follow what you said, but...

"The most likely solution is that your HD geometry is set wrong... On many motherboards in the BIOS setting for your HD, it is set to AUTO.. which sometimes tries to use CHS which is incorrect for most modern computers. Manually set it to LBA instead."

Where do you find that specific AUTO/CHS/LBA setting?

I went into my BIOS setting (F2) and went through every single option on each tab, and didn't see a CHS/LBA anywere. Please help!

My BIOS is AwardBIOS
In My BIOS setting
I go to "Standard CMOS Features" and press enter.
and then I choose hard disk that cause error and press enter. In next screen there is a setting called "Access Mode".
I change that "Access Mode" from "AUTO" to "LBA".
Finally, it fix for my problem.
Some other BIOS setting, this setting can be found like that place such as with Time Setting or first page of BIOS setting. If you can find your hard disk, just press enter and you can found "Access Mode" Setting.
Be good luck.

Herkes 11-27-2013 01:48 AM

Today I was looking for solutions online for i got "Error loading Operating System" message when pc started. Pity to read the post! Lucky that I fixed problem by referring Windows Boot Genius from [a link to Windows software, NOT Linux software].

astrogeek 11-27-2013 02:04 AM

Quote:

Originally Posted by Herkes (Post 5071271)
Today I was looking for solutions online for i got "Error loading Operating System" message when pc started. Pity to read the post! Lucky that I fixed problem by referring Windows Boot Genius from...

I would call this post spam because it provides no useful info and leads to a non-free application for M$ users... I will report it and ask moderator to decide.

mrmazda 08-14-2016 10:31 AM

Quote:

Originally Posted by mrpj2u (Post 4485903)
What I don't have yet is quick fix that works

While the OP's solution is viable, the best solution is a do-over, that is, starting with a brand new HD or equivalent. Equivalent means wiping the HD, then powering the PC down before starting partitioning and OS installation with a clean HD. It also means leaving the BIOS setting on AUTO. Leaving the BIOS setting on LBA means when the CMOS battery eventually dies, all CMOS settings revert to defaults, and the PC will revert to reporting "Error loading Operating System" until it can be remembered that this non-default setting is required for that HD.

For this purpose, complete HD wiping is unnecessary. Simply beginning a wipe will eradicate the contents of MBR and several tracks following it.


All times are GMT -5. The time now is 02:48 PM.