Uderc programming article aggregator sites

[Solved] Windows 7 and Arch Dual boot- unable to boot into Windows7

Answers: Have 5 answers
Had to reformat computer and reinstall windows and Arch on two separate hard drives (Dual boot) .
Windows 7 was the first install on SDA: (/dev/sda1 - system reserved 100mb, /dev/sda2 - 20gb)
Arch on SDB: (/dev/sdb1- boot 94mb, /dev/sdb2- swap, /dev/sdb3 - root, /dev/sdb4 - /home)
Installed grub2 on /dev/sda. now grub bootloader loads Arch fine. Also shows Windows 7 (on /dev/sda1).
But when chosen Windows 7, it does not load and loops back again to boot loader screen.
In BIOS i have set disk drive SDB as first boot option.
If i choose SDA as first boot option in BIOS, same scenario is repeated.
I have gone through mostly all the pages related to the topic but i can not co-relate the solution
to my exact situation due to limited knowledge.
Can somebody pls help me as to how to edit grub.cfg so as to point it to load windows 7?
the entry related to windows 7 reads as follows:-
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 7 (loader) (on /dev/sda1)' --class windows --class os $menue$
        insmod part_msdos
        insmod ntfs
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint$
          search --no-floppy --fs-uuid --set=root F010D97410D941F0
        chainloader +1
for Arch set root value is hd1,msdos1 and working fine.
Thanks and regards.
Last edited by commsanjay (2012-10-14 08:08:54)
The best answer: This is exactly why I have chosen to use windows MBR and syslinux
https://wiki.archlinux.org/index.php/Wi … oot-loader
Last edited by ackt1c (2012-10-14 02:32:55)