You are not logged in.
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:-
quote
### 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$
else
search --no-floppy --fs-uuid --set=root F010D97410D941F0
fi
chainloader +1
unquote
for Arch set root value is hd1,msdos1 and working fine.
Thanks and regards.
Last edited by commsanjay (2012-10-14 08:08:54)
Offline
Can you post the contents of your actual /boot/grub/grub.cfg and your /etc/fstab using code tags?
Last edited by twelveeighty (2012-10-13 20:38:28)
Offline
Offline
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)
Offline
the.ridikulus.rat! It was ridiculously simple only after you gave me the link! Till then i was only looking at section 3.3 (Dual-booting). Now i can log in to Win-7 with grub loader. Thank you very much and all others who took time to read my query and reply.
Best regards
Offline