You are not logged in.

#1 2008-02-13 03:01:44

sgtcarneiro
Member
Registered: 2007-11-20
Posts: 5

Just another topic about dual booting :\

After 2 hour of trying myself and search arch wiki and forum, i decide to post here my problem...


Relevant information of  "fdisk -l":

output wrote:

/dev/sda1 Linux
/dev/sda2 W95 Ext'd (LBA)
/dev/sda3 Linux swap
/dev/sda5 NTFS

Windows section at menu.lst

vi wrote:

# (3) Windows
title Windows
rootnoverify (hd0,4)
makeactive
chainloader +1

When i boot windows, i get this error from grub

Error 12: Invalid device request

What im doing wrong????

PS: Dont say to install lilo, it didnt work as well...

Offline

#2 2008-02-13 03:19:22

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: Just another topic about dual booting :\

You've got everything except the map.  Check out this page:  http://wiki.archlinux.org/index.php/GRUB.  Go to the section on windows on another disk.

Offline

#3 2008-02-13 03:22:10

sgtcarneiro
Member
Registered: 2007-11-20
Posts: 5

Re: Just another topic about dual booting :\

Unfortunately, since the first post i already tried the map, but i dont know if correctly:

# (3) Windows
title Windows
rootnoverify (hd0,4)
map (hd0,0) (hd0,4)
map (hd0,4) (hd0,0)
makeactive
chainloader +1

Last edited by sgtcarneiro (2008-02-13 03:23:10)

Offline

#4 2008-02-13 05:20:26

jacko
Member
Registered: 2007-11-23
Posts: 840

Re: Just another topic about dual booting :\

Go to the section on windows on another disk.

what are you talking about? his windows partition is on the same disc grub is.

/dev/sda{1-5} <--- = one device with 4 partitions.

Last edited by jacko (2008-02-13 05:21:15)

Offline

#5 2008-02-13 05:25:39

jacko
Member
Registered: 2007-11-23
Posts: 840

Re: Just another topic about dual booting :\

sgtcarneiro wrote:

Unfortunately, since the first post i already tried the map, but i dont know if correctly:

# (3) Windows
title Windows
rootnoverify (hd0,4)
map (hd0,0) (hd0,4)
map (hd0,4) (hd0,0)
makeactive
chainloader +1

this is not right, the map only take one input, that is the first number, you can not map partitions.


the problem is you need change your rootnoverify line too

rootnoverify (hd0,3)

and all will work, remove the map lines, you do not need them. As an explanation, you have 4 partition, u start counting at 0 so 0,1,2,3 <-- is the last partition which u labeled sda(5), u labeled it sda5, not the computer.

Last edited by jacko (2008-02-13 05:29:31)

Offline

#6 2008-02-13 17:10:35

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: Just another topic about dual booting :\

I'm sorry for the bad advice, sgtcarneiro.  Thanks, Jacko, for correcting me.

The command I was thinking of was hide.  Search this page for for win98, and you will find out how this person does it:  http://www.justlinux.com/forum/showthre … did=143973.  As Jacko pointed out, you should ignore the map commands, since you are using the 1st disk. 

It's an excellent resource on grub in general anyway, since he/she boots 100+ systems.

Offline

#7 2008-02-13 20:58:21

sgtcarneiro
Member
Registered: 2007-11-20
Posts: 5

Re: Just another topic about dual booting :\

Thks for the replys, but til now not single one worked :x

It seem that no matter what "rootnoverify (hdx,y)" i set... i always get the error 12 from grub :\

Offline

#8 2008-02-14 00:47:33

sgtcarneiro
Member
Registered: 2007-11-20
Posts: 5

Re: Just another topic about dual booting :\

I reinstall Windows as sda1, arch as sda2 and sda3 and all work perfectly! I think that label sda2 broke grub :x
Thks for replys anyway smile

Offline

Board footer

Powered by FluxBB