You are not logged in.

#1 2010-06-23 18:24:14

brando56894
Member
From: NYC
Registered: 2008-08-03
Posts: 681

Booting Windows 7 From /dev/sdc1

I know how to set this up but it just isnt working for me, I found a post somewhere else that had the exact layout as I do and it still wont work. Windows 7 is installed on /dev/sdc1 as mentioned before.

Heres my grub entry:

title Windows 7
rootnoverify (hd2,0)
map (hd0) (hd2)
map hd2) (hd0)
chainloader +1

when I try to select the windows entry grub just outputs those commands to the screen and sits there and does nothing else...

Offline

#2 2010-06-23 18:59:15

sharris
Member
Registered: 2010-06-12
Posts: 29

Re: Booting Windows 7 From /dev/sdc1

My guest is, I believe the problem is that Windows want to live on the first primary partition and if not, it will not work or it may gives you problems buy design so you may have to keep GRUB default for Windows or find a thread that over-came that problem and if you do please let me know.  I an many others had the same problem but never found a solution.

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

PS:  Sorry, I jump the gun.  I guest you know about what Windows want already.  I don't know anything about mapping with GRUB.  I just notice it.

Last edited by sharris (2010-06-23 19:03:13)

Offline

#3 2010-06-23 19:43:12

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

Re: Booting Windows 7 From /dev/sdc1

Never tried this before... are the two map lines needed?  Try:

title Winbloat 7
rootnoverify (hd2,0)
makeactive
chainloader +1

CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#4 2010-06-23 20:22:51

brando56894
Member
From: NYC
Registered: 2008-08-03
Posts: 681

Re: Booting Windows 7 From /dev/sdc1

Yes they are needed if your windows drive is anything other than the first drive, since the windows bootloader assumes windows always resides on the first drive. The map commands change the memory location so the windows bootloader thinks its the first drive when actually its any other subsequent drive.

Its explained better in the wiki: Dual Booting With Windows

Offline

#5 2010-06-23 21:23:39

gazj
Member
From: /home/gazj -> /uk/cambs
Registered: 2007-02-09
Posts: 681
Website

Re: Booting Windows 7 From /dev/sdc1

the rootnoverify line, maybe it should be after the maps?  It is in the wiki example thats all, clutching at straws.  I have used this setup succesfully before tho.

Offline

#6 2010-06-23 22:25:51

sharris
Member
Registered: 2010-06-12
Posts: 29

Re: Booting Windows 7 From /dev/sdc1

I make all 4 partitions, Primary 1, 2 and 3 and a Extended.  When I have FreeBSD or any other on Primary-1, and try to install Vista or Windows-7 on Primary-2, Primary-3 or Extended-4 all three operating systems would way say, **There is no appropriate drive to install Windows on**.  So I always had to install like this:

Windows Vista Primary-1
FreeBSD-i386 Primary-2
FreeBSD-AMD  Primary-3
Windows-7 32 Extended-5
Windows-7 64 Extended-6
Arch-Linux  Extended-15
All others  Extended-16 - 21
Now I dumped Windows altogether

Not to fall off-topic but how did you manage to get Windows to install with-out using Primary-1 in the first place.  Is there a how-to somewhere.

This is only a guest that I was going to try someday.  You installed Window-7 on Primary-1 and you also installed the same OS on Extended-5... Now you plan to map with GRUB and if it works you'll wipe Primary-1 and it will be free for something else.

Offline

#7 2010-06-24 04:35:12

brando56894
Member
From: NYC
Registered: 2008-08-03
Posts: 681

Re: Booting Windows 7 From /dev/sdc1

I forget how I actually did it but I think I had sdc set as the first boot device in the BIOS or something and had grub installed on sda. I think I had it boot by default to windows directly and when I wanted to boot into linux I would select sda from the BIOS boot up menu.

gazj wrote:

the rootnoverify line, maybe it should be after the maps?  It is in the wiki example thats all, clutching at straws.  I have used this setup succesfully before tho.

Thats how I had it originally, what I have no was directly from another forum post, thanks though.

Offline

#8 2010-06-24 05:04:08

surfed
Member
From: Vienna Austria
Registered: 2009-10-30
Posts: 86

Re: Booting Windows 7 From /dev/sdc1

this is my grub entry for windows on sdb2

# (4) windows
title Win7
rootnoverify (hd1,1)
map (hd1) (hd0)
map (hd0) (hd1)
makeactive
chainloader +1

Offline

#9 2010-06-24 13:41:00

michy99
Member
Registered: 2010-01-23
Posts: 21

Re: Booting Windows 7 From /dev/sdc1

The one thing I see in all the entries that isn't in the OP's is the "makeactive" line.

Offline

#10 2010-06-24 14:18:45

surfed
Member
From: Vienna Austria
Registered: 2009-10-30
Posts: 86

Re: Booting Windows 7 From /dev/sdc1

map hd2) (hd0)

typo?

missing (

Offline

#11 2010-06-24 23:43:00

brando56894
Member
From: NYC
Registered: 2008-08-03
Posts: 681

Re: Booting Windows 7 From /dev/sdc1

@michy
According to the wiki its not needed for windows 7, ill try it anyway

@surfed
Yea that was a typo

Offline

Board footer

Powered by FluxBB