You are not logged in.
Pages: 1
After 2 hour of trying myself and search arch wiki and forum, i decide to post here my problem...
Relevant information of "fdisk -l":
/dev/sda1 Linux
/dev/sda2 W95 Ext'd (LBA)
/dev/sda3 Linux swap
/dev/sda5 NTFS
Windows section at menu.lst
# (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
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
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
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
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
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
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
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
Offline
Pages: 1