Resolving Error 12: Invalid device requested - GRUB dual boot

Configuration, Errors & Abnormal functions, Multiboot

Question

 

When you try to install Linux after shrinking the existing partition schema with a preloaded OS you may get the following error after installing GRUB  

 

Error 12: Invalid device requested"

 

 

Answer

 

 

You can  flag the windows partition as bootable via fdisk and then write this in the grub.conf file:

 

title Windows 7
        rootnoverify (hd0,1)
        makeactive
        chainloader +1

 

Save the configuration and restart the system