LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   grub.conf simple question (https://www.linuxquestions.org/questions/linux-hardware-18/grub-conf-simple-question-59115/)

rusium 05-10-2003 07:24 PM

grub.conf simple question
 
I just installed a new physical hard drive, with windows xp on a fat32 partition. Linux recognizes it, mounts ok, and it works fine. I just want to have it listed as a boot option, what do I need to add to grub.conf to make it successfully boot into windows?

manthram 05-10-2003 07:43 PM

i think you should take a look at this

rusium 05-10-2003 09:30 PM

.
 
k, i read pretty much everything i can get my hands on about grub options and what not.

so heres what im trying to use..
---
title Windows XP
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1)
chainloader +1
boot

for some reason when i leave the command "makeactive" in there, it gives me an error 12 invald drive or whatever. but when i take it out, it boots into dos and does the whole looking for boot from cd, floppy, ide-0 thing and then tries to boot from floppy. any ideas?

thanks,
Dan

Brain Drop 05-10-2003 10:39 PM

my grub reads:
title=winxp
boot (hd0,1)
chainloader (hdo,1)+1

the spacing is important and the trickiest part is naming the partition.
hda would be hd0 and hdb would be hd1 and hdc would be hd2 and so on.
then you have got to have a comma and another number representing the partition number first partiton on hda would be (hd0,0) mbr on hda would be just (hd0) you must have the () also yours if its the only thing on hdb would probably be (hd1,0) or in total:

title=hatefulwinxp
root (hd1,0)
chainloader (hd1,0)+1

just like that and rember spacing is important

rusium 05-10-2003 11:41 PM

.
 
that doesnt solve the problem, im just at the same screen that asks me to insert a floppy, or just loops me to the same screen over and over again, I tried adding in some other options such as map and tried different hd numbers but nothing seems to work

i believe this problem may have something to do with windows but im not sure, im open to anything at this point


All times are GMT -5. The time now is 03:47 PM.