LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxQuestions.org Member Success Stories
User Name
Password
LinuxQuestions.org Member Success Stories Just spent four hours configuring your favorite program? Just figured out a Linux problem that has been stumping you for months?
Post your Linux Success Stories here.

Notices

Reply
 
Search this Thread
Old 10-06-2004, 12:03 AM   #1
ToBe
Member
 
Registered: Aug 2003
Distribution: RHEL 4&5 Ubuntu LTS 6.06 & 8.04, FreeBSD
Posts: 74

Rep: Reputation: 20
Talking 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

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..
 
Old 03-28-2009, 01:58 PM   #2
patillo
LQ Newbie
 
Registered: Mar 2009
Posts: 1

Rep: Reputation: 1
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.
 
1 members found this post helpful.
Old 06-12-2009, 06:51 PM   #3
VinylHogger
LQ Newbie
 
Registered: Jul 2008
Location: Belfast
Posts: 2

Rep: Reputation: 0
Smile 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!
 
Old 09-29-2011, 05:04 PM   #4
mrpj2u
LQ Newbie
 
Registered: Sep 2011
Posts: 2

Rep: Reputation: Disabled
Wink

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
 
Old 10-11-2011, 05:34 PM   #5
xodustrance
Member
 
Registered: Jun 2003
Distribution: Gentoo baby, gentoo
Posts: 148

Rep: Reputation: 15
Wow... blast from the past... This post helped me fix my borked system when it was posted.
 
Old 01-20-2012, 07:42 AM   #6
finbarr69
LQ Newbie
 
Registered: Jan 2012
Posts: 1

Rep: Reputation: Disabled
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
 
Old 03-06-2012, 01:13 PM   #7
litlmary
Member
 
Registered: May 2005
Location: Texas, somewhere near Houston (I think)
Distribution: See my sig
Posts: 307

Rep: Reputation: 30
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!
 
Old 03-31-2012, 01:41 PM   #8
hdluke
LQ Newbie
 
Registered: Mar 2007
Posts: 3

Rep: Reputation: 0
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!
 
Old 06-16-2012, 08:07 PM   #9
sendtomert
LQ Newbie
 
Registered: Jun 2012
Posts: 1

Rep: Reputation: Disabled
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.
 
Old 10-28-2012, 05:25 PM   #10
Riothamus
LQ Newbie
 
Registered: Oct 2012
Posts: 1

Rep: Reputation: Disabled
Exclamation 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!
 
Old 11-13-2013, 08:56 AM   #11
sanlinnaing
LQ Newbie
 
Registered: Nov 2013
Posts: 2

Rep: Reputation: Disabled
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!
 
Old 11-13-2013, 09:18 AM   #12
sanlinnaing
LQ Newbie
 
Registered: Nov 2013
Posts: 2

Rep: Reputation: Disabled
Quote:
Originally Posted by Riothamus View Post
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.
 
Old 11-27-2013, 01:48 AM   #13
Herkes
LQ Newbie
 
Registered: Nov 2013
Posts: 3

Rep: Reputation: Disabled
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].

Last edited by XavierP; 11-27-2013 at 02:41 AM. Reason: We are called "LinuxQuestions" for a reason
 
Old 11-27-2013, 02:04 AM   #14
astrogeek
Senior Member
 
Registered: Oct 2008
Distribution: Slackware: 12.1, 13.1, 14.1, 64-14.1, -current, FreeBSD-10
Posts: 1,776

Rep: Reputation: 603Reputation: 603Reputation: 603Reputation: 603Reputation: 603Reputation: 603
Quote:
Originally Posted by Herkes View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Error loading operating system" upon first reboot after install Unforgiver Linux - Newbie 4 01-03-2012 03:42 AM
"Missing Operating System" (vmware) tearinox Linux - Software 7 08-11-2007 07:46 PM
What is the source of "Error Loading Operating System"? fiservguy Fedora 1 02-18-2005 10:11 AM
"Operating system not found", problem with the motherboard/GRUB Loader maybe?? brynjarh Linux - General 3 12-14-2004 02:17 PM
error message when pressing "Next" "BIOS Problems" , help ! HeRCuLeSX Fedora 3 07-21-2004 02:37 PM


All times are GMT -5. The time now is 12:32 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration