Results 1 to 10 of 15

Thread: Fresh Linux Mint 14, No GRUB.

Hybrid View

  1. #1
    Join Date
    Sep 2009
    Beans
    16

    Fresh Linux Mint 14, No GRUB.

    Hi All, I hope this is not a redundant post or common issue, but I couldn't solve my issue myself or by searching other threads and google.

    Yesterday I installed Windows 8 on a small partition, followed by Linux Mint 14 MATE on another small partition with plans to make the rest of the space shared. However, I never got a GRUB menu at startup! I tried following the instructions on the GRUB info page from google by doing something like:

    # grub-install /dev/sda

    but I don't really know my way around GRUB, and when I rebooted I just got the grub prompt that looked like

    grub>

    and I couldn't get out. I used the install USB I used to run Mint from USB, from which I did something like:

    install -d /mnt/mount !!to create a mount point
    mount /dev/sda1 /mnt/mount !!sda1 is the Mint partition
    grub-install --root-directory=/mnt/mount sda

    This got me back where I started, and I don't want to risk losing computer access again, so I came for help! any advice would be appreciated.

    Thanks!!!
    -John

  2. #2
    Join Date
    May 2006
    Location
    Milwaukee,WI
    Beans
    6,280
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Fresh Linux Mint 14, No GRUB!

    might i suggest downloading and using a program called "boot repair". i haven't used it but I see many who have success with it in fixing grub issues and such. https://help.ubuntu.com/community/Boot-Repair

  3. #3
    Join Date
    Sep 2009
    Beans
    16

    Re: Fresh Linux Mint 14, No GRUB!

    Thanks for the tip dannyboy!

    That got me a GRUB menu, though unfortunately it only includes Mint, there is no Windows 8. Is there another quick fix to this too?


    EDIT: Nevermind, this looks pretty easy. I'll give it a go!

    -John
    Last edited by jamedfor; December 6th, 2012 at 05:31 PM. Reason: www.google.com

  4. #4
    Join Date
    Oct 2006
    Beans
    234
    Distro
    Ubuntu

    Re: Fresh Linux Mint 14, No GRUB!

    From your usb disk after it boots to desktop

    Go to a terminal

    do sudo fdisk -l

    so you can determine the linux partition you want to create grub in.

    Then from the command line

    Code:
    $ sudo mount /dev/sda5 /mnt
    Mine is sda5. yours is likely different

    Code:
     sudo mount --bind /dev /mnt/dev
    sudo mount --bind /proc /mnt/proc
    sudo mount --bind /sys /mnt/sys
    sudo chroot /mnt
    Now you are in the partition you need to create a grub in.

    Code:
    #grub-install /dev/sda               **mine is sda. yours may be different
    #update-grub
    After you update grub you should get a list. It should include Windows

    You are not done.

    Code:
    #exit
    $sudo umount /mnt/sys
    $sudo umount /mnt/proc
    $sudo umount /mnt/dev
    $sudo umount /mnt
    Then reboot, remove the USB device. You should see a grub menu with Linux Mint & Windows.
    Last edited by ubume2; December 6th, 2012 at 05:38 PM.

  5. #5
    Join Date
    Sep 2009
    Beans
    16

    Re: Fresh Linux Mint 14, No GRUB!

    ubume, I tried your method and I just installed the grub on /dev/sda. after updating the grub the list returned looks like:

    Found linux image: /boot/vmlinuz-3.5.0-17-generic
    Found initrd image: /boot/initrd.img-3.5.0-17-generic

    the initrd item doesn't look like windows... any suggestions? I haven't done the unmounting part yet.

  6. #6
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Fresh Linux Mint 14, No GRUB.

    Moved to Other OS.

    Post link to BootInfo report that Boot-Repair creates.

    ubume2's grub reinstall is the full chroot method which can be used when the two line mount & install method does not work.

    But usually Boot-Repair just fixes things.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  7. #7
    Join Date
    Sep 2009
    Beans
    16

    Re: Fresh Linux Mint 14, No GRUB.

    oldfred, thanks for reminding me to post the log from boot-repair:

    http://paste2.org/p/2569606

    there's an error about a cat something that may be the problem, I've seen errors about cat before.

    Also, the ~22000 lines of invalid argument errors may indicate somethings wrong

    -John

  8. #8
    Join Date
    Oct 2006
    Beans
    234
    Distro
    Ubuntu

    Re: Fresh Linux Mint 14, No GRUB!

    Quote Originally Posted by jamedfor View Post
    ubume, I tried your method and I just installed the grub on /dev/sda. after updating the grub the list returned looks like:

    Found linux image: /boot/vmlinuz-3.5.0-17-generic
    Found initrd image: /boot/initrd.img-3.5.0-17-generic

    the initrd item doesn't look like windows... any suggestions? I haven't done the unmounting part yet.
    Well, could be something about Windows 8.

    From command line sudo chmod +x /etc/grub.d/30_os-prober.

    Then sudo update-grub.


    If you don't see Windows generated after you press the update-grub command, there is a problem. I haven't had any problem with Win 7 grub item being generated. I've used the method described in post 4 with Linux Mint, and have had no problems.
    Last edited by ubume2; December 6th, 2012 at 09:55 PM.

  9. #9
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Fresh Linux Mint 14, No GRUB.

    Only because you have not used all the primary partitions could you use fixparts to convert.
    It probably would be better to reinstall. Then you can totally reorganize partitions.

    But especially with Windows 8 I would also want another NTFS shared data partition. Windows 8 is always hibernated, just in different levels. Turning off hibernation helps a little, but you still should not write into the Windows system partition. Best to set as read only.

    Since linux is ok with logical partitions I would try to make a lot of drive extended for logical partitions.

    WARNING for Windows 8 Dual-Booters
    http://ubuntuforums.org/showthread.php?t=1953674
    It defaults shutdown to a hybrid hibernation/off state for fast boot
    http://www.kapilarya.com/how-to-enab...p-in-windows-8
    But then files may be corrupted similar to Windows 7 Hibernation:
    http://ubuntu-with-wubi.blogspot.ca/...rid-sleep.html
    http://superuser.com/questions/14472...te-w-dual-boot
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

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
  •