Results 1 to 9 of 9

Thread: Unable to install GRUB in /dev/sda

  1. #1
    Join Date
    Jul 2008
    Beans
    37

    Unable to install GRUB in /dev/sda

    Hi all,

    I am installing Ubuntu Server on brand new hardware, and encountering the above error on near the tail end of the install. Here is some relevant info:

    * Ubuntu is the only OS. no other OS's will be installed at all.
    * I have 4 SATA drives attached to an Adaptec RAID card, configured into a single 3TB RAID 0 config.
    * I am selecting 'Guided - Use entire disk' for the partitioning, and the array is correctly detected.

    One thing I think is odd is that the guided partitioning seem to want to create two partitions: one for / which is formatted into ext3, and the other for swap space. There is no mention of creating a /boot partition, which is where I thought the GRUB bootloader would go.

    Please let me know if I can provide any additional information. Any ideas on why GRUB is not able to install on /dev/sda?? Thanks!

  2. #2
    Join Date
    Jul 2008
    Beans
    37

    Re: Unable to install GRUB in /dev/sda

    Update: same error after manually partitioning. I decided to go in and manually create the three partitions I thought should be there. namely:

    3 tb ext3 /
    10 gb swap
    500 mb ext3 /boot

    Even when manually creating the partitions the same error occurs and the execution of grub-install /dev/sda fails.

    Any suggestions would be welcome
    Thanks!

  3. #3
    Join Date
    Nov 2005
    Location
    NEK Vermont
    Beans
    Hidden!
    Distro
    Ubuntu UNR

    Re: Unable to install GRUB in /dev/sda

    you might go back to the guided install...a boot partition is not necessary to manually create. Let the installation complete without grub...that is skip it when you are offered the option to continue without grub installed. After the installation completes, put the live cd in again, as if you were going to re-install. There is a "fix-grub" option at some point several steps into the process...it may even be under an advanced tab in the lower right corner.
    Sorry I can be more specific. I had this problem only once, and this was my only solution. There is a fix grub option, you'll just have to pay attention to find it. Good Luck.

  4. #4
    Join Date
    Jul 2008
    Beans
    37

    Re: Unable to install GRUB in /dev/sda

    Thanks for the tip! I'll try that now and report back how it works out.

  5. #5
    Join Date
    Jul 2008
    Beans
    37

    Re: Unable to install GRUB in /dev/sda

    Wait... Is the LiveCD referred to as the 'Aternate CD' on this page:
    http://releases.ubuntu.com/hardy/
    ??

    I am not sure if the server version has a livecd.

  6. #6
    Join Date
    Nov 2005
    Location
    NEK Vermont
    Beans
    Hidden!
    Distro
    Ubuntu UNR

    Re: Unable to install GRUB in /dev/sda

    Quote Originally Posted by know-it-some View Post
    Wait... Is the LiveCD referred to as the 'Aternate CD' on this page:
    http://releases.ubuntu.com/hardy/
    ??

    I am not sure if the server version has a livecd.
    Pardon the mistake...I meant cd, not live cd. The server version of Intrpeid Ibex alpha2 was the first time I had to use this option. So, install without grub. Try to boot, you'll get grub error 21 or 17...then put the cd in again, and start through the installation process, several steps in, you'll encounter the option to fix grub.

  7. #7
    Join Date
    Jul 2008
    Beans
    37

    Re: Unable to install GRUB in /dev/sda

    Hm. I simply did not see that option anywhere at all. I ran through the install cd a couple of times looking for it. Perhaps I am missing it but I don't think Hardy Heron includes this as an option.

  8. #8
    Join Date
    Nov 2005
    Location
    NEK Vermont
    Beans
    Hidden!
    Distro
    Ubuntu UNR

    Re: Unable to install GRUB in /dev/sda

    hmm. it should have been there on the hardy cd. Did you try to boot and get the grub error message?
    Perhaps this will do it:http://maff.ailoo.net/2008/07/reinst...linux-live-cd/

    There many other fix grub tricks available through google, sorry I couldn't be of more help. Good luck. You'll get it fixed eventually.
    PS I know that article may look like is doesn't pertain to your issue, but it is the install grub commands that you are interested in.
    Keep in mind you are probably looking to mount sda1 not sda6...
    Last edited by spiderbatdad; August 8th, 2008 at 12:54 AM.

  9. #9
    Join Date
    Jul 2008
    Beans
    37

    Re: Unable to install GRUB in /dev/sda

    Okay, that's a great link so thanks. As it happens I may not pursue this since LILO installed just fine even if Grub would not. I cannot imagine why one boot loader would install just fine, while another would not unless GRUB requires some special Adaptec driver.

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
  •