Results 1 to 5 of 5

Thread: Error loading operating system

  1. #1
    Join Date
    May 2008
    Beans
    2

    Error loading operating system

    Hi all

    First off although I have been using computers for an age and have a fairly good knowledge of how they work I'm very, very new to the Linux community having only installed Ubuntu three days ago (I will confess, and please don't shoot me, that I have always used Windows).

    My problem concerns booting Ubuntu from my hard drive. I installed it from a CD making sure that it occupied the entire Hard drive as this machine was to be a Linux only, single OS computer. I do have two hard drives in the computer; an IDE one and a SATA one and I made sure that the BIOS boots from the SATA one first and that is the one Ubuntu is installed onto.

    However when I go to start the computer I get an 'Error loading operating system' message!! No grub interface or anything. If I boot from CD Ubuntu gives me the option to boot from hard drive; I choose it and Ubuntu starts up quite happily from the hard drive.

    I have had a look through the forum stickies but can't find any reference to my problem; especially as most of them deal with dual-boot set ups, which I don't have.

    At the moment I am assuming the problem is with my BIOS set up but am open to suggestions; either a solution or suggestions as to where to go on the web to find my answer.

    Cheers all

  2. #2
    Join Date
    Apr 2008
    Location
    Greece, Athens
    Beans
    576
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Error loading operating system

    Boot ubuntu the way you already do and run a terminal (<alt>+F2 then type "gnome-terminal").

    In the terminal type:
    Code:
    sudo grub
    (you will be asked for your password). Then type:
    Code:
    find /boot/grub/stage1
    Let's suppose that running the above command you get "(hda,b)".

    Then type the following:

    Code:
    root (hda,b)
    setup (hda)
    quit
    Then reboot. (Make sure you replace the "a,"b" according to the results of the "find /boot/grub/stage1".

    Hope i helped
    8.10 on HDX16-1050ev
    #22144
    My Ubuntu Blog

  3. #3
    Aearenda's Avatar
    Aearenda is offline Iced Almond Soy Ubuntu, No Foam
    Join Date
    Apr 2006
    Location
    Melbourne, Australia
    Beans
    1,109
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Error loading operating system

    Sounds like Grub has installed to the wrong drive - there are known issues with mixed PATA/SATA configurations where this happens. What happens if you change the BIOS boot order to go to the IDE drive?

    EDIT: Try hermes0710's idea first - that's a fix, if it works.
    Last edited by Aearenda; May 12th, 2008 at 09:54 AM. Reason: Simultaneous replies

  4. #4
    Join Date
    Sep 2006
    Location
    UK
    Beans
    878
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Error loading operating system

    Can you boot windows from the IDE drive? You may have overwritten the windows bootloader as grub tends to default to hd0 which will be your IDE drive.

    The bes bet when installing ubuntu is to unhook all other drives in my experience.

  5. #5
    Join Date
    May 2008
    Beans
    2

    Smile Re: Error loading operating system

    Thanks for all your help gentlemen my Ubuntu is now booting straight from Hard Drive.

    When I followed the shell instructions everything appeared OK but when I booted I got an Error 17 from grub. So I swapped the Hard Drive boot order to the IDE drive first and it now works perfectly.

    Cheers again

    Hopefully everything else will go swimmingly now.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •