4thgenceli Posted January 8, 2006 Posted January 8, 2006 Hey y'all. I found this place from a google search of XP and Fedora boots.(nice walkthru BTW) Anyways.. a bit of background. I'm not a total newb.. I have a AS in CNIT, currently persuing my BS, and work as a Network op tech at an ISP for anything and everything internet related. Computer background. 2 hard drives, hdd1 and hdd2 I can't rely remember but I think hdd2 is my winxp drive, and hdd1 is my mp3's and install files, and also for linux. thru the linux install, I choose the dual boot option, put the linux grubloader into the hdd2 drive. My BIOS is set to try to boot from hdd1, then hdd2. It'll boot up to the linux drive, ask which OS(Fedora or WinXP). I'll choose Fedora and it'll work 100% without problems. However, when I choose winXP, it comes back and says *invalid ntbootldr, press CTRL ALT DEL to restart*. If I change the BIOS boot to hdd2, then hdd1 -> I'll get only winXP. Now my question. I followed the install directions to the T based upon my training and exp, as well as what the howto said to do). I still don't have a TRUE dual boot session. Would it be easier to move the XP bootloader to the Linux drive? Or the Linux bootloader to the XP drive? Is this possible to do without reinstalling the Linux OS? Finally, WTF did I do wrong? Share this post Link to post Share on other sites More sharing options...
Jezza Posted January 10, 2006 Posted January 10, 2006 what DO you have? why isn't what you have a true dual-boot? It's always easier to put the linux bootloader on the MBR of the primary boot device in this situation. Share this post Link to post Share on other sites More sharing options...
oblivescence Posted January 10, 2006 Posted January 10, 2006 http://www.faqs.org/docs/Linux-HOWTO/Linux...Grub-HOWTO.html pay special attention to the part of the grub config that says title Windows 98 map (hd0,0) (hd0,2) map (hd0,2) (hd0,0) rootnoverify (hd0,2) chainloader +1 the map line is very important. it tricks windows into thinking its on the primary hd Share this post Link to post Share on other sites More sharing options...
4thgenceli Posted January 10, 2006 Posted January 10, 2006 http://www.faqs.org/docs/Linux-HOWTO/Linux...Grub-HOWTO.html pay special attention to the part of the grub config that says title Windows 98 map (hd0,0) (hd0,2) map (hd0,2) (hd0,0) rootnoverify (hd0,2) chainloader +1 the map line is very important. it tricks windows into thinking its on the primary hd 613888[/snapback] OK. Here's my current grub.conf file. default=1 timeout=15 splashimage=(hd0,1)/grub/splash.xpm.gz hiddenmenu title Fedora Core (2.6.11-1.1369_FC4) root (hd0,1) kernel /vmlinuz-2.6.11-1.1369_FC4 ro root=/dev/VolGroup00/LogVol00 rhgb quiet initrd /initrd-2.6.11-1.1369_FC4.img title Windows XP rootnoverify (hd1,0) chainloader +1 This was working once. I was able to load XP and Fedora. I tried again, and it crashed. My Linux drive is hd0, and windows is hd1. The map entry the should say.. map (hd1,0) (hd1,2) map (hd1,2) (hd1,0) rootnoverify (hd1,2) chainloader +1 Share this post Link to post Share on other sites More sharing options...
oblivescence Posted January 10, 2006 Posted January 10, 2006 which partition is your xp on? say xp is on partition hdx,y config should read i believe. map (hd0,0 hdx,y) map (hdx,y hd0,0) rootnoverify (hdx,y) chainloader +1 Share this post Link to post Share on other sites More sharing options...
4thgenceli Posted January 10, 2006 Posted January 10, 2006 (edited) Ok. The 2 drives are this(how linux sees them) Linux -> hdd0 XP ->hdd1 XP is the only partition on that drive(full drive dedicated to XP) the loader would then say this below the Title Windows XP map (hd0,0 hd1,0) map (hd1,0 hd0,0) rootnoverify (hd1,0) chainloader +1 I didn't know about the mapping drives thing. I've done multiple boots before, but never between 2 drives. **EDIT** Sorry.. I read my reply above..it's wrong. I typed ,2 for the XP drive(like it's partitioned) but it's not. It should be ,0(No partition) LOL.. sorry. Edited January 10, 2006 by 4thgenceli Share this post Link to post Share on other sites More sharing options...
oblivescence Posted January 10, 2006 Posted January 10, 2006 looks right to me, let us know if it works. Share this post Link to post Share on other sites More sharing options...
4thgenceli Posted January 10, 2006 Posted January 10, 2006 Hrm.. The map command didn't seem to work. I have this. map (hd0,0 hd1,0) map (hd1,0 hd0,0) rootnoverify (hd1,0) chainloader +1 And it throws Error 11: Unrecognized Device String Share this post Link to post Share on other sites More sharing options...
savethedodobird Posted January 10, 2006 Posted January 10, 2006 Hrm.. The map command didn't seem to work. I have this. map (hd0,0 hd1,0) map (hd1,0 hd0,0) rootnoverify (hd1,0) chainloader +1 And it throws Error 11: Unrecognized Device String 614166[/snapback] You have the right idea but you need more parantheses. It should read. map (hd0,0) (hd1,0) map (hd1,0) (hd0,0) Share this post Link to post Share on other sites More sharing options...
4thgenceli Posted January 10, 2006 Posted January 10, 2006 You have the right idea but you need more parantheses. It should read. map (hd0,0) (hd1,0) map (hd1,0) (hd0,0) 614182[/snapback] That is correct. I was speakin to Kyle via IM(sorry.. don't know your SN here) and kamikazelemmings. I got hooked up. The code is actually.. map (hd0)^(hd1) map (hd1)^(hd0) ^ is a space(duh) Y'all rock. Thanks Share this post Link to post Share on other sites More sharing options...
oblivescence Posted January 10, 2006 Posted January 10, 2006 welcome Share this post Link to post Share on other sites More sharing options...
Recommended Posts