Results 1 to 9 of 9

Thread: "Error loading operating system" + partitioning

  1. #1
    Join Date
    Apr 2008
    Beans
    19

    "Error loading operating system" + partitioning

    My PC has two 160g redundant hard drives. When trying to install Ubuntu, I tried the "Guided- use entire disk" option, but following the installation, on reboot I get the error message "Error loading operating system". I suspect this has something to do with partitioning my hard drive(s). If not, any help fixing this error would also be appreciated.

    So, what is a good way to partition my drive(s) for a working copy of Ubuntu? The Ubuntu installer recognizes each drive seperately as /dev/sda and /dev/sdbAlso, being able to use both drives would be amazing, I'm running low on storage, even with a 100GB remote server. Thanks in advance.

  2. #2
    Join Date
    Dec 2007
    Beans
    27

    Re: "Error loading operating system" + partitioning

    During installation, was a boot partition created/specified? Which drive did the boot loader get installed on? I realize you said you have 160G redundant drives, but it is possible that the drives were not partitioned that way and that the boot loader is not installed on the proper disk, etc.

    nightcrawler27

  3. #3
    Join Date
    Apr 2008
    Beans
    19

    Re: "Error loading operating system" + partitioning

    Let me just be clear that I don't want redunancy, my machine just used to be set up that way. 320GB would be far better than 160GB, I have some storage where I can back up essential things).

    Okay, so I can't really answer too much of your question, since I'm pretty unfamiliar with partitioning (Windows set ups are all I've done, and they're pretty unspecific and easily done). I'm pretty sure a boot partition was created. I followed the directions about creating a swap partition larger than 256 MB and a main partition under "/". I'll go check out some help threads on partitioning in the meantime.
    Last edited by DavidCain; April 23rd, 2008 at 01:56 AM.

  4. #4
    Join Date
    Mar 2007
    Location
    Here & Now
    Beans
    16,549
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: "Error loading operating system" + partitioning

    If you can boot a Live CD, post:
    sudo fdisk -l

    Dr. Fernando Duran Dollenz
    Libertad 584
    6824871

  5. #5
    Join Date
    Apr 2008
    Beans
    19

    Re: "Error loading operating system" + partitioning

    After a failed install, I partitioned the first drive (/dev/sda) with a 4g swap and the rest as my /). I deleted all partitions on my second drive (/dev/sdb), leaving it as free space. This is pretty much just from screwing around aimlessly with partitioning.

    output from sudo fdisk -l:
    Code:
    Disk /dev/sda: 160.0 GB, 160000000000 bytes
    255 heads, 63 sectors/track, 19452 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x41ab2316
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1       18696   150175588+  83  Linux
    /dev/sda2           18697       19452     6072570    5  Extended
    /dev/sda5           18697       19452     6072538+  82  Linux swap / Solaris
    
    Disk /dev/sdb: 160.0 GB, 160000000000 bytes
    255 heads, 63 sectors/track, 19452 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x41ab2316
    
       Device Boot      Start         End      Blocks   Id  System

    I've been fooling around with different partitioning setups, mostly having no idea what the hell I'm doing (just a few tips like swap should be 2x RAM, make the main /, and that being primary or logical really doesn't make a difference). I no longer get the "Error loading operating system" message on reboot. Instead I get:

    No boot device available
    Strike F1 to retry boot Strike F2 for Setup Utility
    (I press F1)
    GRUB GRUB loading stage1.5
    GRUB Hard Disk Error
    Last edited by DavidCain; April 23rd, 2008 at 01:30 AM.

  6. #6
    Join Date
    Apr 2008
    Beans
    19

    Re: "Error loading operating system" + partitioning

    Okay. In what I'm going to call a stroke of genius, I decided to just disconnect the hard drive I'm not using by disconnecting the cables that connect it to the power supply and by disconnecting the cables that lead to the motherboard. It actually worked, and I'm typing this on the fully installed Ubuntu.

    So, it does kind of suck that I now have a 160GB drive just sitting in my case, unused. My BIOS detected that "Drive 2" was missing, so this should only be a temporary solution.

    I'm perfectly willing to repartition, reinstall Ubuntu, or whatever I have to do. How do I partition the drives (or do whatever is necessary) so I can run Ubuntu on my system with access to each 160GB drive?

  7. #7
    Join Date
    Mar 2007
    Location
    Here & Now
    Beans
    16,549
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: "Error loading operating system" + partitioning

    Do not use Raid. All you have to do is format your 2nd drive after connecting it again. You can use Gparted Live CD. Format it ext3. You can use it for storage or as a separate /home:
    http://www.psychocats.net/ubuntu/separatehome
    4 GB of /swap might be too much if you have 2 GB of RAM. I'd use 1 GB.

    Dr. Fernando Duran Dollenz
    Libertad 584
    6824871

  8. #8
    Join Date
    Apr 2008
    Beans
    19

    Re: "Error loading operating system" + partitioning

    Thank you very much, Pumalite. I heard 2x your RAM may be excessive, but since I have plenty of space, I may stick with it.

  9. #9
    Join Date
    Mar 2007
    Location
    Here & Now
    Beans
    16,549
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: "Error loading operating system" + partitioning


    Dr. Fernando Duran Dollenz
    Libertad 584
    6824871

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
  •