Grub failure to boot Windows 7 dual boot with Mageia 2

Here you'll find a place for solutions and hints.

Please use one of the support subforums below for questions or if you have any issues and need support.

Grub failure to boot Windows 7 dual boot with Mageia 2

Postby delduin » Apr 14th, '13, 20:50

Hi, posting here working solution grub failure to boot Windows:

scenario: Installed Mageia 2 and then re-connected Windows 7 drive afterwards. Added Windows to boot in Mageia Control Center.
Seleting sda1 -grub fails to boot Win7
sda2- grub fails to boot Win7

I verified Windows boot is on sda via - su -fdisk -l
Windows7 is on sda and it's boot =sda1

Solution:
backup menu.lst file... su cp menu.lst menu.lst_old01
edit: boot/grub/menu.lst
must be su then in terminal:
vim boot/grub/menu.lst

example of menu.lst:

title windows
root (hd1,0)
chainloader +1


change (hd1,0) to the actual physical SATA port numbering on the motherboard.

SATA 1 = hd0
SATA 2 = hd1
SATA 3 = hd2

My Windows is on SATA 3 so = (hd2,0) the '0' is for boot partition on that drive.

VIM commands:
i =insert/edit
esc key = exit edit mode
: =command mode to save
x = save any changes and exit

*Be sure to order Boot Order of Hard Drives in BIOS to physical order of Drives -haven't tested different boot order-
delduin
 
Posts: 2
Joined: Apr 14th, '13, 20:24

Return to The magician suggests...

Who is online

Users browsing this forum: No registered users and 1 guest

cron