PDA

View Full Version : [SOLVED] GRUB won't boot into WIn 8



M@s
November 10th, 2012, 04:04 PM
I recently tried to install a dual-boot system. First I created a separate NTFS partition for Win 8, and installed it successfully. Then I installed Ubuntu 12.04 on another ext4 partition, and now the computer boots fine into Ubuntu. But when I select Win 8 in the GRUB boot menu, the screen turns black and the flashing underline appears for half of a second, then it returns to GRUB.

These are the boot commands:


setparams 'Windows 8 (loader) (on /dev/sdd1)'

insmod part_msdos
insmod ntfs
set root='(hd3,msdos1)'
search --no-floppy --fs-uuid --set=root CA787A37787A21FD
drivemap -s (hd0) ${root}
chainloader +1

How to fix this?

grahammechanical
November 10th, 2012, 04:10 PM
I cannot help you much but according to this


set root='(hd3,msdos1)'

Grub is looking for Windows 8 on the third hard disk and in its first partition. Is this correct? Is windows 8 installed on the third hard disk? You do not mention having more than on hard disk.

Regards.

M@s
November 10th, 2012, 04:22 PM
Yes, I have two other disks for storage. Don't know how to determine the disk order, but in the Disk Utility the system disk shows up as the third one.

The system disk /dev/sdd is partitioned as following:

367 MB NTFS (Bootable) | 52 GB NTFS (Windows) | 68 GB ext4 (Ubuntu)

oldfred
November 10th, 2012, 04:22 PM
If you have multiple drives, it may be best to see all the details. Run the BootInfo report.

Post the link to the BootInfo report that this creates.

Boot Repair -Also handles LVM, GPT, separate /boot and UEFI dual boot.:
https://help.ubuntu.com/community/Boot-Repair
You can repair many boot issues with this or 'Create BootInfo' report (Other Options) & post the link it creates, so we can see your exact configuration and diagnose advanced problems.Install in Ubuntu liveCD or USB or:
Full RepairCD with Boot-Repair (for newer computers)
https://help.ubuntu.com/community/UbuntuSecureRemix

richaustin
November 10th, 2012, 04:41 PM
use Boot Repair and then in Windows use EasyBCD available at http://neosmart.net/EasyBCD/

M@s
November 10th, 2012, 05:05 PM
Gonna try it out. Can I run Boot-Repair from the working Ubuntu installation or do I have to use a Live CD?

oldfred
November 10th, 2012, 07:59 PM
You can download and run Boot-Repair from a working install.

Part of Boot-Repair's BootInfo report is the bootinfoscript which is a separate script. I run that script as part of every backup so I have documentation on where every install is, what boot loader is in every MBR, and partition starts & sizes just in case I have to attempt to rebuild a drive.

M@s
November 11th, 2012, 01:23 PM
Boot-Repair solved it all! Thank you!