LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem with dual boot (XP & Fedora 7) (https://www.linuxquestions.org/questions/linux-newbie-8/problem-with-dual-boot-xp-and-fedora-7-a-633255/)

korisnik666 04-05-2008 10:38 AM

Problem with dual boot (XP & Fedora 7)
 
So here i go with my first post...:D

I 'll start from begining...

i had xp installed on first hard disk...
then i installed fedora on seconda (keep xp disconnected awhile)
then i tried bootpart to put fedora in my ntldr...
That didnt work (or i wouldnt be posting, right?;))
I could only boot xp from there...

Then i put fedora as primary, and windows as second disk...
at that time, i could only boot fedora...
I tried to edit grub with (as i think) every possible solution...

title Windows
map (hd0) (hd1)
map (hd1) (hd0)
root (hd1,0)
chainloader +1

this example seemed as it should work, but i got message "selected disk doesnt exist"
other than that i got some other errors while tring to put some better combination in grub...

then, i thought...well, obviously im stupid... let fedora do it for me...
This time i installed fedora whille keeping xp disk connected.
the output was same... Mentioned example, a little modified, gave the same error.

i have fedora on sda, xp on sdb...
and when i enter fedora i can see windows but cant open it because it is not mounted......



if earlier example was too much to read, i have one shorter problem...
i cant connect to net, cant activate xdsl connection...and (although i did that with previous installation...)


heeeeeeelp, im going crazy............:cry:

raskin 04-05-2008 12:08 PM

What is /boot/grub/device.map ?

korisnik666 04-05-2008 04:05 PM

# this device map was generated by anaconda
(hd0) /dev/sda
(hd1) /dev/sdb


although i dont have a clue how could this help me :(

Junior Hacker 04-05-2008 07:50 PM

Try leaving both drives connected and boot into Fedora, issue the four commands below as root and re-boot. The example below is using Fedora as the first drive set to boot in the bios, installed in the first partition. The "grub" command puts you in a grub session and should give you a grub prompt. The "root" command tells grub where the grub configuration file is located. The "setup" tells grub which MBR to set itself up in, which should be the MBR of the drive you want to set as first drive in the bios. The "quit" quits the grub session and brings you back to a bash prompt.
Code:

grub
root (hd0,0)
setup (hd0)
quit

There is also this other method, this tutorial was for FC6, not sure if it will be the same for F7, it should be.


All times are GMT -5. The time now is 02:17 PM.