very2
February 11th, 2015, 05:45 PM
Hi,
I know there is a lot of similar posts, but none of the solutions there helped me. I had Windows 8 running on a partition of my ssd and there was another empty partition. I wanted to install Ubuntu to that partition. During the installation it said that it hadn't found any OS on the hard drive so I thought "great it is already on the right partition, without me having to choose it." I guess I was wrong. Because after the first reboot I got into Ubuntu directly. No boot loader appeared.
After some research I commented out this line in the etc/default/grub file:
#GRUB_HIDDEN_TIMEOUT=0
at the next reboot grub 2 appeared, but had no Windows option. Also the dell boot options had no Windows option.
I ran boot repair and clicked on the "recommended repairs" button. After that a Windows Option is available in the dell boot options, but it leads me straight back to the grub menu, where I still don't have a Windows option.
Here is the result link, that boot repair gave me: http://paste.ubuntu.com/10156983/
I also ran ubuntu on a bootable flash drive and did the "recommended repairs" in boot repair there. It didn't change a thing.
Here is the result link from that: http://paste.ubuntu.com/10171829
I then clicked on "advanced options" and wanted to change the default OS to load from there, but it only showed the option Ubuntu.
I also tried what is suggested here: http://askubuntu.com/questions/210914/grub-does-not-show-a-windows-8-option-after-dual-boot?lq=1
with the exact entry suggested:
Second, you may be able to get GRUB to chainload Windows by adding a suitable entry to /etc/grub.d/40_custom and then doing a sudo update-grub. An entry might look something like this:
menuentry "Windows 8" {
set root='(hd0,gpt1)'
chainloader /EFI/microsoft/BOOT/bootmgfw.efi
}
and I tried this from that same thread:
Try making a file called /etc/grub.d/30_windows that contains this:
#! /bin/bash
cat << EOF
menuentry "Windows 8" {
insmod part_gpt
insmod chain
set root='(hd0,gpt1)'
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
EOF
Then run sudo update-grub and reboot.
I then had a Windows option in grub but it leads me back to the grub menu.
I tried installing grub to the right place but got this error:
sudo grub-install --boot-directory=/mnt/ /dev/sda
Installing for x86_64-efi platform.
grub-install: Fehler: cannot find EFI directory.
Now I'm no expert and I really hope that someone who knows how to interpret the boot repair details can tell me what the actual problem with my laptop is and can help me solve this. I still have some data on the Windows partition, that I didn't backup. All suggestions are welcome! But please give me step by step solutions, that I can understand. ;)
Thanks a lot!!
I know there is a lot of similar posts, but none of the solutions there helped me. I had Windows 8 running on a partition of my ssd and there was another empty partition. I wanted to install Ubuntu to that partition. During the installation it said that it hadn't found any OS on the hard drive so I thought "great it is already on the right partition, without me having to choose it." I guess I was wrong. Because after the first reboot I got into Ubuntu directly. No boot loader appeared.
After some research I commented out this line in the etc/default/grub file:
#GRUB_HIDDEN_TIMEOUT=0
at the next reboot grub 2 appeared, but had no Windows option. Also the dell boot options had no Windows option.
I ran boot repair and clicked on the "recommended repairs" button. After that a Windows Option is available in the dell boot options, but it leads me straight back to the grub menu, where I still don't have a Windows option.
Here is the result link, that boot repair gave me: http://paste.ubuntu.com/10156983/
I also ran ubuntu on a bootable flash drive and did the "recommended repairs" in boot repair there. It didn't change a thing.
Here is the result link from that: http://paste.ubuntu.com/10171829
I then clicked on "advanced options" and wanted to change the default OS to load from there, but it only showed the option Ubuntu.
I also tried what is suggested here: http://askubuntu.com/questions/210914/grub-does-not-show-a-windows-8-option-after-dual-boot?lq=1
with the exact entry suggested:
Second, you may be able to get GRUB to chainload Windows by adding a suitable entry to /etc/grub.d/40_custom and then doing a sudo update-grub. An entry might look something like this:
menuentry "Windows 8" {
set root='(hd0,gpt1)'
chainloader /EFI/microsoft/BOOT/bootmgfw.efi
}
and I tried this from that same thread:
Try making a file called /etc/grub.d/30_windows that contains this:
#! /bin/bash
cat << EOF
menuentry "Windows 8" {
insmod part_gpt
insmod chain
set root='(hd0,gpt1)'
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
EOF
Then run sudo update-grub and reboot.
I then had a Windows option in grub but it leads me back to the grub menu.
I tried installing grub to the right place but got this error:
sudo grub-install --boot-directory=/mnt/ /dev/sda
Installing for x86_64-efi platform.
grub-install: Fehler: cannot find EFI directory.
Now I'm no expert and I really hope that someone who knows how to interpret the boot repair details can tell me what the actual problem with my laptop is and can help me solve this. I still have some data on the Windows partition, that I didn't backup. All suggestions are welcome! But please give me step by step solutions, that I can understand. ;)
Thanks a lot!!