Results 1 to 3 of 3

Thread: GRUB Looks in Wrong Folder for Bootloader

  1. #1
    Join Date
    Jun 2007
    Location
    Gallifrey
    Beans
    77
    Distro
    Ubuntu 12.04 Precise Pangolin

    GRUB Looks in Wrong Folder for Bootloader

    I have my /boot directory installed on its own partition. When I tried to boot it went to <grub rescue> and when I checked the prefix it said

    Code:
    prefix=(hd0,msdos1)/boot/grub
    The problem is, that partition *is* the boot directory so that path is basically looking for grub in "/boot/boot/grub". I can get it to boot by using

    Code:
    set prefix=(hd0,msdos1)/grub
    but I have to do that at every boot.

    I'd like to find a way to make that solution more permanent. I looked around in /etc/default/grub but couldn't find where that path is defined. Obviously I could just create the new directory /boot/boot/ and move the grub folder there but that seems stupid. Any ideas?

    Cheers,
    stevo
    Kernel Linux 3.2.0-23-generic, MEMORY: 4Gb, PROCESSOR: AMD Athlon II X4 Quad Core Processor,
    VIDEO: GeForce 8600GT

  2. #2
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: GRUB Looks in Wrong Folder for Bootloader

    How do you have it mounted in fstab?

    I would think if mount is consistent with location then just reinstall to sda would work.
    sudo grub-install /dev/sda
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  3. #3
    Join Date
    Jun 2007
    Location
    Gallifrey
    Beans
    77
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: GRUB Looks in Wrong Folder for Bootloader

    And that did it. Thank you kindly, oldfred. I had reinstalled grub from a live cd a few times, but once I got the OS going I had not tried reinstalling grub again. Thanks again!

    Cheers,
    stevo
    Kernel Linux 3.2.0-23-generic, MEMORY: 4Gb, PROCESSOR: AMD Athlon II X4 Quad Core Processor,
    VIDEO: GeForce 8600GT

Tags for this Thread

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
  •