You are not logged in.

#1 2012-10-13 19:29:05

commsanjay
Member
Registered: 2012-07-27
Posts: 15

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

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

#2 2012-10-13 20:36:36

twelveeighty
Member
From: Alberta, Canada
Registered: 2011-09-04
Posts: 302

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

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

#3 2012-10-13 21:20:17

the.ridikulus.rat
Member
From: Indiana, USA
Registered: 2011-10-04
Posts: 765

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

Offline

#4 2012-10-14 02:30:11

ackt1c
Member
From: Visalia, California
Registered: 2012-10-10
Posts: 215

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

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

#5 2012-10-14 08:07:43

commsanjay
Member
Registered: 2012-07-27
Posts: 15

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

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

Board footer

Powered by FluxBB