Results 1 to 3 of 3

Thread: grub reinstalled but in shell mode, can't load ubuntu or windows

  1. #1
    Join Date
    Feb 2010
    Beans
    32

    grub reinstalled but in shell mode, can't load ubuntu or windows

    I had Ubuntu 9.04. But when I installed Windows also, the grub was overwritten. To reinstall the grub, I took a live cd of 9.10 and typed the following
    Code:
    sudo mount /dev/sda8  /mnt 
    sudo grub-install --root-directory=/mnt  /dev/sda
    No error message came, but when I restarted my computer, it showed
    Code:
    GRUB 1.97~Beta4
    
    sh:grub>
    Perhaps its the command line mode of grub. I want a graphical mode so that I can easily boot either Windows or Ubuntu.

  2. #2
    Join Date
    Feb 2010
    Beans
    32

    Re: grub reinstalled but in shell mode, can't load ubuntu or windows

    Is there any way or should I just reinstall ?

  3. #3
    wojox is offline I Ubuntu, Therefore, I Am
    Join Date
    Apr 2009
    Beans
    8,628

    Re: grub reinstalled but in shell mode, can't load ubuntu or windows

    What does this command tell us:

    Code:
    sudo fdisk -l
    Try reinstalling it again like this:

    Code:
    sudo grub-install --root-directory=/mnt/ /dev/sda
    You may have left out a forward slash.
    Last edited by wojox; May 24th, 2010 at 03:40 AM.

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
  •