Results 1 to 2 of 2

Thread: No Grub and Can't Boot into Windows 8 After installing Ubuntu 12.10

  1. #1
    Join Date
    Jan 2012

    Exclamation No Grub and Can't Boot into Windows 8 After installing Ubuntu 12.10

    First, I installed Windows 8 in my desktop PC. (Not pre-installed... I did it by myself). Then I booted the Ubuntu dvd in UEFI mode (Did the same with Windows 8) and installed Ubuntu 12.10 64bit. Everything went perfectly. After rebooting, there's no grub! The system took me directly to Ubuntu! I can't log into Windows 8. Please help! Earlier, I used Boot Repair and it messd up with my Windows EFI files. So I was unable to boot Windows even after removing Ubuntu. I can't use boot repair. Now this is a new fresh install, Please tell me how to boot into both Windows 8 and Ubuntu!

    Here is my /etc/defaults/grub :

    # If you change this file, run 'update-grub' afterwards to update
    # /boot/grub/grub.cfg.
    # For full documentation of the options in this file, see:
    # info -f grub -n 'Simple configuration'

    GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`

    # Uncomment to enable BadRAM filtering, modify to suit your needs
    # This works with Linux (no patch required) and with any kernel that obtains
    # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
    #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xe fefefef"

    # Uncomment to disable graphical terminal (grub-pc only)

    # The resolution used on graphical terminal
    # note that you can use only modes which your graphic card supports via VBE
    # you can see them in real GRUB with the command `vbeinfo'

    # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux

    # Uncomment to disable generation of recovery mode menu entries

    # Uncomment to get a beep at grub start
    #GRUB_INIT_TUNE="480 440 1"
    Last edited by THPubs; March 20th, 2013 at 03:23 AM.

  2. #2
    Join Date
    Jun 2009
    SW Forida
    Ubuntu 16.04 Xenial Xerus

    Re: No Grub and Can't Boot into Windows 8 After installing Ubuntu 12.10

    We need a link to BootInfo from Boot-Repair.

    But grub2's os-prober does not create correct entries for UEFI dual boot. It still creates the old BIOS entries that do not work with UEFI. So you have to use Boot-Repair to add correct entries.
    And if you do not have secure boot do not check that and have Boot-Repair rename files. That should not be needed except for those pre-installed systems that only boot the Windows efi boot file.

    Boot-Repair - Updated Jan 1, 2013 to not rename first time, but rename if first time Windows does not boot. Post 706 and 711
    Boot-Repair copied /EFI/ubuntu/grubx64.efi to /EFI/Boot/bootx64.efi (in case the BIOS is hard-coded to boot into /EFI/Boot/bootx64.efi or secure boot
    signed GRUB file shimx64.efi.

    grub2's os-prober creates wrong style (BIOS) chain boot entry
    type of entry from Boot-Repair that should work.
    'Windows UEFI loader'
    Type of entry that does not work:
    'Windows ...) (on /dev/sdXY)'
    For more info on UEFI boot install & repair - Regularly Updated :
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts